change gitlab group unique identifier from name to ID (#571)

This commit is contained in:
Ogundele Olumide 2020-03-28 20:45:24 +01:00 committed by GitHub
parent 4c5d2d8020
commit 3c6431e5bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 53 deletions

View file

@ -23,11 +23,13 @@ Name | The name of your web app
Redirect URI | `https://${authenticate_service_url}/oauth2/callback`
Scopes | **Must** select **read_user** and **openid**
[Group ID](https://docs.gitlab.com/ee/api/groups.html#details-of-a-group) will be used to affirm group(s) a user belongs to.
Your `Client ID` and `Client Secret` will be displayed:
![Gitlab OAuth Client ID and Secret](./img/gitlab/gitlab-credentials.png)
Set `Client ID` and `Client Secret` in Pomerium's settings. Your [environmental variables] should look something like this.
Set `Client ID` and `Client Secret` in Pomerium's settings. Your environment variables should look something like this.
```bash
authenticate_service_url: https://authenticate.localhost.pomerium.io
@ -38,4 +40,4 @@ idp_client_secret: "REDACTED" // gitlab application secret
When a user first uses pomerium to login, they will be presented with an authorization screen similar to the following depending on the scope parameters setup.
![gitlab access authorization screen](./img/gitlab/gitlab-verify-access.png)
![gitlab access authorization screen](./img/gitlab/gitlab-verify-access.png)