Skip to content

How does Kratos handle access/refresh tokens for social sign in? #962

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

You must be logged in to vote

My question is, will Kratos continously refresh the access/refresh token in the background?

ORY Kratos does not refresh or issue tokens, that would be handled by your OIDC provider, i.e. your existing app or for example ORY Hydra.
The existing app that is used as OIDC provider here would have to issue and manage tokens.
You can set how long refresh tokens are valid in ORY Hydra, see the reference configuration.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vinckr
Comment options

Answer selected by vinckr
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