You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the oidc-auth middleware with Auth0, I get a CORS error stating that the Access-Control-Allow-Origin header is not set. I'm not sure if this middleware is supposed to handle this or not, but the header is present when I don't use it. I am using the cors middleware as well.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://<domain>.us.auth0.com/authorize?client_id=.... (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 302.
In Auth0, I do have the allowed callback urls and allowed web origins set as my app's url (currently just localhost:4200). I'm not sure if my issue lies in the setup of oidc-auth, cors, or both. Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
Using the
oidc-auth
middleware with Auth0, I get a CORS error stating that theAccess-Control-Allow-Origin
header is not set. I'm not sure if this middleware is supposed to handle this or not, but the header is present when I don't use it. I am using thecors
middleware as well.My basic app/middleware setup:
The error when trying to access any endpoint:
In Auth0, I do have the allowed callback urls and allowed web origins set as my app's url (currently just localhost:4200). I'm not sure if my issue lies in the setup of
oidc-auth
,cors
, or both. Any help would be greatly appreciated!The text was updated successfully, but these errors were encountered: