【发布时间】:2014-11-12 09:05:00
【问题描述】:
我正在尝试在我的 asp.net Web 应用程序中使用实时 ID 身份验证。 我按照以下帖子中的步骤进行操作
在本地主机中创建应用程序和设置域工作正常。 在应用设置中设置重定向 url 是一个问题。当我运行应用程序时,它会提示错误
“为输入参数“redirect_uri”提供的值无效。 预期值为 'https://login.live.com/oauth20_desktop.srf' 或与为此客户端应用程序注册的重定向 URI 匹配的 URL。"
我试过“http://www.mysampleapp.com/Account/ExternalLoginCallback”和“http://www.mysampleapp.com/signin-microsoft”。以及它不起作用的网址。 (mysampleapp 是我在本地托管的 url)
当我点击外部身份验证部分中的“Microsoft”时,我会被定向到以下网址
"https://login.live.com/err.srflc=1033#error=invalid_request&error
_description=The%20provided%20value%20for%20the%20input%20parameter%20'redirect_uri'%
20is%20not%20valid.%20The%20expected%20value%20is%20'https://login.live.com/oauth20_desktop.srf
'%20or%20a%20URL%20which%20matches%20the%20redirect%20URI%20registered%20for
%20this%20client%20application."
有什么办法可以查到网址吗?
【问题讨论】:
标签: asp.net-mvc