开发者

Does DotNetOpenAuth OpenId Provider actually work?

Using DotNetOpenAuth. I'm trying to get the Provider endpoint to work. When I set a break point on the code to accept OpenId request:

IRequest request = OpenIdP开发者_Python百科rovider.GetRequest();

This returns null when I use a relying party to call the provider. I hosted the solution and its the same problem. I added localhost to the whitelist also.

But the point is, the request reaches the provider but it is saying that there was no openId request. Here is the provider endpoint, if you want to test it.


I think you may be confusing the "OP Identifier" or Claimed Identifier with the OP Endpoint. Your page claims to be an OP Endpoint, which it probably is. But no one can test that directly. You need to type an OpenID identifier into an RP to kick start the process, and that identifier tells the RP which OP Endpoint to talk to. So quite likely, if you're typing http://dev1.ncu.edu.jm/openid/provider into your RP, the RP is sending a discovery request to that URL and not seeing any identifier there.

Try pointing an Identifier to that OP Endpoint and passing that identifier to the RP instead.

Also, activating logging on the RP and OP will surely yield some helpful tips.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜