OAuth providers
Set up Reddit OAuth for reading and posting to communities
Overview
Section titled “Overview”Connect your users to Reddit for reading posts, submitting content, managing subscriptions, and community interactions.
| Property | Value |
|---|---|
| Provider ID | reddit |
| Category | Social |
| PKCE | Supported |
| Token refresh | Automatic |
| Redirect URI | Shown in Developer Portal |
Step 1: Create a Reddit OAuth App
Section titled “Step 1: Create a Reddit OAuth App”Go to Reddit App Preferences
Navigate to reddit.com/prefs/apps and sign in.
Create a new app
Click are you a developer? create an app…. Select web app as the app type, enter the name, and fill in the description.
Configure the redirect URI
Enter the Alter callback URL from the Developer Portal in the redirect uri field.
Get credentials
Copy the Client ID (shown under the app name) and Client Secret.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”Open the Developer Portal
Go to portal.alterauth.com and navigate to the application.
Add Reddit provider
Go to OAuth Providers > Add Provider > Reddit.
Enter credentials
- Client ID: Paste your Reddit Client ID
- Client Secret: Paste your Reddit Client Secret
Select scopes
Choose the scopes the application needs.
Save
Click Save. The provider is now active.
Available Scopes
Section titled “Available Scopes”| Scope | Description |
|---|---|
identity | Access to account username and karma |
read | Read posts and comments |
submit | Submit posts and comments |
edit | Edit posts and comments |
history | Access to account history |
subscribe | Manage subreddit subscriptions |
vote | Upvote and downvote content |
privatemessages | Read and send private messages |
save | Save and unsave posts and comments |
flair | Manage user and post flair |
mysubreddits | Access to subscribed subreddits |
- Reddit access tokens expire after 1 hour. Alter Vault handles automatic token refresh.
- See the Reddit Developer documentation for more details.