【问题标题】:"The reply URL specified in the request does not match the reply URLs configured for the application" using spring boot and Azure AD“请求中指定的回复 URL 与为应用程序配置的回复 URL 不匹配”使用 Spring Boot 和 Azure AD
【发布时间】:2021-03-21 19:45:33
【问题描述】:

我已经使用 spring boot 构建了应用程序,并遵循了与上面提到的完全相同的步骤 https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory

但我收到“请求中指定的回复 URL 与为应用程序配置的回复 URL 不匹配:'0eaef1b0-06fc-46af-b4db-beeab7b07069'。”错误。

非常感谢任何线索或帮助。

【问题讨论】:

标签: spring-boot azure-active-directory


【解决方案1】:

我以前回答过类似的问题。

不匹配的问题有一个通用的解决方案:

当您访问应用程序 url 时,您将被重定向到登录页面。解码授权请求URL,你会发现redirect_uri,复制redirect_uri的值并粘贴到Azure Portal,然后重试。

对于重定向URL,它应该以https开头,如果需要以http开头,则必须将其配置为http://localhost

【讨论】:

    猜你喜欢
    • 2021-12-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-25
    • 1970-01-01
    相关资源
    最近更新 更多