Closed TanyaMykhnevych closed 3 weeks ago
I asked Azure Microsoft Suuport. They said that if you are using SingleSignOn Scope='Suppressed' it will not modify or generate an SSO cookie, this is by design as it will not use one in this situation as it is intended to prompt for authentication when switching journeys https://learn.microsoft.com/en-us/azure/active-directory-b2c/relyingparty#singlesignon.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
2.26.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.3.2
Public or Confidential Client?
Public
Description
I implemented Keep Me Signed In according to Microsoft doc: https://learn.microsoft.com/en-us/azure/active-directory-b2c/session-behavior?pivots=b2c-custom-policy#enable-keep-me-signed-in-kmsi. I have Suppressed SingleSignOn in my custom Azure AD B2C policy. I also have Angular SPA,it uses msal library. But it logs me out after 24 hours. When I change scope to Tenant , it works okay.
Also I noticed that sso cookie does not exist for Suppressed scope.
Error Message
No response
MSAL Logs
No response
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Expected Behavior
User is not prompted to login for 30 days.
Identity Provider
Azure B2C Custom Policy
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge
Regression
No response
Source
External (Customer)