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