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.
- 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.
- 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.
- 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 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.