Prerequisites
- WEB_DOMAIN: Your Frontend URL (e.g.,
https://app.yourdomain.comorhttp://localhost:3000)
Step 1: Create the OAuth App
- In GitLab, go to User Settings > Applications
- Click New application
- Fill in the application name and the redirect URI
Step 2: Configure the Callback URL
Set the Redirect URI to:Step 3: Configure Scopes
Set the scopes in GitLab to match the scopes below:Step 4: Add Credentials to .env
After creating the app, copy the credentials from GitLab and add them to your Kodus environment:https://gitlab.yourdomain.com/oauth/authorize).