[JIRA] (JENKINS-61976) OAuth2 Active Directory Access token does not work with Rest API

4 views
Skip to first unread message

mail@pdamonkey.com (JIRA)

unread,
Apr 20, 2020, 8:57:03 AM4/20/20
to jenkinsc...@googlegroups.com
Matthew Gallagher created an issue
 
Jenkins / Improvement JENKINS-61976
OAuth2 Active Directory Access token does not work with Rest API
Issue Type: Improvement Improvement
Assignee: Félix Belzunce Arcos
Components: active-directory-plugin
Created: 2020-04-20 12:56
Environment: Jenkins ver. 2.187
Priority: Minor Minor
Reporter: Matthew Gallagher

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?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages