Create GitLab Account
- Create a new GitLab Account if you don’t have one already.
Create GitLab OAuth App
- Create a new OAuth application (direct link) by:
- On the left Sidebar, Select Applications.
- Select Add new application on the right.
GitLab OAuth App Information.
- Enter a Name and a Redirect URI.
-
Select OAuth 2 Scopes as defined in the Authorized Applications documentation.
- Minimum required scope:
read_user - OAuth 2.0 Application Type:
confidential
- Minimum required scope:
- Fill in the Redirect URI with your OAuth Callback URL from Nhost.
Configure Nhost
- Click Generate a new client secret to generate an OAuth client secret.
- Copy and paste the Client ID and Client Secret from GitLab to your Nhost OAuth settings for GitLab. Make sure the OAuth provider is enabled in Nhost.
- Click the checkbox “I have pasted the redirect URI into GitLab”.
- Click Confirm settings.