gpt4 book ai didi

Azure 应用服务错误 : Reply URL specified in the request does not match the reply URLs configured for the application

转载 作者:行者123 更新时间:2023-12-03 02:41:10 27 4
gpt4 key购买 nike

当我运行部署到 Azure 应用服务的应用程序时,出现此错误 请求中指定的回复 URL 与为应用程序配置的回复 URL 不匹配。快把我逼疯。我不知道回复 URL 应该是什么。

最佳答案

当真实的redirect_uri 与Azure 门户中的回复URL 不匹配时,通常会发生此错误。您可以跟踪 auth 请求 url 以找到真正的redirect_uri。请求网址类似于

https://login.microsoftonline.com/{tenant}/oauth2/authorize? client_id=6731de76-14a6-49ae-97bc-6eba6914391e &response_type=code &redirect_uri=http%3A%2F%2Flocalhost%3A12345 &response_mode=query &resource=https%3A%2F%2Fservice.contoso.com%2F &state=12345

您将在登录页面中找到请求 URL。

enter image description here

只需获取请求 URL 中的 redirect_uri,确保它与您在 Azure 门户中配置的相同。

关于Azure 应用服务错误 : Reply URL specified in the request does not match the reply URLs configured for the application,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61234731/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com