Portabase Logo
Portabase DashboardInstallationAuthenticationOAuth2Configurations

Reddit

Configure authentication via Reddit in Portabase.

Reddit integration allows your users to sign in via their Reddit account, ideal for community platforms.

Check the OAuth2 configuration to understand global variables and role management.

Configuration Steps

Access Reddit Apps

Log in to your account on Reddit and go to reddit.com/prefs/apps.

Reddit - Authorized applications

Create an Application

At the bottom of the page, click Create another app...:

  • Name: Portabase.

  • Select Web app.

  • Description: Data management platform.

  • Redirect URI: https://portabase.your-domain.com/api/auth/callback/reddit

    Reddit - Create application

Get Credentials

After clicking Create app, you will see:

  • The Client ID (indicated just below the application name).
  • The Client Secret (indicated next to the secret field).

Environment Variables

Use these variables to configure Reddit authentication:

AUTH_SOCIAL_REDDIT_CLIENT="your-reddit-client-id"
AUTH_SOCIAL_REDDIT_SECRET="your-reddit-client-secret"

Restart the Dashboard

After updating your .env file, restart the instance:

portabase restart .
docker-compose down && docker-compose up -d

On this page