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

OAuth2 Active Directory Access token does not work with Rest API

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins ver. 2.187

      I currently use the Rest API's to access jobs and other information on Jenkins.  However, I would like to use Active Directory to secure the Jenkins box.  The only way to access the API with AD turned on is through an API token, but the only way I can find to generate this is either through the website or with the API if I already have a token.  

       

      I can retrieve the OAuth2 credentials including the Access Token, but this does not appear to work with the API.  Is there a way to allow this Access Token to generate an API key for the user?

            fbelzunc Félix Belzunce Arcos
            pdamonkey Matthew Gallagher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: