Discord
This will walk you through the process of setting up Discord OAuth for your Zipline instance.
Create a Discord Application
- Go to the Discord Developer Portal.
- Click the "New Application" button.
- Give your application a name.
- Click the "Create" button then click the "OAuth2" tab.
- Click the "Add Redirect" button.
- Make sure the redirect URL is
https://<your-zipline-domain>/api/auth/oauth/discord
.
- Copy the "Client ID" and "Client Secret" and save them for later.
Configure Zipline
Set the OAUTH_DISCORD_CLIENT_ID
and OAUTH_DISCORD_CLIENT_SECRET
environment variables to the values you copied earlier.
OAUTH_DISCORD_CLIENT_ID=1234567890OAUTH_DISCORD_CLIENT_SECRET=qwertyuiopasdfghjklzxcvbnm
Make sure you have the FEATURES_OAUTH_REGISTRATION
environment variable set to true
, or none of the endpoints will work.
If you have set up everything correctly, you can now navigate to the login page and click the "Login with Discord" button.
OAuth
Zipline now supports user registration via OAuth p...
GitHub
This will walk you through the process of setting...
Last updated: 3/2/2024
Edit this page on GitHub