Forums

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

When do JIRA oAuth tokens expire?

Kevin Dixon
Contributor
January 17, 2016

I've managed to create an Application link for my server-side application, and run through the oAuth dance and get access tokens. This all works fine, and I can use the tokens using the REST API.

However, I've read elsewhere that the tokens have a limited lifetime (e.g. https://answers.atlassian.com/questions/332492) that can be seen in http://<JIRA_URL>/plugins/servlet/oauth/users/access-tokens. However, with my Cloud installation of JIRA, there is no expiry listed on this page - just the date the name of the app, date granted, 'Read and Write access' and a button to revoke.

How can I tell what the token lifetime is?

1 answer

1 accepted

1 vote
Answer accepted
Andrew Frayling
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.
February 13, 2012
Hi Andi, have you tried setting JAVA_OPTS= -Djira.jelly.on=true in sentenv.sh and restarting JIRA? Instructions available at http://confluence.atlassian.com/display/JIRA/Jelly+Tags Andrew.
Ops Lead
Contributor
February 13, 2012

Thank you - ~jira/bin/setenv.sh seems to be the only one place for this config.

Andrew Frayling
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.
February 13, 2012

You're welcome. If my suggestion worked could you mark the question as correct.

Thanks,

Andrew.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events