Skip to content

Reduce GitLab oauth's scope from api (full access) to read_user #17954

@alikhajeh1

Description

@alikhajeh1

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 is Read-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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions