Click on "New Application" and provide a name for your application.
Fill in all the general information required for your application.
Navigate to the "OAuth2" section and then you will see your "Client ID" and "Client Secret". Make a note of the "Client ID" and "Client Secret". Bear in mind you will only be shown the "Client Secret" once.
Under "OAuth2", go to the "Redirects" section and add the following redirect URI:
# Assuming base path is /api/authhttp://localhost:8080/api/auth/oauth2/callback/discord
For production, replace localhost with the base URL of your Authula server (e.g. https://api.yourdomain.com).
# SECURITY NOTE: It is recommended to set the 'client_secret' for each of these via their# respective environment variables as shown in the .env.example file rather than hardcoding it here.[plugins.oauth2.providers.discord]enabled = trueclient_id = "your-client-id"client_secret = "your-client-secret"redirect_url = "http://localhost:8080/auth/oauth2/callback/discord"scopes = []