In our Azure AD B2C Sign Up policy settings, we have the Web App Session Life Time.
Even though it's set to the maximum (ie 1440 minutes), I saw that the x-ms-cpim-sso:myApp.onmicrosoft.com_0 is set to "When the browsing session ends" when I explored in Chrome. I think due to this, when I close all Chrome browser tabs, and when I come back to my SPA, it redirects to the login page again.
Is it the default behavior when I use MSAL.JS in an SPA? Any way to set it to "Never expire" apart from using KMSI? I want to keep my users always signed in.
Already checked SPA App Azure B2C Authentication with MSAL. Keep user logged in