SSO between 2 applications with AD B2C without prompt/redirection

Parimi, Satya 0 Reputation points
2023-08-11T06:12:00.2466667+00:00

With the same Azure tenant AD B2C and implemented Azure AD login using auth code flow, I have two SPA applications built with Angular (Web App Dashboard and User Details).

When User clicks on the 2nd application link in the first Web app (Web App Dashboard) I want to open in another tab Web App 2 (User Details) without logging in prompt using loginHint

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,486 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,194 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,511 Reputation points
    2023-08-11T22:14:35.16+00:00

    Hello @Parimi, Satya , by default Azure AD B2C is enabled for the whole tenant. Unless you force re-authentication appending the ?prompt=login parameter, SSO should work.

    Ensure SSO is tenant-wide enabled. For custom policies only, ensure ExternalLoginSSOSessionProvider is being used.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.


Your answer

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