File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# Reddit
22
3- ** This is Android Only **
4-
53Log in and go to [ apps] ( https://www.reddit.com/prefs/apps ) to create your app.
64
75Choose "installed app" and give it a name, description and about url of your choosing.
@@ -13,7 +11,9 @@ Reddit requires for you to add a [basic auth header](https://github.com/reddit-a
1311``` js
1412const config = {
1513 redirectUrl: ' com.myapp://oauth2redirect/reddit' ,
16- scopes: [' identity' ], // include the scopes you need
14+ clientId: ' <client-id>' ,
15+ clientSecret: ' ' , // empty string - needed for iOS
16+ scopes: [' identity' ],
1717 serviceConfiguration: {
1818 authorizationEndpoint: ' https://www.reddit.com/api/v1/authorize.compact' ,
1919 tokenEndpoint: ' https://www.reddit.com/api/v1/access_token' ,
You can’t perform that action at this time.
0 commit comments