Discord Login
Learn how to interact with Discord Login
To enable Discord Auth for your project, you need to set up a Discord OAuth application and add the application credentials in the Openfort Dashboard.
Overview#
Setting up Discord logins for your application consists of 3 parts:
- Create and configure a Discord Project and App on the Discord Developer Dashboard.
- Add your Discord API Key and API Secret Key to your Openfort Project.
- Add the login code to your Openfort JS Client App.
Configuration#
Access your Discord account
-
Go to discord.com.
-
Click on
Login
at the top right to log in. -
Once logged in, go to discord.com/developers.
-
callback URL:
https://api.openfort.xyz/iam/v1/oauth/callback/facebook
Create a Discord application
- Click on
New Application
at the top right. - Enter the name of your application and click
Create
. - Click on
OAuth2
underSettings
in the left side panel. - Click
Add Redirect
underRedirects
. - Type or paste your
callback URL
into theRedirects
box. - Click
Save Changes
at the bottom. - Copy your
Client ID
andClient Secret
underClient information
.
Add your Discord credentials into your Supabase project