Skip to content
Discussion options

You must be logged in to vote

Using v4 I assume. Have a read of these:

https://next-auth.js.org/getting-started/upgrade-v4#providers
#2411 (comment)
https://next-auth.js.org/configuration/providers/oauth-provider#options

TLDR;

import TwitchProvider from `next-auth/providers/twitch`
...
providers: [
  TwitchProvider({
    clientId: process.env.TWITCH_CLIENT_ID,
    clientSecret: process.env.TWITCH_CLIENT_SECRET,
    authorization: {
      params: {
        scope: 'user:read:follows'
      }
    }
  })
]
...

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@khendrikse
Comment options

@khendrikse
Comment options

@balazsorban44
Comment options

@khendrikse
Comment options

@khendrikse
Comment options

Answer selected by khendrikse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants