Is it possible to use the OAuth access token from a job?

11 views
Skip to first unread message

Dan Finucane

unread,
Aug 8, 2020, 4:25:02 PM8/8/20
to Jenkins Users

We are using the Bitbucket Oauth plugin.  I'd like to do the bitbucket related work of a job using the access token of the logged on user who invoked the job.  Is that possible?  I see that the plugin is getting the access token and storing it but I don't know if its possible to make use of that token in a job with that plugin.
If I had the access token I would for example use it to invoke a bitbucket pipelines job on behalf of the logged on user.

Thanks

dan
Reply all
Reply to author
Forward
0 new messages