【发布时间】:2011-08-04 22:56:23
【问题描述】:
我正在尝试使用 DotNetOpenAuth 实现 OpenId 提供程序。我正在一起使用他们的 2 个示例,一个 MVC 回复方和一个 MVC 提供者。
提供者托管在:http://localhost:4864/OpenId/Provider
依赖托管:http://localhost:54347/User/Login
我用谷歌 (https://www.google.com/accounts/o8/id) 尝试过,我通过了身份验证。当我尝试http://localhost:4864/OpenId/Provider。依赖方表示未找到 openId 端点。当我在提供程序上设置断点时,此代码返回 null:
IRequest request = OpenIdProvider.GetRequest()
所以当请求为空时的注释是这样的:No OpenID request was recognized. This may be a user that stumbled on the OP Endpoint.
所以我想我的问题出在提供商端。我需要做什么来解决这个问题?
【问题讨论】:
标签: asp.net-mvc openid dotnetopenauth