-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persist session after refresh #741
Comments
Also it's interesting that the demo page can log in automatically, but having the same code in my app needs to click the button. I don't understand why the behavior is different. |
I duplicated this issue by accident in #747. I'll close and track here instead. GoogleLoginProvider should persist the token(s?) to localStorage, and try to get them on initialize so it can instantiate The issue is that on browser refresh for a signed-in user, I can attempt a PR this week. Details to work out (some are notes to self):
|
+1 So I have a canActivate waiting on authState. If they aren't logged in, authState returns null 1 time. If they are logged in, it returns null 1st then the social user 2nd. |
Hello, i have the same issue, anyone have a solution ? |
I am really looking for an answer on this -- the module is basically unusable without a solution. |
Any idea how to persist the user's session after a googe LOGIN? From google we receive apparently an id_token... tried saving that in local storage but it has no effect. A silent authentication doensn't really work as well...
The text was updated successfully, but these errors were encountered: