Skip to content

Reference

Reddit

Set up Reddit OAuth for reading and posting to communities

Connect your users to Reddit for reading posts, submitting content, managing subscriptions, and community interactions.

PropertyValue
Provider IDreddit
CategorySocial
PKCESupported
Token refreshAutomatic
Redirect URIShown in Developer Portal

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.

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.

ScopeDescription
identityView the user’s Reddit username and account information
readRead posts, comments, and subreddit information
submitSubmit posts and comments
editEdit posts and comments
historyView the user’s voting and comment history
subscribeSubscribe and unsubscribe from subreddits
voteUpvote and downvote posts and comments
privatemessagesRead and send private messages
saveSave and unsave posts and comments
flairManage user and post flair
mysubredditsView subreddits the user moderates or is subscribed to
reportReport posts and comments for rule violations
wikireadRead subreddit wiki pages
wikieditEdit subreddit wiki pages
modpostsApprove, remove, and distinguish posts and comments as a moderator
modconfigManage subreddit configuration and settings as a moderator
modflairManage user and link flair in moderated subreddits
modothersInvite and manage moderators and contributors

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
commentsendPOST/api/comment
composesendPOST/api/compose
submitsendPOST/api/submit
deldeletePOST/api/del
editusertextwritePOST/api/editusertext
inforeadGET/api/info
me/getreadGET/api/v1/me
me/karmareadGET/api/v1/me/karma
me/prefs/getreadGET/api/v1/me/prefs
me/prefs/updatewritePATCH/api/v1/me/prefs
message/inboxreadGET/message/inbox
subreddit/aboutreadGET/r/{subreddit}/about
subreddit/commentsreadGET/r/{subreddit}/comments/{article}
subreddit/hotreadGET/r/{subreddit}/hot
subreddit/newreadGET/r/{subreddit}/new
subreddit/searchreadGET/r/{subreddit}/search
subreddit/topreadGET/r/{subreddit}/top
subreddits/minereadGET/subreddits/mine/subscriber
subscribewritePOST/api/subscribe
user/aboutreadGET/user/{username}/about
user/commentsreadGET/user/{username}/comments
user/submittedreadGET/user/{username}/submitted
votewritePOST/api/vote

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.