[
https://issues.apache.org/jira/browse/OAK-10781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855844#comment-17855844
]
Tushar Rana edited comment on OAK-10781 at 6/18/24 9:33 AM:
------------------------------------------------------------
The access token obtained via the service principal is valid for only one hour.
To maintain seamless connectivity with Azure, a new token must be generated
before the current one expires.
Implement a token refresh executor to manage this process. The executor should
check the token's expiry status every minute and generate a new token when the
current token is close to expiring (i.e., less than 5 minutes remaining until
expiry).
was (Author: JIRAUSER302553):
Access token acquired via service principal is valid for 1 hour only. A new
token has to be generated before 1 hour for seamless connectivity with azure.
Add a token refresh executor that will check for token expiry every 1 minute
and generate a new token when current token is close to expiry (less than 5
minutes in current token expiry).
> Access Token refresh in oak-blob-cloud-azure
> --------------------------------------------
>
> Key: OAK-10781
> URL: https://issues.apache.org/jira/browse/OAK-10781
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Mohit Kataria
> Assignee: Amit Jain
> Priority: Major
> Fix For: 1.66.0
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)