Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48708

Username Password for OAuth based authentication

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major Major
    • swarm-plugin
    • None

      Many are using GitHub OAuath or other auth provider. It seems that this plugin only works with username/passoword.

      As with many auth providers its not possible to create a technical user  it is not possible to connect to master. It would be good if other connection option would be provided other then username/passowrd.

       

       

      This is the error that I get when trying to use the github username/password.

      // stacktrace when trying to log in with github username/password
      Dec 26, 2017 12:46:35 PM hudson.plugins.swarm.SwarmClient discoverFromMasterUrl
      
      SEVERE: Failed to fetch slave info from Jenkins, HTTP response code: 500
      
      Dec 26, 2017 12:46:35 PM hudson.plugins.swarm.Client run
      
      SEVERE: RetryException occurred
      
      hudson.plugins.swarm.RetryException: Failed to fetch slave info from Jenkins, HTTP response code: 500
      
      at hudson.plugins.swarm.SwarmClient.discoverFromMasterUrl(SwarmClient.java:233)
      
      at hudson.plugins.swarm.Client.run(Client.java:139)
      
      at hudson.plugins.swarm.Client.main(Client.java:112)
      
      
      
      

          [JENKINS-48708] Username Password for OAuth based authentication

          Vadimo created issue -
          Vadimo made changes -
          Summary Original: Username Password for OAuth based New: Username Password for OAuth based authentication
          Vadimo made changes -
          Description Original: We are using GitHub ouath, so we are not able to create a technical user that could connect. Is there an option to use an API Token or provide other forms of login that don require username/passowrd New: Many are using GitHub OAuath or other auth provider. It seems that this plugin only works with username/passoword.

          As with many auth providers its not possible to create a technical user  it is not possible to connect to master. It would be good if other connection option would be provided other then username/passowrd.

           

           

          This is the error that I get when trying to use the github username/password.
          {code:java}
          // code placeholder
          Dec 26, 2017 12:46:35 PM hudson.plugins.swarm.SwarmClient discoverFromMasterUrl

          SEVERE: Failed to fetch slave info from Jenkins, HTTP response code: 500

          Dec 26, 2017 12:46:35 PM hudson.plugins.swarm.Client run

          SEVERE: RetryException occurred

          hudson.plugins.swarm.RetryException: Failed to fetch slave info from Jenkins, HTTP response code: 500

          at hudson.plugins.swarm.SwarmClient.discoverFromMasterUrl(SwarmClient.java:233)

          at hudson.plugins.swarm.Client.run(Client.java:139)

          at hudson.plugins.swarm.Client.main(Client.java:112)



          {code}
          Vadimo made changes -
          Description Original: Many are using GitHub OAuath or other auth provider. It seems that this plugin only works with username/passoword.

          As with many auth providers its not possible to create a technical user  it is not possible to connect to master. It would be good if other connection option would be provided other then username/passowrd.

           

           

          This is the error that I get when trying to use the github username/password.
          {code:java}
          // code placeholder
          Dec 26, 2017 12:46:35 PM hudson.plugins.swarm.SwarmClient discoverFromMasterUrl

          SEVERE: Failed to fetch slave info from Jenkins, HTTP response code: 500

          Dec 26, 2017 12:46:35 PM hudson.plugins.swarm.Client run

          SEVERE: RetryException occurred

          hudson.plugins.swarm.RetryException: Failed to fetch slave info from Jenkins, HTTP response code: 500

          at hudson.plugins.swarm.SwarmClient.discoverFromMasterUrl(SwarmClient.java:233)

          at hudson.plugins.swarm.Client.run(Client.java:139)

          at hudson.plugins.swarm.Client.main(Client.java:112)



          {code}
          New: Many are using GitHub OAuath or other auth provider. It seems that this plugin only works with username/passoword.

          As with many auth providers its not possible to create a technical user  it is not possible to connect to master. It would be good if other connection option would be provided other then username/passowrd.

           

           

          This is the error that I get when trying to use the github username/password.
          {code:java}
          // stacktrace when trying to log in with github username/password
          Dec 26, 2017 12:46:35 PM hudson.plugins.swarm.SwarmClient discoverFromMasterUrl

          SEVERE: Failed to fetch slave info from Jenkins, HTTP response code: 500

          Dec 26, 2017 12:46:35 PM hudson.plugins.swarm.Client run

          SEVERE: RetryException occurred

          hudson.plugins.swarm.RetryException: Failed to fetch slave info from Jenkins, HTTP response code: 500

          at hudson.plugins.swarm.SwarmClient.discoverFromMasterUrl(SwarmClient.java:233)

          at hudson.plugins.swarm.Client.run(Client.java:139)

          at hudson.plugins.swarm.Client.main(Client.java:112)



          {code}
          Oleg Nenashev made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ]
          Basil Crow made changes -
          Issue Type Original: Improvement [ 4 ] New: New Feature [ 2 ]
          Basil Crow made changes -
          Link New: This issue duplicates JENKINS-17144 [ JENKINS-17144 ]
          Basil Crow made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            vadimo Vadimo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: