I am new for Auth0 and I built a SPA website with .net core, Angular 2. I followed the documents using Auth0 for authentication and it works great. But I find when I login, sometimes I need login twice to get it work.
Here is the isAuthenticated() method in my authentication service:
I noticed when it fails login, the Date().getTime() > expiresAt:
Can anyone help me with that? Why this happened and how to fix that. Thanks