Re: Access to XMLHttpRequest has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Sam Henaghan samuelheno at icloud.com
Thu May 28 12:43:39 UTC 2020


Hi this wasn’t me whatever I have been added or entered too please delete any information u have about me and any account in my name someone has hacked or made something of me 

Sent from my iPhone

> On 28 May 2020, at 1:41 pm, Francis Daly <francis at daoine.org> wrote:
> 
> 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 at daoine.org
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


More information about the nginx mailing list