On Thu, May 28, 2020 at 12:50:34PM +0530, Kaushal Shriyan wrote:
Hi there,
> Access to XMLHttpRequest at ‘
> > https://tmobilereactdrupal.mydomain.com:8080/oauth/token’ from origin ‘
> > https://tmobilereactdrupal.mydomain.com’ has been blocked by CORS policy:
> > No ‘Access-Control-Allow-Origin’ header is present on the requested
> > resource.
In your "drupal" nginx config, if the request is handled in the "php"
location, there is no Access-Control-Allow-Origin header added.
You might want the "add_header" line there instead.
Good luck with it,
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx