OAuth - how long can I use an access token for using REST API

Loi Cao June 4, 2013

Hi,

From my application, I don't want to ask user for re-login each time him use the application.

Can I store access token for re-use? how long is it expired?

Thanks,

1 answer

1 accepted

1 vote
Answer accepted
Timothy
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.
June 4, 2013

I can't remember how long the token will last for but you should have a fallback to the reauthorization if it fails.

Loi Cao June 5, 2013

Thank you so much . . . Timothy

Farhan Jaleel December 2, 2013

@Timothy I dont exactly get what you meant by saying 'should have a fallback to the reauthorization'. By saying this do you mean, if access token expires one should reauthorize( get the request token, authorize and swap it with new access token ) ?

I want to ask if jira REST api support refresh token through which new access token can be retrieved.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events