2018-04-17 11:25:25 +00:00
|
|
|
|
2018-03-28 10:11:18 +00:00
|
|
|
==== GitLab
|
|
|
|
|
2021-03-22 13:20:23 +00:00
|
|
|
.Procedure
|
|
|
|
. Click *Identity Providers* in the menu.
|
|
|
|
. From the `Add provider` list, select `GitLab`.
|
|
|
|
+
|
2021-06-17 14:39:30 +00:00
|
|
|
.Add identity provider
|
2022-07-26 15:50:24 +00:00
|
|
|
image:{project_images}/gitlab-add-identity-provider.png[Add identity provider]
|
2021-03-22 13:20:23 +00:00
|
|
|
+
|
|
|
|
. Copy the value of *Redirect URI* to your clipboard.
|
|
|
|
. In a separate browser tab, https://docs.gitlab.com/ee/integration/oauth_provider.html[add a new GitLab application].
|
|
|
|
.. Use the *Redirect URI* in your clipboard as the *Redirect URI*.
|
|
|
|
.. Note the `Client ID` and `Client Secret` when you save the application.
|
|
|
|
. In {project_name}, paste the value of the `Client ID` into the *Client ID* field.
|
|
|
|
. In {project_name}, paste the value of the `Client Secret` into the *Client Secret* field.
|
2022-07-26 15:50:24 +00:00
|
|
|
ifeval::[{project_community}==true]
|
|
|
|
. Click *Add*.
|
|
|
|
endif::[]
|
|
|
|
ifeval::[{project_product}==true]
|
2021-03-22 13:20:23 +00:00
|
|
|
. Click *Save*.
|
2022-07-26 15:50:24 +00:00
|
|
|
endif::[]
|
|
|
|
|