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 :
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 @Sunny Ape
Thanks. This was really useful. Here is the solution to refresh tokens for quick reference (for anyone who comes across this post)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.