Id token lifetime is by default 1 hour and you can use acquireTokenSilentAsync method to renew id tokens as long as AAD user session is active. If AAD session expires the token renewal will fail making you to have an interactive call for user sign-in. You can however configure user session and id token lifetime to make the user logged in by choosing "Keep me Signed-In" as documented here. You can also configure lifetime policy for id tokens as described here.
ID Token - Increase Timeout from Angular/MSAL
Kevin Azure
141
Reputation points
I am using Angular App with MSAL which Authenticate user through Azure AD
We are getting ID Token & Access Code in return.
BUT after 1 hour the ID Token is expiring.
Can I INCREASE the Timeout of ID Token at Client-side Or Server-side?
Please advice.