Skip to content

Refreshing tokens before they expire #1125

Answered by jmprieur
scsloan asked this question in Q&A
Discussion options

You must be logged in to vote

If you extended the token lifetime (https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes), MSAL.NET (used by Microsoft.Identity.Web) will proactively refresh the token as explained in Pro-Active Token renewal.

This happens based on Azure AD's guidance which emits an optimized date for refresh (the refresh-in).

@scsloan : does it work for you, or do you need more control?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@scsloan
Comment options

Answer selected by scsloan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants