Automatic login Angular single page

Hi everyone,
I’ve been struggling for a couple of days trying to find a way to authenticate a previously authenticated user whenever he reloads the page. I’ve followed Auth0 tutorial but whenever I reload the page there is no authentication. After that, I modified the parseHash callback that Auth0’s tutorial gives so that if there is no result and no error, it executes the auth0.authorize() method, but now, and I undestand the reason, whenever I reload the page it first load my Angular page, redirect to Auth0’s Universal Login and comes back to my page.
How could I get a new token whenever a previously authenticated user reloads the page?
Thank You,
Pd: if you need any code to know how my authentication service is, just ask

1 Like

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?