“请求中指定的回复 URL 与为应用程序配置的回复 URL 不匹配"使用 Spring Boot 和 Azure AD [英] "The reply URL specified in the request does not match the reply URLs configured for the application" using spring boot and Azure AD

查看:27
本文介绍了“请求中指定的回复 URL 与为应用程序配置的回复 URL 不匹配"使用 Spring Boot 和 Azure AD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用 spring boot 构建了应用程序,并遵循了上面提到的完全类似的步骤

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

I have build the application using spring boot and followed exact similar steps mentioned on https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory

but I am getting "The reply URL specified in the request does not match the reply URLs configured for the application: '0eaef1b0-06fc-46af-b4db-beeab7b07069'." error.

Any leads or help is much appreciated.

解决方案

I have answered similar questions before.

There is a general solution to the problem of not match:

When you visit the application url , you will be redirected to the login page. Decode the authorization request URL, you will find redirect_uri, copy the value of redirect_uri and paste it into the azure portal, and try again.

For the redirect URL, it should start with https, if you need to start with http, you must configure it as http://localhost.

这篇关于“请求中指定的回复 URL 与为应用程序配置的回复 URL 不匹配"使用 Spring Boot 和 Azure AD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆