Authentik
This will walk you through the process of setting up Authentik OAuth for your Zipline instance.
Setup Authentik
Instructions can be found to do this here
Configure Provider
- Navigate to the admin interface
- Under applications/providers, create a new provider
- Select the OAuth/OpenID type, and hit next.
- Set the authention flow as default-authentication-flow
- Set the authorization flow as default-explicit-authorization-flow
- Set the client type as confidential, and note the client ID + Secret, these will be used in the enviroment variables
Configure Application
- Navigate to applications/appliactions
- Create new application using the provider you just setup.
Configure Zipline
Using the client ID + Secret from the provider, set those to the respective variables(OAUTH_AUTEHNTIK_CLIENT_ID, OAUTH_AUTHENTIK_CLIENT_SECRET), and replace authentik.example
with the accessible URL of your authentik install.
OAUTH_AUTEHNTIK_CLIENT_ID=your_client_idOAUTH_AUTHENTIK_CLIENT_SECRET=sijfsoudhfdhi4s4sdOAUTH_AUTHENTIK_AUTHORIZE_URL=https://authetik.example/application/o/authorize/OAUTH_AUTHENTIK_USERINFO_URL=https://authentik.example/application/o/userinfo/OAUTH_AUTHENTIK_TOKEN_URL=https://authentik.example/application/o/token/
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 Authentik" button.
OAuth
Zipline now supports user registration via OAuth p...
Discord
This will walk you through the process of setting...
Last updated: 5/21/2023
Edit this page on GitHub