'Can we use B2C login/signup plus(+) SSO in a single application?
I have an requirement to use B2C for user login/signup and then use/implement SSO(signle-sign on) to validate that the user is came from valid Azure Active Directory(AD). Is it possible to implement this flow in single web application???, Any help will be appreciated.
Solution 1:[1]
Is it possible to implement this flow in single web application?
Yes, it is possible to implement login/signup and SSO in Azure AD B2C by following the below steps:
Azure Active Directory B2C offers two methods to define how users interact with your application:
- predefined user flows and
- through fully configurable custom policies.
With single sign-on, users sign in once with a single account and get access to multiple applications. The application can be a web, mobile, or single page application, regardless of platform or domain name.
When the user initially signs in to an application, Azure AD B2C persists a cookie-based session. Upon subsequent authentication requests, Azure AD B2C reads and validates the cookie-based session, and issues an access token without prompting the user to sign in again.
If the cookie-based session expires or becomes invalid, the user is prompted to sign-in again.
Refere this document for complete information about how to configure session in Azure AD B2C
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | RajkumarMamidiChettu-MT |
