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

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 Leaders.
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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events