The server responded with a status of 400 for /authorize

Hi @vishwasnavadak ,
The 400 you are getting is beacuse of " renewSession() call" in dashboard.js, comment that one out till you truly understand the flow of Auth0. It’s not very chaotic. :slight_smile:

Auth.js - My custom flovour

Now , in Auth.js β†’ setSession(authResult) , you must store {accessToken , idToken , expiresAt} in localStorage .

Then , in Auth.js β†’ constructor() , you must get all the items and store them in Auth-component-variables.

Then , maybe try the renewSession().

1 Like