Azure Active Directory B2C (Azure AD B2C) is a customer identity access management (CIAM) solution that enables you to sign up and sign in your customers into your apps and APIs.
# MIRACL Trust Application setup
An application on the MIRACL platform is required for the external Identity Provider in the Azure AD B2C platform. Learn how to register a new app here.
Note that when creating an app in the MIRACL Trust Portal, you need to fill in the redirect URL, which Azure AD B2C and its Identity Provider pregenerates. It should look similar to
Note also you need to keep a copy of the
Client Secret Key. You need it to configure your custom Identity Provider. Learn more about App Keys here.
# User application in Azure AD B2C
As a prerequisite, you need to have a web application ready in Azure AD B2C. How to create one from scratch is described here.
# Configure custom IDP with OpenID Connect
A new Identity Provider needs to be created. To do so, look for the Identity
Providers section in the menu on the left. Then click
New OpenID Connect Provider. Detailed guide how to create a generic Identity
Provider in Azure AD B2C is
You need to populate the following fields with values as follows:
- Name - Fill in the desired name.
- Metadata URL -
- Client ID - Fill in the client ID you received from the MIRACL Trust Application setup.
- Client Secret - Fill in the client secret you received from the MIRACL Trust Application setup.
- Scope - fill in with
openid email profile(space separated values).
- Response type -
- Response mode -
- User ID -
- Display name -
# Configure User Flows
Next you need to create a User Flow for your authentication. How to do it is
You need to choose a
user flow type, select either
Sign up and sign in or
Sign up and
Sign in separately, depending of your requirements. Details in
the configuration are up to you. Here you need to specify the Identity Provider,
created in the previous step in the section
Custom identity providers of the