Discord
Let your team sign in with their Discord accounts.
Your redirect URI
Discord will ask for a redirect URI. Use your hub’s URL with this exact path:
https://your-hub-url/api/auth/discord/callback Setup
Create an application
Go to the Discord Developer Portal and create a new application.
Add the redirect URI
Open OAuth2 in the sidebar and add https://your-hub-url/api/auth/discord/callback as a redirect URI.
Add the credentials to Perch
Copy the Client ID and Client Secret from that same page, paste both into the Discord card in Perch (Admin → Auth), and enable it.
A note on email addresses
Perch uses the user’s Discord email to create and match their account, so they need a verified email on their Discord account. Without one, the login fails.
Note
Discord doesn’t speak OIDC, so after the OAuth flow Perch calls the Discord API directly to fetch the user’s email. Everything else works the same as the other providers.