add SSO_PROVIDER_ID
This commit is contained in:
parent
b824b9780c
commit
f1a42b7114
@ -21,6 +21,7 @@ SECRET_RUNNER_TOKEN_VERSION=v1
|
|||||||
SSO=false
|
SSO=false
|
||||||
## Authentik Configuration
|
## Authentik Configuration
|
||||||
# SSO=true
|
# SSO=true
|
||||||
# SSO_PROVIDER_URL="https://authentik.mydomain.com/application/o/gitlab/"
|
|
||||||
# ORG_NAME="My Organization"
|
# ORG_NAME="My Organization"
|
||||||
|
# SSO_PROVIDER_URL="https://authentik.mydomain.com/application/o/gitlab/"
|
||||||
|
# SSO_PROVIDER_ID="your authentik Client ID"
|
||||||
# SECRET_SSO_PROVIDER_SECRET_VERSION=v1
|
# SECRET_SSO_PROVIDER_SECRET_VERSION=v1
|
||||||
|
@ -579,7 +579,7 @@ gitlab_rails['omniauth_providers'] = [
|
|||||||
"client_auth_method" => "query",
|
"client_auth_method" => "query",
|
||||||
"send_scope_to_token_endpoint" => "false",
|
"send_scope_to_token_endpoint" => "false",
|
||||||
"client_options" => {
|
"client_options" => {
|
||||||
"identifier" => "gitlab",
|
"identifier" => "{{ env "SSO_PROVIDER_ID" }}",
|
||||||
"secret" => "{{ secret "sso_provider_secret" }}",
|
"secret" => "{{ secret "sso_provider_secret" }}",
|
||||||
"redirect_uri" => "https://{{ env "DOMAIN" }}/users/auth/openid_connect/callback"
|
"redirect_uri" => "https://{{ env "DOMAIN" }}/users/auth/openid_connect/callback"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user