OAuth 1.0A refresh token API

Hi,

is there jira-cloud refresh token API? I see that user should be able to revoke oauth token from user interface Profile->View OAuth Access Tokens. This currently throws NullPointerException so i can't test the revoke feature.

 

java.lang.NullPointerException
at com.atlassian.oauth.serviceprovider.internal.servlet.user.AccessTokensServlet.parseUriFromDescription(AccessTokensServlet.java:189) [?:?]
at com.atlassian.oauth.serviceprovider.internal.servlet.user.AccessTokensServlet.access$000(AccessTokensServlet.java:32) [?:?]
at com.atlassian.oauth.serviceprovider.internal.servlet.user.AccessTokensServlet$TokenRepresentation.<init>(AccessTokensServlet.java:109) [?:?]
at com.atlassian.oauth.serviceprovider.internal.servlet.user.AccessTokensServlet$1.apply(AccessTokensServlet.java:207) [?:?]

 

What is the correct flow of token in jira-cloud? I mean the access token is valid for 5years (and there is no refresh api), but can be also revoked. If the revoke scenario happen (or expiration) i have to do whole oauth dance again?

 

Thanks & best regards,

 

Martin

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

169 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you