Skip to content

Renew auth #175

Answered by fenix-hub
mars3142 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mars3142
Currently the JWT obtained with get_google_oauth() is only used to exchange it with a Google Id Token. That's the one that is being refreshed automatically by our plugin and the one used to make requests.
So the first JWT you copy from Google OAuth2 page is not stored either refreshed, since it is used just as a one-time token.
If you want to use it again (eventually because you log out of the current user, or just closed the app), you will need to store it somewhere. If it expires it is not a big issue, since if you are already authenticated it won't be necessary anyway, and if you need a new one there is no automatic procedure currently, but you always have to call the get_…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by WolfgangSenff
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