Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Issue: Refresh token expires along with Access Token thus preventing from getting a new Access Token

Giri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Nov 02, 2023

Hello Team,

Please review:

1. The Refresh token expiry is given as 90 days in the documentation but if I try to get a new access token after an hour it fails. Is the expiry time correct?

2. Is there a way to increase the expiry period of a RT?

3. I am able to use the RT multiple time in the 1 hour period is this an expected behavior?

4. Is there a change in expiry period for old RTs after a new RT is generated?

5. In my current setup I have configured the OAuth in two places (one in a 3 rd party product and another in Postman) do you think this might have cause the issue?

 

Thank you all in advance for any help on guidance.

1 answer

0 votes
Murat Seven
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 02, 2023 • edited

Hi @Giri and welcome to the Community! 

 

I might not be the best person to answer this question, but in my knowledge;

1- In Jira Cloud, Refresh tokens don’t expire so please make sure you store them very securely. And yes, the expiry time is correct. 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!

 

2- There is no way to extend the life of an access token.

 

3- This is an expected behavior.

 

4- No, the expiry period for old RT remains the same.

 

5- I'm not sure about the source of the issue you're facing. However, using it in two different places shouldn't cause a problem.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events