I would like to do cross origin communication using Grails in server side. The only documentation that I found is this one
https://grails.org/plugin/cors
but thi
So, if you got here using grails 3.2.+ you can use the default way.
Go to your application.yml and add:
application.yml
grails: cors: enabled: true
It will add Access-Control-Allow-Origin '*'. If you want something different, look this page
Access-Control-Allow-Origin '*'