May I ask how long will the refresh tokens expires?

I found our access tokens expired in one hour. So I want to use refresh tokens to get access token. But I don't kown how long will the refresh tokens expires。

The Bitbucket oauth url https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html

BestWishes

3 answers

Hi! smile

 

As said in the doc, 'refresh token that can then be used to generate a new access token'. So, the new token generated will expire in an hour too! smile 

"Our access tokens expire in one hour."


Damien.

the user authorization just temporarily effective or not? what I mean is we don’t have to authorize again right? And, another question is the refresh token can get the access token once without any other further operations?

see, how about the refresh token, any expire time exists for refresh token?

thx!

@Erik van Zijst worked on refresh token. He'll see your request. And will be more able to help you with this smile

They worked on a non-expiring API tokens, can't say if they released it or not...


Refresh token expire after one hour smile

the user authorization just temporarily effective or not? what I mean is we don’t have to authorize again right? And, another question is the refresh token can get the access token once without any other further operations?

0 vote

Refresh tokens do not expire.

Hi Erik, is it still the case? 

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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

26,415 views 26 12
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