Configure Microsoft Entra ID IdP in Azure AD B2C
1. In the Microsoft Azure portal, log in to a B2C tenant as the Global Administrator.
2. Under Azure services, click Azure AD B2C.
3. From the left pane, select Identity providers.
4. Click New OpenID connect provider.
5. On the Configure custom IDP page, enter details in the following fields:
◦ Name – Your identity provider’s name in Azure AD B2C.
◦ Metadata url – URL for the OpenID Connect discovery metadata document. The URL should start with "https://" and end with "/.well-known/openid-configuration".
◦ Scope – The value sent to the identity provider, specifying the requested level of claims and privileges.
◦ User ID – The claim in which the identity provider will return the unique value for each user.
◦ Display name – The claim in which the identity provider will return the user's display name.
◦ Given name – The claim in which the identity provider will return the user's given name (also known as the first name).
◦ Surname – The claim in which the identity provider will return the user's surname (also known as the family name or the last name).
◦ Email – The claim in which the identity provider will return the user's email address.
6. Click Save.