Skip to main content

AzureB2C

๐Ÿ“ Descriptionโ€‹

This section details the configuration for the Azure B2C authentication provider.


๐Ÿงพ Fieldsโ€‹

#FieldTypeDescription
1authoritystringURL Authority of the Azure B2C tenant (including policy in query string), provided by the client.
2clientIdstringClient ID of the app registered in Azure B2C, provided by the client.
3redirectUristringRegistered URI in Azure B2C to redirect users after login. Must match: https://<client-configured-dns>/signin-oidc-b2c
4scopesarray of stringsRequested scopes. Possible values: openid, profile, phone
5responseTypearray of stringsOIDC response type (code or id_token). Default: id_token

๐Ÿ’พ JSON Exampleโ€‹

{
"azureB2C": {
"authority": "https://accounts.mytenant.com/mytenant.onmicrosoft.com",
"clientId": "00000000-0000-0000-0000-000000000000",
"policy": "B2C_1A_SIGNUP_SIGNIN",
"redirectUri": "https://imagonistshop.timeware.it/signin-oidc-b2c",
"scopes": [
"openid",
"profile",
"phone"
],
"responseType": "id_token"
}
}

๐Ÿ“š Official Documentationโ€‹

Microsoft Docs โ€“ Azure AD B2C with OpenID Connect