GitLab social sign in
You can enable users to sign up and sign in using their GitLab credentials. To enable this, you’ll need some technical know-how and a GitLab app and credentials. Here’s some GitLab docs that might help.
Get the Kinde callback URL
Link to this section- In Kinde, go to Settings > Authentication.
- In the Social Connections section, select Add connection.
- In the window that appears, select GitLab, then select Save.
- On the GitLab tile, select Configure.
- In the Callback URL section:
- If you use Kinde’s domain as your default, copy the Kinde domain URL.
- If you use a custom domain (and want to use it as the callback) select the Use custom domain instead switch and copy the Custom domain URL.
- Use the copied Callback URL to set up the app, see below.
Create GitLab app
Link to this section- Sign in to your GitLab account and follow these instructions for adding a group-owned or user-owned application.
- Ensure these scopes are enabled in your application:
read_user
,openid
,profile
,email
. - Paste the Kinde callback URL in the Redirect URI field.
- Select Save.
- Copy the Application ID and Secret, and paste them where you can access them later.
Add GitLab credentials to Kinde
Link to this section- In Kinde, go to Settings > Authentication.
- On the GitLab tile, select Configure.
- Paste the Client ID (Application ID) and Client secret (Secret) into the relevant fields.
- Select if you want to treat this connection as a trusted provider. A trusted provider is one that guarantees the email they issue is verified. We recommend leaving this off for maximum security.
- Select which applications will have a GitLab sign in option.
- Select Save. Users will now see GitLab as an option to sign up and sign in to your product.