How do I get fresh OAuth profile information on sign-in? #5276
Unanswered
bn-rfleminger
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using database strategy with the DynamoDB adapter with a custom OAuth provider. It seems that the profile information never gets updated after the initial sign-on, even if it's the incoming token during subsequent sign-out/sign-ins has new or different profile information. In callback-handler.ts, the logic looks to be to simply retrieve and return the stored profile information if a user exists in the database. The only time the profile is written to the user is when there is not an existing user already.
Is there a setting, a callback, or some other means I should be looking into to ensure that these database users are properly updated, at the very least, on sign-out/sign-in?
Beta Was this translation helpful? Give feedback.
All reactions