Xamarin.Forms - AzureADB2CAuth
This sample demonstrates how to use Microsoft Authentication Library and Azure Active Directory B2C to integrate consumer identity management into a mobile application.
For more information about this sample see Authenticating Users with Azure Active Directory B2C.
Setting up an Azure Active Directory B2C Tenant
In order to run this sample application an Azure Active Directory B2C tenant must be created and configured, as follows:
- Create an Azure Active Directory B2C tenant. For more information, see Create an Azure AD B2C tenant on the Azure documentation center.
- Register your mobile application with the Azure Active Directory B2C tenant. The registration process assigns an Application ID that uniquely identifies your application, and a Redirect URL that can be used to direct responses back to your application. For more information, see Register your application on the Azure documentation center.
- Create a sign-up and sign-in policy. This policy will define the experiences that consumers will go through during sign-up and sign-in, and the contents of tokens the application will receive on successful sign-up or sign-in. For more information, see Extensible policy framework on the Azure documentation center.