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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

649 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot