You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ACR uses oauth2 and gets refresh token and access token.
A refresh token is obtained with AAD token and cached in memory. It's the same for the repository.
We get access token on each request using a refresh token. The access token is scoped to specific actions and repository. It's valid (currently) for about an hour.
It's safe and doable to cache access token (either per action + client instance or bluntly once) and only refresh it on 401.
this is not blocking GA.
The text was updated successfully, but these errors were encountered:
ghost
added
the
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
label
Mar 1, 2023
Library name
Azure.Containers.ContainerRegistry
Please describe the feature.
ACR uses oauth2 and gets refresh token and access token.
A refresh token is obtained with AAD token and cached in memory. It's the same for the repository.
We get access token on each request using a refresh token. The access token is scoped to specific actions and repository. It's valid (currently) for about an hour.
It's safe and doable to cache access token (either per action + client instance or bluntly once) and only refresh it on 401.
this is not blocking GA.
The text was updated successfully, but these errors were encountered: