Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to extend or reduce access token time

Azfar Masut
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.
February 27, 2023

For the OAuth setup used on application link, how can I extend or reduce the access token time to live TTL ?

1 answer

1 accepted

3 votes
Answer accepted
Azfar Masut
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.
February 27, 2023

gotten this from support, thinking might be best to share with others:

as long as you're using OAuth authentication and not impersonating OAuth security for application links , you can lower the access token time to live to a value of your choosing, to do that set the startup argument bellow following
Setting properties and options on startup to a value you see fit for your security

-Datlassian.oauth.default.access.token.ttl=60000

If you set the value as in the example 60 000 milisecond , each time the remote application tries to access Jira for example to see a Jira ticket details from Bitbucket , a re-authentication for the user will be required if the last access was made more than 1 minute ago.

 

Be mindful to not use a low value such as 1 minute since it will irritate the users 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.15
TAGS
AUG Leaders

Atlassian Community Events