[JIRA] (JENKINS-60224) GiHub Oauth plugin requests permissions to user's private repos

4 views
Skip to first unread message

me@vitalykarasik.com (JIRA)

unread,
Nov 20, 2019, 5:17:08 AM11/20/19
to jenkinsc...@googlegroups.com
Vitaly Karasik created an issue
 
Jenkins / Improvement JENKINS-60224
GiHub Oauth plugin requests permissions to user's private repos
Issue Type: Improvement Improvement
Assignee: Sam Gleske
Components: github-oauth-plugin
Created: 2019-11-20 10:16
Environment: Jenkins version 2.190.1
github-oauth-plugin version 0.33
Priority: Minor Minor
Reporter: Vitaly Karasik

According to GitHub approval page, GiHub Oauth plugin requests permissions to the user's private repos. 
This seems irrelevant and prevents us from using this plugin.  
We couldn't find how to tweak these permissions.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

sam.mxracer@gmail.com (JIRA)

unread,
Nov 20, 2019, 1:54:03 PM11/20/19
to jenkinsc...@googlegroups.com
Sam Gleske closed an issue as Not A Defect
 

You can customize requested scopes in the OAuth application configuration in the Jenkins global security configuration.

The scopes we have as default are the minimum required for private repositories. However, you can further restrict the scopes to whatever you want by updating the requested scopes configuration.

This is also documented in the plugin documentation; see https://wiki.jenkins.io/display/JENKINS/GitHub+OAuth+Plugin#GitHubOAuthPlugin-SecurityRealminGlobalSecurity

< /td>
Change By: Sam Gleske
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages