For Reddit as a social provider, it appears that the correct key is scope (not scopes) to update the scopes in the OAuth app. #981

Closed
opened 2026-03-13 08:14:56 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @kitharvey on GitHub (Apr 5, 2025).

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). ### 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'] } } ```
Author
Owner

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

thanks, should already be updated!

@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#981