Management API Reference

Authentication

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:

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 under Settings in the left side panel.
  • Click Add Redirect under Redirects.
  • Type or paste your callback URL into the Redirects box.
  • Click Save Changes at the bottom.
  • Copy your Client ID and Client Secret under Client information.

Add your Discord credentials into your Supabase project

Discord Auth