Share via

MSALGUARD providing automatic SSO

Ahmad Mujeeb 10 Reputation points
2026-03-30T18:21:33.2966667+00:00

So with MSALGUARD, when I log in, my session is stored automatically. So in the future when I go to the same app I'm not forced to login again. Does that mean MsalGuard automatically does sso for you? I thought you needed to also use the ssoSilent function or acquireTokenSilentFunction as well?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID

1 answer

Sort by: Most helpful
  1. Rukmini 36,955 Reputation points Microsoft External Staff Moderator
    2026-03-30T18:54:34.56+00:00

    Hello Ahmad Mujeeb

    No, MsalGuard merely determines whether a session or account already exists and reuses it; it does not "do SSO" on its own. The guard uses MSAL's silent methods, such as acquireTokenSilent and ssoSilent, to actually accomplish SSO/token reuse.

    Let me know if any further queries - feel free to reach out!


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.