Connect your AI agent to a Discord server to welcome new members, play music, manage user roles, and integrate with other services to post notifications.Documentation Index
Fetch the complete documentation index at: https://auth0-genai-ui-styling-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Connect Discord to Auth0
Discord setup
- Visit the Discord Developer account page and sign up.
- Create a new application in the Discord Developer Portal
-
Navigate to the OAuth2 section and configure OAuth redirect URL:
- Redirect URL:
https://YOUR_AUTH0_DOMAIN/login/callback
You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains. - Redirect URL:
- Note your Client ID and Client Secret
-
Set permissions/scopes you need:
- For basic login, the identify scope is generally required to get basic user information
- Save changes
Token Vault configuration example
To configure the Token Vault for your Discord connection, you can use the following code snippet in your application:Next steps
- To learn how to configure applications to access Token Vault, read Configure Token Vault.
- To learn how to get an access token to make a tool call, complete the Call other’s APIs on user’s behalf Quickstart.