okta / samples-js-vue

samples-js-vue
https://github.com/okta/samples-js-vue
Other
57 stars 63 forks source link

CORS issue #84

Open remagalot opened 4 years ago

remagalot commented 4 years ago

I can seem to get past the CORS issue

mraible commented 4 years ago

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

remagalot commented 4 years ago

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

remagalot commented 4 years ago

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