Skip to content

Return accessToken and refreshToken in Authenticator session cookie #154

Answered by sergiodxa
dan-cooke asked this question in Q&A
Discussion options

You must be logged in to vote

I would store them in the DB then, also the size of those tokens depends on the provider I imagine, the access token on GitHub for example is a short string.

if your tokens are too big to use a single cookie, you could call authenticate without a success redirect, get the tokens and store them on individual cookies as you said.

Replies: 1 comment

Comment options

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