[JIRA] (JENKINS-51092) Two Factor Auth in Github Breaks Authentication for Github Organization

2020-03-30 Thread kusum....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 kusuma t commented on  JENKINS-51092  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Two Factor Auth in Github Breaks Authentication for Github Organization   
 

  
 
 
 
 

 
 Hi, From Jenkins when we use HTTPS to connect to GitHub using Username/Password option is failing. And from the Github documentation it is mentioned that  Authenticating on the command line using HTTPS After you've enabled 2FA, you must create a personal access token to use as a password when authenticating to GitHub on the command line using HTTPS URLs. When prompted for a username and password on the command line, use your GitHub username and personal access token. The command line prompt won't specify that you should enter your personal access token when it asks for your password.   Can you point to exact document if we can access HTTPS/SSH using 2FA without Personal access token   Thanks, Kusuma  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.190379.1525293379000.3006.1585583820255%40Atlassian.JIRA.


[JIRA] (JENKINS-51092) Two Factor Auth in Github Breaks Authentication for Github Organization

2020-01-27 Thread shah...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 shahar fermon commented on  JENKINS-51092  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Two Factor Auth in Github Breaks Authentication for Github Organization   
 

  
 
 
 
 

 
 hi Alex Gray - just checked and Liam Newman solution works great! and btw, Liam Newman maybe this issue can be closed?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.190379.1525293379000.6533.1580128500185%40Atlassian.JIRA.


[JIRA] (JENKINS-51092) Two Factor Auth in Github Breaks Authentication for Github Organization

2019-04-26 Thread bitwise...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Liam Newman commented on  JENKINS-51092  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Two Factor Auth in Github Breaks Authentication for Github Organization   
 

  
 
 
 
 

 
 You can still use two-factor auth login without using the access_token credential type.  As a workaround, you use username/password credential type and set the password to the access_key value instead of a password. NOTE: This is the same thing github documentation says to do when accessing github from the command-line with 2FA turned on.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51092) Two Factor Auth in Github Breaks Authentication for Github Organization

2019-02-05 Thread jel...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Zhelyan Panchev commented on  JENKINS-51092  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Two Factor Auth in Github Breaks Authentication for Github Organization   
 

  
 
 
 
 

 
 Any progress on this?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51092) Two Factor Auth in Github Breaks Authentication for Github Organization

2018-05-02 Thread gray...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Gray created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51092  
 
 
  Two Factor Auth in Github Breaks Authentication for Github Organization   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 jenkins.jpg  
 
 
Components: 
 github-branch-source-plugin  
 
 
Created: 
 2018-05-02 20:36  
 
 
Environment: 
 Jenkins ver. 2.107.2  GitHub Branch Source 2.3.3  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Alex Gray  
 

  
 
 
 
 

 
 We are enforcing Two Factor Authentication on all users in our GitHub Organization. When we enabled it, all of our Jenkins jobs were fine EXCEPT for our "Github Organization" jobs. It seems this plugin only support username/password creds, not id_rsa or access_tokens, which work fine with Two Factor Authentication. If you use username/access_token credentials, you get access denied: 

 


Started by user 
[Alex Gray|https://jenkins.clearcare.it/user/alex.gray]
java.io.FileNotFoundException: 
[https://api.github.com/]
	at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:243)
	at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
	at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25)
	at org.kohsuke.github.Requester.parse(Requester.java:612)
	at org.kohsuke.github.Requester.parse(Requester.java:594)
	at org.kohsuke.github.Requester._to(Requester.java:272)
Caused: