You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GoogleLoginProvider should persist the token(s?) to localStorage, and try to get them on initialize so it can instantiate _socialUser when present.
The issue is that on browser refresh for a signed-in user, _socialUser will always be null unless the user signs back in (even if we persist the token outside of the provider). This defeats any possibility of refreshing the token after a refresh (which itself seems broken, see #745)
I can attempt a PR this week.
Details to work out (some are notes to self):
How to handle expired tokens (should it not instantiate _socialUser in this case?)
signOut should clear anything the provider persists
The text was updated successfully, but these errors were encountered:
GoogleLoginProvider should persist the token(s?) to localStorage, and try to get them on initialize so it can instantiate
_socialUser
when present.The issue is that on browser refresh for a signed-in user,
_socialUser
will always be null unless the user signs back in (even if we persist the token outside of the provider). This defeats any possibility of refreshing the token after a refresh (which itself seems broken, see #745)I can attempt a PR this week.
Details to work out (some are notes to self):
signOut
should clear anything the provider persistsThe text was updated successfully, but these errors were encountered: