Changing the returned user object from Twitter authentication #1763
-
Your question What are you trying to do Example: Providers.Twitter({
clientId: process.env.TWITTER_CLIENT_ID,
clientSecret: process.env.TWITTER_CLIENT_SECRET,
scope: "name username profile_image_url",
}), I've noticed that the Accounts database has an Reproduction Feedback
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
have a look at the jwt and session callbacks |
Beta Was this translation helpful? Give feedback.
have a look at the jwt and session callbacks
https://next-auth.js.org/configuration/callbacks