How do I use LocalStorage with MSAL.js?
According to this, there's a property, cacheLocation, I need to set to 'localStorage'.
The following is still using sessionStorage:
var clientApplication = new Msal.UserAgentApplication(applicationConfig.clientID, applicationConfig.authority, function (errorDesc, token, error, tokenType) {
// Called after loginRedirect or acquireTokenPopup
});
clientApplication.cacheLocation = 'localStorage';