[GH-ISSUE #2137] For Reddit as a social provider, it appears that the correct key is scope (not scopes) to update the scopes in the OAuth app. #17695

Closed
opened 2026-04-15 15:55:45 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @kitharvey on GitHub (Apr 5, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/2137

From the documentation:

socialProviders: {
	reddit: {
		clientId: REDDIT_CLIENT_ID as string,
		clientSecret: REDDIT_CLIENT_SECRET as string,
		duration: 'permanent',
		scopes: ["identity", "read", "submit"]
	}
}

What currently works:

It seems that "identity" is included by default.

socialProviders: {
	reddit: {
		clientId: REDDIT_CLIENT_ID as string,
		clientSecret: REDDIT_CLIENT_SECRET as string,
		duration: 'permanent',
		scope: ['mysubreddits read']
	}
}
Originally created by @kitharvey on GitHub (Apr 5, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/2137 ### From the documentation: ```ts socialProviders: { reddit: { clientId: REDDIT_CLIENT_ID as string, clientSecret: REDDIT_CLIENT_SECRET as string, duration: 'permanent', scopes: ["identity", "read", "submit"] } } ``` ### What currently works: It seems that `"identity"` is included by default. ```ts socialProviders: { reddit: { clientId: REDDIT_CLIENT_ID as string, clientSecret: REDDIT_CLIENT_SECRET as string, duration: 'permanent', scope: ['mysubreddits read'] } } ```
GiteaMirror added the locked label 2026-04-15 15:55:45 -05:00
Author
Owner

@Bekacru commented on GitHub (Apr 5, 2025):

thanks, should already be updated!

<!-- gh-comment-id:2780657390 --> @Bekacru commented on GitHub (Apr 5, 2025): thanks, should already be updated!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#17695