-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include scope in
/oauth/authorize
URL (#26)
* Include scope in `/oauth/authorize` URL As described in Gitlab's guide[1], the parameter should be included, otherwise a default set of scopes will be granted, which seems to be just `read_user` and is not enough for Jenkins. According to the README, the plugin needs the `api` scope, so that's what we're explicitly requesting from Gitlab. [1] https://docs.gitlab.com/ee/api/oauth2.html#web-application-flow [JENKINS-63536] * Remove unneeded JavaDoc tags & document some return types
- Loading branch information
Showing
3 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters