Skip to content

Getting valid access tokens (from google) #208

Answered by vinckr
TPausL asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @TPausL
apologies for the late answer!

You should be able to get the refresh token and use it to get a working access token as documented here:
https://www.ory.sh/docs/kratos/social-signin/get-tokens

The refresh token you get should be long-lived, I am not sure how it exactly plays out with Google.
I will have a look if I find more information for this exact use case.
This feature might also be interesting to you longer-term: ory/kratos#1912

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@vinckr
Comment options

@TPausL
Comment options

@TPausL
Comment options

@vinckr
Comment options

Answer selected by vinckr
@TPausL
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
2 participants