Skip to content

New token for every page refresh? #200

Answered by kmjennison
andrewli-ca asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it's expected. The auth cookies are set whenever the Firebase client's ID token changes, which is typically at least once per app load. When that happens, the "issued at" and "expiration" timestamps change in the token, and so the next withAuthUserTokenSSR will see a new token.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@andrewli-ca
Comment options

@kmjennison
Comment options

@andrewli-ca
Comment options

Answer selected by andrewli-ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants