Closed nikhil-mahirrao closed 4 years ago
This cannot be achieved from msal
. This has to be configured in app portal. As far as I know, accessToken
in implicit flow cannot be extended beyond an hour. @hpsin can you add anything here?
You need to use the policy that's described in the article, via powershell. There's nothing that indicates that implicit flow tokens can or cannot be edited, so I assume they can be.
How to config AccessTokenLifetime, MaxInactiveTime from AuthenticationContext ?
var authContext = new AuthenticationContext({ clientId: 'someId', postLogoutRedirectUri: 'someURL', redirectUri: 'someURI', });
As bellow link shows some more config params,
Configurable token lifetimes in Azure Active Directory: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes