问题描述
我正在尝试在路由器上使用Azure Active Directory身份验证,但是Azure Portal中配置的重定向URL不接受HTTP协议,它必须是HTTPS协议.
I am trying to use Azure Active Directory authentication on a router but the redirection URLs that are configured in Azure Portal do not accept the HTTP protocol, it must be the HTTPS protocol.
我遵循了 PHP 基于 on REST 并用于 在localhost上进行测试可以正常工作,问题是当我尝试在路由器上进行操作时,使用Microsoft帐户登录后,显示为"AADSTS50011:请求中指定的回复uri没有使用安全方案". ;.如何配置应用程序 在Azure门户中以便可以使用HTTP? ,也就是说我的重定向URL是 http://< IP ROUTER>/< INDEX.PHP>
I followed the example of PHP based on REST and for tests on localhost it works fine, the problem is when I try to do it on a router, after signing in with a Microsoft account it shows me "AADSTS50011: The reply uri specified in the request isn't using a secure scheme.". How can I configure the application in Azure Portal so that I can use HTTP? , that is to say that my redirect URL is http://<IP ROUTER>/<INDEX.PHP>
注意:在文档中,我读到它不接受HTTP,但是我看到使用身份验证的网站以及它们使用的所有URL都是HTTP.
Note: In the documentation I have read that it does not accept HTTP, but I have seen websites that use authentication and all the URLs they use are HTTP.
推荐答案
这篇关于AADSTS50011请求中指定的回复uri没有使用安全方案.基于REST的PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!