Integrate Discord Login

This guide will cover how to set up your Discord Login for custom authentication provider.

This feature is available on the Pro and Scale plans.

Setup Discord Oauth

  1. Login to Discord Developer Portal and create a new application.

  2. Copy the Client ID and Client Secret from the Client information section.

  3. Under the OAuth2 tab, add the redirect URL, https://utxos.dev/api/auth to the Redirects section.

  4. Save the changes.

alt text

Configure Authentication Provider

  1. In UTXOS dashboard, edit this project’s settings and navigate to the Authentication section.

  2. Select Discord from the list of providers.

  3. Fill in the Client ID and Client Secret fields with the values from the Discord Developer Portal.

  4. Toggle the Enable switch to enable Discord Login.

  5. Click on the Save project settings button.

alt text

Test Discord Login

  1. Go to your application and connect wallet.

  2. Click on the Login with Discord button.

  3. You will be redirected to the Discord login page.

  4. Login with your Discord credentials.

  5. You will be redirected back to your application.

  6. You have successfully integrated Discord Login with your application.