Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Azure Active Directory is being renamed to Microsoft Entra ID. No action is needed from you. For more information, see New name for Azure Active Directory.
Apply authentication for your search providers as required by your organization. If you authenticate using OAuth 2.0 with Microsoft Entra ID, you need the resource ID, client ID, and client secret from your configuration of Microsoft Entra ID authentication for your website. OAuth 2.0 only works with cloud mode.
The values of the resource ID, client ID, and client secret depend on your scenario.
Scenario 1: You're using the same application for the identity provider and the client app to access the website.
- The client ID and the resource ID are the application's application ID.
- The client secret is the secret that you generated in the app.
- After you configure the client app, make sure to create a new client secret in the app's Certificates and secrets settings.
Scenario 2: You're using different applications for the identity provider and the client app.
- The client ID is the application ID of the client app.
- The client secret is the secret that you generated in the client app.
- The resource ID is the application ID of the identity provider app.
Apply OAuth 2.0 authentication
Go to https://ms.portal.azure.com/.
From the site map, go to All services > App registrations > Owned applications and select yours.
In the Branding & properties tab, enter the Home page URL.
In the Authentication tab, select Add a platform.
Select Web.
If you use the user token that's sent by Azure for authentication, enter the Redirect URIs. Otherwise, this field is optional.
Select ID tokens (used for implicit and hybrid flows).
Select Configure.
In the Overview tab, copy the Application (client) ID.
In the Certificates & secrets tab, either enter the client secret provided in the Generated by App Service field or select New client secret to create one.
If you selected New client secret, enter the Description and select an expiration period in Expires.
Select Add.