Reddit provider setup for Users & Permissions
The present page explains how to setup the Reddit provider for the Users & Permissions feature.
Prerequisites
You have the Users & Permissions providers documentation.
Reddit configuration
Note
Reddit accepts the localhost
urls.
The use of ngrok
is not needed.
- Visit the Reddit authorized applications preferences page at https://www.reddit.com/prefs/apps
- Click on the create another app... button near the bottom
- Select web app for the type
- Fill the name and redirect uri input in
- Click the create app button
- Note that the Client ID is located under the app type (web app)
Strapi configuration
- Visit the User & Permissions provider settings page at http://localhost:1337/admin/settings/users-permissions/providers
- Click on the Reddit provider
- Fill the information (replace with your own client ID and secret):
- Enable:
ON
- Client ID: hmxSBOit0SCjSQ
- Client Secret: gwR9hCjK_PMYVYNGeDLS4WLB8g7xqg
- The redirect URL to your front-end app:
http://localhost:3000/connect/reddit/redirect
- Enable:
Your configuration is done.
Launch the backend and the react login example application, go to http://localhost:3000
and try to connect to the provider you configured.