Replies: 3 comments 3 replies
-
running into the same issue, i need more specific scopes outside of the default ones but can't change them. doing this doesn't seem to work either: providers: [
TwitterProvider({
clientId: process.env.TWITTER_CLIENT_ID,
clientSecret: process.env.TWITTER_CLIENT_SECRET,
version: '2.0',
scope: 'users.read tweet.read bookmark.read',
}),
], |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've found the solution. The right way to configure the scope is this:
it's documented here: https://next-auth.js.org/configuration/providers/oauth#how-to |
Beta Was this translation helpful? Give feedback.
2 replies
-
How to use access_token and refresh token to post tweet? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
looking at the code I've seen that the permission scope is hard coded:
It would be nice to have the possibility to configure them through the
options
parameter with something like:Do you think it could be an improvement?
Thanks.
U.
Beta Was this translation helpful? Give feedback.
All reactions