From 8087de7a03be47c08c21039c7ab2e15d889bc64e Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Wed, 20 Jan 2021 20:57:22 +0100 Subject: [PATCH] Add Gitlab version warning/constaint in documentation (#1004) --- docs/docs/configuration/auth.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/configuration/auth.md b/docs/docs/configuration/auth.md index f16f2e26..7660a989 100644 --- a/docs/docs/configuration/auth.md +++ b/docs/docs/configuration/auth.md @@ -157,6 +157,8 @@ you should define the 'keycloak-group' value to /admin. ### GitLab Auth Provider +This auth provider has been tested against Gitlab version 12.X. Due to Gitlab API changes, it may not work for version prior to 12.X (see [994](https://github.com/oauth2-proxy/oauth2-proxy/issues/994)). + Whether you are using GitLab.com or self-hosting GitLab, follow [these steps to add an application](https://docs.gitlab.com/ce/integration/oauth_provider.html). Make sure to enable at least the `openid`, `profile` and `email` scopes, and set the redirect url to your application url e.g. https://myapp.com/oauth2/callback. If you need projects filtering, add the extra `read_api` scope to your application.