Redirected to login page on refresh (Angular)

I built an Angular application consuming Auth0.
I am able to

  • Login
  • Sign Out
  • Redirect to different navigation pages protected by AuthGuard

The problem
When the user is logged in and they refresh the browser page. They are forcefully signed out and brought back to the login modal.

This occurred in my personal application as well as the sample application owned by (auth0)
https://github.com/auth0-samples/auth0-angular-samples/tree/master/01-Login

What is the solution, to resolve this defect?

Hey there!

Can I ask you to raise it as a GitHub issue in the sample repo above so we can work on that directly with the repo maintainers? Make sure to share the link to thee issue here with us once you have it so we can ping them. Thank you!

created:

1 Like

Perfect! I’ll ping repo maintainers in a moment!

How will I be informed of any changes?

In the GitHub issue thread you created.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.