我尝试在基于 this article 的 APIM 实例中实现 AAD和 this article 。不幸的是,当它进入开发者控制台时,在我选择授权代码作为授权方法后,立即出现一个弹出窗口,并向我显示以下错误:
AADSTS900144: The request body must contain the following parameter: 'scope'.
在https://login.microsoftonline.com/{目录(租户)ID 上失败
}/oauth2/v2.0/authorize?response_type=code&client_id={客户端id}&redirect_uri=https://{my-apim-instance}/docs/services/{授权方法}/console/oauth2/authorizationcode/callback&state={州}
。
由于所有这些都是 Azure 门户(此时为旧版开发人员门户)的一部分,因此我不填写范围参数。你如何设置该属性?还是其他地方有问题?
最佳答案
关于azure - AADSTS900144 : The request body must contain the following parameter: 'scope' when using legacy Developer Portal,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59826328/