[JIRA] (JENKINS-57351) Support authentication as GitHub App

4 views
Skip to first unread message

irc@webratz.de (JIRA)

unread,
May 7, 2019, 4:22:02 AM5/7/19
to jenkinsc...@googlegroups.com
Andreas Sieferlinger created an issue
 
Jenkins / New Feature JENKINS-57351
Support authentication as GitHub App
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: github-branch-source-plugin
Created: 2019-05-07 08:21
Priority: Minor Minor
Reporter: Andreas Sieferlinger

To my understanding currently the github-branch-source plugins always requires GitHub user credentials / tokens to authenticate.

I'd suggest to add authenticating Jenkins to GitHub as a GitHub App too.

Why is this better than the current way:

  • GitHub Apps can be granted very fine grained permissions
  • GitHub Apps can be added either to a whole org, or just to selected repos
  • The app uses a key pair to then get temporary credentials, so leaked creds to user are only valid for a short period of time
  • Higher API limits! (probably the most important one for bigger orgs)

This is specifically NOT about authenticating users against GitHub, but for Authenticating Jenkins itself against GitHub

References: https://developer.github.com/apps/differences-between-apps/

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages