Skip to content

verifyIdToken returns Firebase ID token has expired when IDLE, setAuthCookies not refreshing the token, works on page refresh #605

Answered by kmjennison
Felixaverlant asked this question in Q&A
Discussion options

You must be logged in to vote

This shouldn't happen: we'll update the token when the Firebase JS SDK refreshes it (source).

Have you confirmed this also happens on the demo app? If it doesn't, please double-check that you're using useAuthUser as intended.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Felixaverlant
Comment options

You must be logged in to vote
2 replies
@kmjennison
Comment options

@Felixaverlant
Comment options

Comment options

You must be logged in to vote
2 replies
@Felixaverlant
Comment options

@GeronimoJohn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants