Add providerType
in returned session with 'database' strategy?
#3578
Answered
by
balazsorban44
baptisteArno
asked this question in
Help
-
I'm trying to figure out how I can add I managed to do it with the |
Beta Was this translation helpful? Give feedback.
Answered by
balazsorban44
Jan 7, 2022
Replies: 1 comment
-
If you use a single provider, it might be unnecessary, you can just assume the same value all the time. Considering this question, it's probably not the case. When using a DB persisted session, we don't fetch the account info by default, you will have to retrieve it yourself, possibly in the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
baptisteArno
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you use a single provider, it might be unnecessary, you can just assume the same value all the time.
Considering this question, it's probably not the case.
When using a DB persisted session, we don't fetch the account info by default, you will have to retrieve it yourself, possibly in the
session
callback.