mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-06 10:21:05 +02:00
improvement: update gitlab api scope (#630)
This commit is contained in:
parent
627a591824
commit
5f0c13767b
2 changed files with 3 additions and 3 deletions
|
@ -25,9 +25,9 @@ Field | Description
|
||||||
------------ | --------------------------------------------
|
------------ | --------------------------------------------
|
||||||
Name | The name of your web app
|
Name | The name of your web app
|
||||||
Redirect URI | `https://${authenticate_service_url}/oauth2/callback`
|
Redirect URI | `https://${authenticate_service_url}/oauth2/callback`
|
||||||
Scopes | **Must** select **openid**, **read_user** and **api**
|
Scopes | **Must** select **openid**, **read_user** and **read_api**
|
||||||
|
|
||||||
If no scopes are set, we will use the following scopes: `openid`, `api`, `read_user`, `profile`, `email`.
|
If no scopes are set, we will use the following scopes: `openid`, `read_api`, `read_user`, `profile`, `email`.
|
||||||
|
|
||||||
Your `Client ID` and `Client Secret` will be displayed like below:
|
Your `Client ID` and `Client Secret` will be displayed like below:
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ import (
|
||||||
// Name identifies the GitLab identity provider
|
// Name identifies the GitLab identity provider
|
||||||
const Name = "gitlab"
|
const Name = "gitlab"
|
||||||
|
|
||||||
var defaultScopes = []string{oidc.ScopeOpenID, "api", "read_user", "profile", "email"}
|
var defaultScopes = []string{oidc.ScopeOpenID, "read_api", "read_user", "profile", "email"}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
defaultProviderURL = "https://gitlab.com"
|
defaultProviderURL = "https://gitlab.com"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue