请求指定的回复地址“"不是有效的网址 [英] Reply address '' specified by the request is not a valid URL

查看:100
本文介绍了请求指定的回复地址“"不是有效的网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已遵循

I have followed the Azure Active Directory B2C: Sign in by using Azure AD accounts article but currently receiving an error:

AADSTS50011:请求指定的回复地址"不是有效的URL.使用Azure AD和Azure AD B2C帐户登录时.

AADSTS50011: Reply address '' specified by the request is not a valid URL. When logging in with both Azure AD and Azure AD B2C accounts.

我已多次跟踪该文章,但无法解决.似乎可以正确重定向到应用程序注册,但似乎是应用程序注册的回复URL的问题,就像我删除此回复URL时一样,我收到一条错误消息,指出不存在回复URL.

I have followed the article through multiple times but have been unable to resolve. It seems to redirect to the App registration correctly but seems to be an issue with the reply URL of the app registration as if I remove this reply URL I get an error stating that no reply URL is present.

推荐答案

此错误:

AADSTS50011:请求指定的回复地址"无效 网址.允许的方案:"*"

AADSTS50011: Reply address '' specified by the request is not a valid URL. Allowed schemes: '*'

是AAD方面的错误,它隐藏了真正的错误,即您的回复URL不匹配. 我会仔细检查AAD端(v1多租户应用程序,而不是B2C应用程序)的答复URL是否为:

Is a bug on the AAD side that hides the real error which is that your reply URLs don't match. I would double check that the reply URL on the AAD side (the v1 multi-tenant app, not the B2C app) is:

https://login.microsoftonline.com/te/YOURTENANT.onmicrosoft.com/oauth2/authresp

请确保将上面的YOURTENANT替换为您的租户名称.

此外,请仔细检查您的设置:

Also, double check that you are setting:

<Item Key="UsePolicyInRedirectUri">false</Item>

这篇关于请求指定的回复地址“"不是有效的网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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