[英]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 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.
如果您使用 v2 端点,请使用您在默认 scope 字段中为后端应用程序创建的 scope。 Also, make sure to set the value for the accessTokenAcceptedVersion property to 2 in your application manifest.
此外,请确保在您的应用程序清单中将 accessTokenAcceptedVersion 属性的值设置为 2。 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
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad#enable-oauth-20-user-authorization-in-the-developer-安慰
To configure the application manifest: Reference配置应用程序清单: 参考
For V2 endpoint set accessTokenAcceptedVersion to 2. That Specifies the access token,the version expected by the resource.对于 V2 端点,将 accessTokenAcceptedVersion 设置为 2。这指定了访问令牌,即资源所需的版本。
“accessTokenAcceptedVersion”: 2,
And yes the changes apply to the backend app.是的,这些更改适用于后端应用程序。 Refer
参考
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.