samples-js-vue icon indicating copy to clipboard operation
samples-js-vue copied to clipboard

CORS issue

Open remagalot opened this issue 4 years ago • 3 comments

I can seem to get past the CORS issue

remagalot avatar Sep 13 '20 14:09 remagalot

Have you tried adding http://localhost:8080 in API > Trusted Origins?

mraible avatar Sep 13 '20 16:09 mraible

Yes I did. I've tried about 40 different things at this point.

remagalot avatar Sep 13 '20 16:09 remagalot

Access to XMLHttpRequest at 'https://blah.oktapreview.com/oauth2/default/.well-known/openid-configuration' from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute. okta-auth-js.min.js:13 GET https://blah.oktapreview.com/oauth2/default/.well-known/openid-configuration net::ERR_FAILED

remagalot avatar Sep 13 '20 16:09 remagalot