-
Notifications
You must be signed in to change notification settings - Fork 258
ID token keeps returning expired token on Android #24
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
Comments
Have the same problem, looks like auth token is expired and if attempted to log back in it uses the expired token. Attempting to logout before logging in doesn't seem to do the trick. Is there a way to refresh auth token for Android devices? I read that Firebase 4.4.2 resolved auth token refresh issue, but updating to 4.4.2 doesn't seem to have resolved the problem. Anyone has any ideas? |
It's been almost a year. And I get an expired token as well. Is anybody alive here? Here's payload example:
|
still facing same issue, since there is no reply, i am thinking of implementing client auth token based solution, may be that approach might work as it is a one time auth token for client, |
Facing same issue. In fact looking at code comment -- it seems like it doesn't support refreshing of the token on android. Not sure why though.
Looking at comment, it seems like there is no native getTokens on android so it returns null and replaced by existing token. If that is the case, what's workaround? There must be because this is a showstopper and one of the fundamental plugins in flutter ecosystem. Am I missing something? Thanks |
same problem here - refreshing idToken on android doesn't seem to work and would love to hear any update on this issue - thanks |
same problem here, and we still waiting for an update. |
Same problem here, please do fix it! |
Same problem for April 2023 on Android: silent signin after an hour can't generate new valid token but keep return old token. |
I suppose that it is some kind of wrong google console, client id's and stuff setup. |
By default, access tokens have a validity of 1 hour, which appears to be sufficient for authorizing the retrieval of a signed-in user's data. Once the token has been verified with the backend server, it is imperative to establish a session for the user on the backend. There is no necessity to repeatedly fetch the access token each time a user enters the application after logging in. The primary purpose of the access token is to validate the user with the Google server. |
still waiting for an update, please |
When I sign into google on Android, everything was working flawlessly until about an hour into testing. The google sign in keeps returning an invalid ID token which makes it impossible to validate on my backend server
The text was updated successfully, but these errors were encountered: