Login not being persistent after refresh, even in sample angular project

I tried to use quick start in my dashboard to equip my angular app with auth0, but I noticed that my login won’t persist after refresh; Meaning that I can successfully login, and see my profile, but when I refresh the page I’m not logged in and I can’t even see the login button. BTW this is the message I get.
Failed to load resource: the server responded with a status of 400 ()

interesting thing is that I downloaded auth0 angular app from here
https://github.com/auth0-samples/auth0-angular-samples
and it had the exact same problem, does anyone know how to fix it?

Solved it. Apparently, urls in Allowed Web Origins in application in Dashboard of Auth0 MUST NOT end with / .

1 Like

Glad you have figured it out and thanks for sharing!