Reduce GitLab oauth's scope from api (full access) to read_user #17954
Labels
area/security
component/auth
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
priority/P2
sig/security
Currently the GitLab oauth implementation uses the
api
scope, which results in users seeing this from GitLab:Full access to GitLab as the user, including read/write on all their groups and projects
.GitLab introduced
read_user
in version 8.15, which seems better suited for this purpose, the description of the scope isRead-only access to the user's profile information, like username, public email and full name
. I think that would make it similar to what Origin does for GitHub.Version
oc v3.6
The text was updated successfully, but these errors were encountered: