This commit is contained in:
committed by
GitHub
parent
b8006068e9
commit
763a19b914
@ -21,7 +21,6 @@ There are 2 ways to configure single sign on (SSO) for GitLab:
|
||||
- [via SAML](#saml-auth)
|
||||
- [via OIDC Connect (OAuth)](#openid-connect-auth)
|
||||
|
||||
|
||||
### SAML auth
|
||||
|
||||
#### Preparation
|
||||
@ -42,11 +41,9 @@ Under _Advanced protocol settings_, set a certificate for _Signing Certificate_.
|
||||
|
||||
#### GitLab Configuration
|
||||
|
||||
|
||||
Paste the following block in your `/etc/gitlab/gitlab.rb` file, after replacing the placeholder values from above.
|
||||
To get the value for `idp_cert_fingerprint`, navigate to the authentik Admin interface, expand the **System** section and select **Certificates**. Then, expand the selected certificate and copy the SHA1 Certificate Fingerprint.
|
||||
|
||||
|
||||
```ruby
|
||||
gitlab_rails['omniauth_enabled'] = true
|
||||
gitlab_rails['omniauth_allow_single_sign_on'] = ['saml']
|
||||
|
||||
Reference in New Issue
Block a user