The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need a simple OAuth token for a user.

David Kronenberg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2018

Trying to get a simple OAuth token to authenticate a python script running on a private server. I just need a static token I can put in my script. Everything I've found so far says I need to create an ApplicationLink, but I don't have a web application needed to create one, it's just a scipt that's going to be running on a cron job.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
MoroSystems Support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 1, 2018

Hi David,

I think JIRA is quite strict with these security rules, which is fine for me. It uses 3-legged authentication and you will need private and public certificate as I remember. Everything is described here in detail:

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/

I can see, there is simple python script which probably perform operations to get token using OAuth. It looks like it is quite old script but I'm not python developer so you'll see.

https://bitbucket.org/atlassian_tutorial/atlassian-oauth-examples/src/0c6b54f6fefe996535fb0bdb87ad937e5ffc402d/python/?at=default

Martin

TAGS
AUG Leaders

Atlassian Community Events