“请求中指定的回复 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
问题描述
我已经使用 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屋!