Skip to main content

Reddit provider for Users & Permissions

Using ngrok

Reddit accepts the localhost urls.
The use of ngrok is not needed.

Reddit configuration

  • Visit the Reddit authorized applications preferences page
    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
    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