Setup Guide for Azure B2C App

Step 1: Setup Azure Active Directory B2C as OAuth Provider

  • Sign in to Azure portal.
  • Create a new tenant : You can do so by following the below given steps:
    • Click on Create a resource.
    • Search for Azure Active Directory B2C.
    • azure-ad-new-1
  • Select and scroll down until you find an option to Create a new B2C Tenant without Subscription.
  • azure-ad-new-2
  • Select Create a new Azure AD B2C Tenant and enter the following data in their respective text fields:
    • Organization name
    • Initial Domain name
    • Select your Country or Region
    • azure-ad-new-3
  • Click on the Create button.
  • Once successfully Tenant is created, you will see a message Click here, to manage your new directory click on the link for further procedure.
  • azure-ad-new-4

    If Tenant / Directory already exists then skip creating new Tenant / Directory and choose existing Directory using the below steps.



  • Else you can click on Filter icon->All Directories ->Select directory you want to logged in.
  • azure-ad-new-5
  • Now search Azure B2C in search bar and select Azure AD B2C.
  • azure-ad-new-6.png
  • Click on Applications and then on Add option to add a new application.
  • azure-ad-new-6.png
  • Configure following options to create new application.
    • Enter a name for your application under the Name text field.
    • Select Yes from the options in front of Web APP and Yes from options in front of Allow Implicit Flow.
    • Copy Callback URL from the miniOrange OAuth Client plugin (Configure OAuth tab) and save it under the Reply URL textbox.
    • Click on the Create button to create your application.
    • azure-ad-new-7
  • Click on the Applications option under the Manage Menu in the left navigation bar and you will find your application listed there. Click on your application.
  • azure-ad-new-8
  • Copy your Application ID and save it under your Client ID textbox in your miniOrange OAuth Client plugin. Then, click on the Keys option to generate a key.
  • azure-ad-new-9
  • Click on the Generate Key option and enter key name and click on the Save option.
  • azure-ad-new-10
    • It will generate a random string which you will store as Client secret in your miniOrange OAuth Client plugin.
    • azure-ad-new-11.png
  • Now, go to your dashboard and go to Azure Active Directory -> Properties. Copy the Directory ID and substitute this value whenever you need to enter Tenant ID in miniOrange OAuth Client plugin.
  • azure-ad-new-12.png