Register the application
Open the Discord developer console. Create an application, open OAuth2, and add the address below under redirects. Copy the OAuth client ID and secret. For a bundled Kaneo deployment athttps://kaneo.example.com, the callback is:
/api/auth/callback/discord; do not append a second /api when your API URL already includes it.
For provider-specific options, see the official OAuth guide.
Configure Kaneo
Add the values from the provider to your server’s.env: