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 votes

Refresh tokens do not expire.

Hi Erik, is it still the case? 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

695 views 5 9
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