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 <Joel.speed@hotmail.co.uk>
commit167acf7f09eac607c0e9119285abcce64ae783aa
authorbradybus <bradybus@users.noreply.github.com>
dateSun 29 May 2022, 03:17 (4 years ago)
parentfc686ae
docs/docs/configuration/auth.md+2
@@ -223,6 +223,8 @@ If you are using self-hosted GitLab, make sure you set the following to the appr
223223
224224 --oidc-issuer-url="<your gitlab url>"
225225
226+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.
227+
226228### LinkedIn Auth Provider
227229
228230For LinkedIn, the registration steps are:
docs/versioned_docs/version-7.2.x/configuration/auth.md+2
@@ -222,6 +222,8 @@ If you are using self-hosted GitLab, make sure you set the following to the appr
222222
223223 --oidc-issuer-url="<your gitlab url>"
224224
225+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.
226+
225227### LinkedIn Auth Provider
226228
227229For LinkedIn, the registration steps are: