In this document, you'll learn how to set up multi-tenant authentication, configure login tiles for each tenant, and use client IDs and client secrets to enable seamless login across multiple Azure AD and B2C tenants.
Gather Necessary Configuration Information
Consumer Key
Consumer Secret
Step 1 – Set up Azure B2C Auth
Navigate to Oauth Servives
On the navbar, expand Apps and Authentication > SSO Connections and click OAuth / OpenID Connect.
Select the External OAuth Services tab and then search for AzureADB2C.
Click the Provider link for AzureADB2C.
The default configuration for B2C authentication will be displayed in the details page. let’s add a new auth provider Find the Add button, and click it to add a new authentication provider.
Name:
Display Name
Consumer Key
Consumer Secret
Is Identity Provider
Select existing Account Directory
Select existing OAuth Scope
Callback Url
Sender Identifier
Description
Click Save to save the changes.
Configure the B2C Tenant
Step – Add a Login Button for Azure Native Authentication
Expand Single Sign-On > SSO Connections on the navbar and click SSO Components.
Select the IdP Domains tab and click the IdP Domains link for the IDP Domain where you want the Login button to appear.
Select the External OAuth Providers tab and then the Azure B2C Authentication provider.