Remove api from GitLab defaultScope (#2518)

* remove api from gitlab defaultScope

* rm redundant scope
This commit is contained in:
Alex Fornuto 2021-08-25 10:26:35 -05:00 committed by GitHub
parent 1cbcb8335d
commit db5d1593e3
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.
const Name = "gitlab"
var defaultScopes = []string{oidc.ScopeOpenID, "profile", "email", "api"}
var defaultScopes = []string{oidc.ScopeOpenID, "profile", "email"}
const (
defaultProviderURL = "https://gitlab.com"