Hello,
I’m encountering a 500 Internal Server Error when using loginWithRedirect()
in my Single Page Application (SPA) with Auth0.
Here is the error shown in the browser console:
GET https://dev-e21bopw2hfjjip8z.us.auth0.com/authorize?...authorizationParams=[object%20Object]… 500 (Internal Server Error)
Some details:
- I’m using the
auth0-spa-js
SDK v1.19 - The
redirect_uri
is correctly set to"https://statly.fr/redirect.html"
and listed in the Application Settings (Allowed Callback URLs) - I’m not passing a malformed object to
loginWithRedirect()
- The error only occurs after login, during the redirection process
Here’s a snippet of the code I’m using:
await auth0.loginWithRedirect();