Overview
The Microsoft integration provides access to Microsoft’s ecosystem of applications and services. This integration is essential for B2B scenarios where users need to access their work data and collaborate through Microsoft services.Configuration
1
Set up Azure account
2
Set up app in Microsoft
- Register an app in Azure using Microsoft’s Quickstart: Register an application with the Microsoft identity platform documentation.
- During this process, Microsoft will generate an Application (client) ID and a Client Secret for your application; make note of these.
3
Configure for Auth0
- Use the following settings when configuring your app:
- Redirect URI:
https://YOUR_AUTH0_DOMAIN/login/callback
You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains.
Add Connection in Auth0
In the Auth0 Dashboard, navigate to Authentication > Social and select Create Connection. Then, choose the matching connection from the list of supported options to add and begin the configuration process. Follow the prompts to configure your selected provider.Enable Connected Accounts for Token Vault
In the Purpose section, toggle on Use for Connected Accounts. This allows your connection to retrieve and securely store access tokens for external APIs. To learn more, read Connected Accounts for Token Vault.Account linking
If you want to use more than one connection for a user, you can link their accounts. This allows the user to log in with any of their linked accounts and have a single user profile in your application. This allows calling APIs from different providers with a single user profile. Learn more about Account linking.Learn more
- Auth0 stores the access and refresh tokens for each connected account in the Token Vault. Applications can then access the Token Vault to retrieve access tokens to call external APIs. To learn more, read Configure Token Vault.
- Learn how to get an access token to make a tool call by completing the Call other’s APIs on user’s behalf quickstart.