This Sample ASP.NET Core 2.0 Web app demonstrate to authenticate users using Azure AD B2C with default tenant domain account or other social identities.
-
Azure Portal: Create Active Directory B2C tenant
-
Azure Portal: Add new application in AD
-
Azure Portal: Add policiy to "Sign-up or sign-in policies", "Profile editing policies", "Sign-up policies", "Sign-in policies".
-
Azure Portal: Set reply url for each policy to handle OIDC redirects
-
Azure Portal: Add identity provider such as Google, Microsoft, Facebook and Twitter.
-
ASP.NET Core web app: Add Cookie middleware
-
ASP.NET Core web app: Implement Sign out end point
-
ASP.NET Core web app: Add user profile editing.
-
Create an Azure Active Directory B2C tenant in the Azure portal
-
Azure Active Directory B2C: Provide sign-up and sign-in to consumers with Google+ accounts
-
Azure Active Directory B2C: Provide sign-up and sign-in to consumers with Microsoft accounts
-
Azure Active Directory B2C: Provide sign-up and sign-in to consumers with Twitter accounts
-
Azure Active Directory B2C: Provide sign-up and sign-in to consumers with Facebook accounts