Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I increase the Expiry time for my OAuth Token?

We're using an SSO to login our users to Jira and we're also using a custom portal that fetches issues from Jira. It does it by An Auth token that is received from the 3LO Auth code grant flow. ( Reference -01 ).

The Auth token I'm receiving is working as expected, but It's only valid for 3600 seconds by default. How can I increase the expiry time to a custom time of expiry. If it's not possible, How can I refresh this token without forcing my users to go through the same 3LO process of authenticating my app again. 

Authenticating my users every hour for an Auth token does not look like a good solution. Is there a solution that helps the user on my custom portal access their issues, with holding the token for a longer period? 

Token Details : 

{ 
access_token: {my_access_token},
scope: 'read:jira-work read:jira-user',
expires_in: 3600, // This is only 3600s. How can I increase this time?
token_type: 'Bearer'
}



References :

1. Community Question

2. Implementing 3LO

1 answer

1 accepted

1 vote
Answer accepted

Hello @Raghav Mishra 

It sounds like you're using the access token, not the refresh token. This topic is covered in a number of other threads, such as this one:

Hey @David Bakkers 
Thanks. This was really useful. Here is the solution to refresh tokens for quick reference  (for anyone who comes across this post) 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Confluence

Product feedback on Inline Comments

Hello Community members! We have an upcoming research study for Confluence and we’d like to invite you to provide advice and answer questions. We’re developing a new experience for Inline Comment...

85 views 7 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you