Hanzo
PlatformHanzo IAMProvidersOAuth

Azure AD B2C OAuth

Add Azure AD B2C as an OAuth provider.

Azure AD B2C is a customer identity platform supporting OpenID Connect, OAuth 2.0, and SAML. Use it as an OAuth provider so users can sign in with B2C accounts.

Create a B2C tenant

Create a B2C tenant in the Azure Portal.

Register an application

In the B2C tenant, register an application and note the Application (client) ID.

azuread_register.png

Create a client secret

Create a client secret for the app and copy its value (it is shown only once).

azuread_secret.png

Add redirect URIs

In the app registration, add the Redirect URIs (e.g. your Hanzo IAM callback URL).

azuread_uri.png

Define user flows

In B2C, define user flows for sign-up, sign-in, and profile management as needed.

Add the provider in Hanzo IAM

ProvidersAdd. Set Category to OAuth, Type to Azure AD B2C. Enter the Client ID and Client secret from the B2C app.

azuread_iam.png

How is this guide?

Last updated on

On this page