git.iko.soy/typeable/oauth2-proxy
on master help sign in
Reduce the default GitLab scope
commit982439a8d8a7fa4a19b29781a08042ccd670a644 authorMiouge1 <Miouge1@users.noreply.github.com> dateTue 12 Sep 2017, 23:42 (9 years ago) parente87c3ee
1 file changed+1−1
providers/gitlab.go+1−1
providers/gitlab.go+1−1
@@ -36,7 +36,7 @@ func NewGitLabProvider(p *ProviderData) *GitLabProvider {
3636 }
3737 }
3838 if p.Scope == "" {
39− p.Scope = "api"
39+ p.Scope = "read_user"
4040 }
4141 return &GitLabProvider{ProviderData: p}
4242}