You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-07-15 01:44:22 +02:00
Reduce the default GitLab scope
This commit is contained in:
@ -36,7 +36,7 @@ func NewGitLabProvider(p *ProviderData) *GitLabProvider {
|
||||
}
|
||||
}
|
||||
if p.Scope == "" {
|
||||
p.Scope = "api"
|
||||
p.Scope = "read_user"
|
||||
}
|
||||
return &GitLabProvider{ProviderData: p}
|
||||
}
|
||||
|
Reference in New Issue
Block a user