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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

338 views 3 11
Read article

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