Discord Authentication
This guide walks you through setting up Discord OAuth as a custom authentication provider for your UTXOS application.
Custom authentication providers are available on Pro and Scale plans. The Base plan uses UTXOS-managed Discord credentials.
Prerequisites
- A Discord account
- Access to the Discord Developer Portal
- A UTXOS project on the Pro or Scale plan
Create Discord OAuth Application
-
Navigate to the Discord Developer Portal.
-
Click New Application and enter a name for your application.
-
In the left sidebar, select OAuth2.
-
Copy the Client ID and Client Secret from the Client information section.
The Client Secret is only shown once. Store it securely before continuing.
- In the Redirects section, add the following redirect URL:
https://utxos.dev/api/auth- Click Save Changes.

Configure UTXOS Dashboard
-
Open the UTXOS Dashboard and select your project.
-
Navigate to Settings > Authentication.
-
Select Discord from the provider list.
-
Enter your credentials:
| Field | Value |
|---|---|
| Client ID | Your Discord OAuth Client ID |
| Client Secret | Your Discord OAuth Client Secret |
-
Toggle Enable to activate Discord authentication.
-
Click Save project settings.

Verify the Integration
-
Open your application and initiate the wallet connection flow.
-
Select Login with Discord.
-
Complete the Discord authorization process.
-
Confirm you are redirected back to your application with an active wallet session.
Troubleshooting
”Invalid OAuth2 redirect_uri” Error
The redirect URI does not match your Discord application configuration. Verify that https://utxos.dev/api/auth is added exactly as shown in the Redirects section.
”Unknown Application” Error
Your Discord application may not be properly configured. Ensure the application is not deleted and the Client ID is correct.
”Invalid Client Secret” Error
Regenerate the Client Secret in the Discord Developer Portal and update it in the UTXOS dashboard.
Users Cannot Authorize
Check that your Discord application has the required scopes enabled. UTXOS requires the identify and email scopes for authentication.
Next Steps
- Enable Third-Party Authentication to use existing Discord sessions
- Add additional providers to give users more login options