oidc-client-ts icon indicating copy to clipboard operation
oidc-client-ts copied to clipboard

access to fetch at '<Authserverurl>/as/token.oauth2' from origin '<domain>' has been blocked by cors policy

Open VijayaSaiRam opened this issue 3 years ago • 1 comments

Hi team, I am getting the following error. access to fetch at '<Authserverurl>/as/token.oauth2' from origin '' has been blocked by cors policy: no 'access-control-allow-origin' header is present on the requested resource. if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with cors disabled.

Could you please let me know how to solve this issue

Thank you inadvance

VijayaSaiRam avatar Aug 01 '22 09:08 VijayaSaiRam

See my answer here https://github.com/authts/react-oidc-context/issues/460

pamapa avatar Aug 03 '22 07:08 pamapa