...
Choose a name for your identity provider. This is the user-facing name, so choose a name your users will recognize. This value can be changed later.
...
2. Prepare IDP
Copy the Callback URL. You will need this when configuring GitHubGitLab.
...
Configure
...
GitLab
Status | ||||
---|---|---|---|---|
|
Access your GitHub Enterprise organization from https://github.com/settings/organizations. Make sure you are logged in as a user with admin privileges to the organization.
Click settings.
...
...
Click New OAuth App in the upper right corner.
...
Fill in the details. Paste the callback URL copied from the prepare step into the Authorization callback URL field.
Click Register application.
...
Keep the Client ID and Client Secret for a later step, but go back to the Kantega SSO Setup for now.
...
Sign in to your Gitlab server as an admin user. Go into the GitLab preferences from the upper right menu.
...
Go to Applications. Here you can create a new OIDC application. Give the app a name and paste in the callback url generated by the Kantega SSO add-on in the Redirect URI field.
Under Scopes, check the openid scope to enable OIDC authentication. You can also check the profile and email scopes if you are using just-in-time provisioning. Save the application when done.
...
In the following page, copy and keep the Application ID and Secret for later. You will need these later in the KSSO Setup Wizard.
...
Go back to the Kantega SSO setup wizard, step 3 Metadata.
3. Metadata
In the Metadata step, replace the {idp_url}
placeholder in the Discovery URL with xxx
...
your GitLab hostname.
...
4. Scopes
These are the scopes we were able to fetch from the metadata. You can add scope values from a list, start typing to add your own or unselect them. A minimum of one scope value is required.skjermbilde
...
5. Credentials
Paste the Application ID and Secret values that you kept from the GitLab application setup into the Client ID and Client Secret fields, respectively.
...
6. Summary
Check that everything looks good and submit your setup skjermbilde
...
Test
Test that the log in with GitHub GitLab works as expected. This will help identify if there are any issues with the configuration. Follow the steps to perform the login test.skjermbilde
...