简体   繁体   中英

Detailed Setup for App Registration Endpoint Version 2

I followed the steps in the link below:

https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad

How to setup for the steps below? Please provide detailed steps.

If you use v2 endpoints, use the scope you created for the backend-app in the Default scope field. Also, make sure to set the value for the accessTokenAcceptedVersion property to 2 in your application manifest. https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad#enable-oauth-20-user-authorization-in-the-developer-console

To configure the application manifest: Reference

  1. Go to the Azure portal . Search for and select the Azure Active Directory service.
  2. Select App registrations.
  3. Select the app you want to configure.
  4. From the app's Overview page, select the Manifest section. A web-based manifest editor opens, allowing you to edit the manifest within the portal.

For V2 endpoint set accessTokenAcceptedVersion to 2. That Specifies the access token,the version expected by the resource.

“accessTokenAcceptedVersion”: 2,   

And yes the changes apply to the backend app. Refer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM