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
{{ message }}
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
I have a refresh method in my code that calls firebaseUser?.getIdToken();. The problem start to happen when user is in the app for approx 1h. the code throws auth/user-token-expired error and the user is force to logout.
it goes straight to the catch. From the documentation I know that:
Firebase ID tokens are short lived and last for an hour; the refresh token can be used to retrieve new ID tokens. Refresh tokens expire only when one of the following occurs: The user is deleted. The user is disabled. Which is not the case here. Is there any other reason why the method throws exception?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a refresh method in my code that calls
firebaseUser?.getIdToken();
. The problem start to happen when user is in the app for approx 1h. the code throwsauth/user-token-expired
error and the user is force to logout.it goes straight to the catch. From the documentation I know that:
Firebase ID tokens are short lived and last for an hour; the refresh token can be used to retrieve new ID tokens. Refresh tokens expire only when one of the following occurs: The user is deleted. The user is disabled. Which is not the case here. Is there any other reason why the method throws exception?
The text was updated successfully, but these errors were encountered: