Has anyone tried to use Azure B2C for their external users through their own homegrown portal? We are running into issues trying to use OIDC as the protocol to secure it and have SSO work properly.  OIDC's security model is to restrict 3rd party initiated logins so once we have users login to our portal, and pass the tokens from our portal to another app, we get an issuer mismatch error from our apps and can't create an SSO login experience for our users.

1.9k viewscircle icon1 Upvotecircle icon2 Comments
Sort by:
VP of Engineering in Insurance (except health)2 years ago

We do not use azure b2c in our company – we use aws and okta - but it sounds like there's a configured trust missing. Depending how your team set it up the trust is missing either between different auth servers or missing policies across apps within an auth server. Sorry I don't have a better answer but I hope this helps!

Lightbulb on1
VP of Application Development in Finance (non-banking)2 years ago

This article uses a sample JavaScript single-page application (SPA) to illustrate how to add Azure Active Directory B2C (Azure AD B2C) authentication to your SPAs. https://learn.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-sample-spa-app

Also this may be helpful if they are using .NET https://learn.microsoft.com/en-us/entra/msal/dotnet/acquiring-tokens/desktop-mobile/social-identities 

Lightbulb on1

Content you might like

Ensuring business resiliency17%

Boosting revenue growth54%

Reducing costs17%

Accelerating innovation6%

Transforming your business model4%

View Results

18%

230%

338%

418%

54%

View Results
Read More Comments