Skip to content

Commit abb226c

Browse files
committed
Minor updates
1 parent bf7b635 commit abb226c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

modules/authentication/snip-enable-user-authentication-with-gitlab-common-first-steps.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
. Register GitLab OAuth 2 application to allow {product-very-short} to authenticate with GitLab. You must use the required callback URL and permissions.
44
.. link:https://docs.gitlab.com/integration/oauth_provider/[Register a GitLab OAuth 2 application] using the following configuration:
5-
5+
+
6+
--
67
GitLab OAuth 2 application name::
78
Enter a unique name, such as `authenticating-with-rhdh-__<GUID>__`.
89

@@ -14,12 +15,14 @@ Enter your authentication backend URL: `pass:c,a,q[{my-product-url}/api/auth/git
1415

1516
Authorized application scope::
1617
Enable `email`, `profile`, `openid`, and `read_user`.
17-
18+
--
1819
.. Save the application and record these values for the next step:
1920

2021
* **OAuth 2 Client ID**, available in the *Application ID* field
2122
* **OAuth 2 Client secret**, accessible by selecting *Copy* in the *Secret* field
2223
24+
. Create a link:https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html[GitLab personal access token] with the `read_api` scope. Save this token to use in your OpenShift secret.
25+
2326
. Add your GitLab credentials to {configuring-book-link}#provisioning-your-custom-configuration[your {product-very-short} secrets] using the following key/value pairs.
2427
Use these environment variables in your {product-very-short} configuration files.
2528

0 commit comments

Comments
 (0)