Auto Login with Angular SPA

Hi all,

I’m trying to learn how to create authentiaction for a Angular SPA.

I’ve completed the great tutorial at The Complete Guide to Angular User Authentication with Auth0, and most of it worked very well out of the box.

But every time I refresh the page, I have to login again. I think it’s a very basic requirement not to have to login every single time, but the blog post says absolutely nothing about this topic. Even worse, when I tried to google the solution, I found problems concerning disabling auto login, but not a single tutorial about enabling it. So I think it must be my fault. Perhaps it is enabled by default and I simply did something wrong.

So can you give me a simple pointer what I have to do to keep the user signed in?

Regards

Marcus.

2 Likes

2 posts were merged into an existing topic: The Complete Guide to Angular User Authentication with Auth0