Create a Whitelabel app for Microsoft products and log in with Microsoft

Modified on Sun, 29 Oct, 2023 at 5:14 AM

To read this in Portuguese,Click Here.



Register an application with the Microsoft Identity platform

Follow these steps to create the app registration:

1 – Sign in to the Azure portal.

2 – Click on App registrations

3 – Click the New Registration button

4 – On the screen to register your application, specify your Whitelabel name. The redirect URI is https://YOU_SUBDOMAIN/webhooks/auth.php

If your subdomain is app.example.com, the redirect URI will be https://app.example.com/webhooks/auth.php

5 – Go to Authentication and enable the option Access tokens and ID tokens like in the below image.

6 – Verify your domain (optional)

Please be aware that you don’t need to verify your subdomain. You only need to verify your domain.

This step is optional but highly recommended because if you don’t verify your domain, your users will see an “Unverified” message when they try to log in to your Whitelabel.

Click Configure a domain and follow the instructions.

Connect your Microsoft app to your Whitelabel

You must get the Application (client) ID and Secret to connect your App to your Whitelabel.


You can get the Client ID by going to the Overview page.

You can get the Secret by going to the Certificates & secrets page. Copy the After you create the secret,

Copy the secret value immediately after it was created because Microsoft will not show the value again.

Go to your Whitelabel Admin dashboard > Settings > Integrations > Login with Microsoft and click the Edit button.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article