Remove api from GitLab defaultScope (#2518) (#2528)

* remove api from gitlab defaultScope

* rm redundant scope

Co-authored-by: Alex Fornuto <afornuto@pomerium.com>
This commit is contained in:
backport-actions-token[bot] 2021-08-25 08:50:30 -07:00 committed by GitHub
parent 39e49ca9e0
commit 94fddefc8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,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, "profile", "email", "api"} var defaultScopes = []string{oidc.ScopeOpenID, "profile", "email"}
const ( const (
defaultProviderURL = "https://gitlab.com" defaultProviderURL = "https://gitlab.com"