GitLab
What is GitLab#
From https://about.gitlab.com/what-is-gitlab/
note
GitLab is a complete DevOps platform, delivered as a single application. This makes GitLab unique and makes Concurrent DevOps possible, unlocking your organization from the constraints of a pieced together toolchain. Join us for a live Q&A to learn how GitLab can give you unmatched visibility and higher levels of efficiency in a single application across the DevOps lifecycle.
Preparation#
The following placeholders will be used:
gitlab.companyis the FQDN of the GitLab Installauthentik.companyis the FQDN of the authentik Install
Create an application in authentik and note the slug, as this will be used later. Create a SAML provider with the following parameters:
- ACS URL: 
https://gitlab.company/users/auth/saml/callback - Audience: 
https://gitlab.company - Issuer: 
https://gitlab.company - Binding: 
Post 
You can of course use a custom signing certificate, and adjust durations. To get the value for idp_cert_fingerprint, you can use a tool like this.
GitLab Configuration#
Paste the following block in your gitlab.rb file, after replacing the placeholder values from above. The file is located in /etc/gitlab.
Afterwards, either run gitlab-ctl reconfigure if you're running GitLab Omnibus, or restart the container if you're using the container.