From 167acf7f09eac607c0e9119285abcce64ae783aa Mon Sep 17 00:00:00 2001 From: bradybus Date: Sun, 29 May 2022 03:17:30 -0600 Subject: [PATCH] Add redirect instructions for gitlab on sub-dir (#1616) * Add redirect instructions for gitlab on sub-dir * include redirect instructions in unversioned docs Co-authored-by: Joel Speed --- docs/docs/configuration/auth.md | 2 ++ docs/versioned_docs/version-7.2.x/configuration/auth.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/docs/configuration/auth.md b/docs/docs/configuration/auth.md index dd43cea3..012bcfaf 100644 --- a/docs/docs/configuration/auth.md +++ b/docs/docs/configuration/auth.md @@ -223,6 +223,8 @@ If you are using self-hosted GitLab, make sure you set the following to the appr --oidc-issuer-url="" +If your self-hosted GitLab is on a sub-directory (e.g. domain.tld/gitlab), as opposed to its own sub-domain (e.g. gitlab.domain.tld), you may need to add a redirect from domain.tld/oauth pointing at e.g. domain.tld/gitlab/oauth. + ### LinkedIn Auth Provider For LinkedIn, the registration steps are: diff --git a/docs/versioned_docs/version-7.2.x/configuration/auth.md b/docs/versioned_docs/version-7.2.x/configuration/auth.md index c9529979..c7c7184b 100644 --- a/docs/versioned_docs/version-7.2.x/configuration/auth.md +++ b/docs/versioned_docs/version-7.2.x/configuration/auth.md @@ -222,6 +222,8 @@ If you are using self-hosted GitLab, make sure you set the following to the appr --oidc-issuer-url="" +If your self-hosted GitLab is on a sub-directory (e.g. domain.tld/gitlab), as opposed to its own sub-domain (e.g. gitlab.domain.tld), you may need to add a redirect from domain.tld/oauth pointing at e.g. domain.tld/gitlab/oauth. + ### LinkedIn Auth Provider For LinkedIn, the registration steps are: