Documentation
Configuration
https://developer.twitter.com/en/apps
Example
import Providers from `next-auth/providers`
...
providers: [
Providers.Twitter({
clientId: process.env.TWITTER_CLIENT_ID,
clientSecret: process.env.TWITTER_CLIENT_SECRET
})
}
...
tip
Enable the "Request email address from users" option in your app permissions if you want to save the users email address on sign up.