开发者

OpenID links error

开发者 https://www.devze.com 2023-03-11 15:45 出处:网络
I am trying to integrate openid authentication in asp.net 4 following this article. I have proceeded as was demonstrated in the article. The problem i face is t开发者_运维问答hat only openid login lin

I am trying to integrate openid authentication in asp.net 4 following this article. I have proceeded as was demonstrated in the article. The problem i face is t开发者_运维问答hat only openid login link works. All other links gives an error: Precondition failed.: userSuppliedIdentifier != null

I have uploaded the page here. Also the openid selector from the toolbox doesn't work as i have asked here. Kindly reply.


If you are following the example you referred to then in method HandleRelyingPartyRequest, change this line:

var request = openid.CreateRequest(Request.Form["openid_identifier"]); to

var request = openid.CreateRequest(Request.Form["openid_username"]);

and also remove any general exception you have in that method. That should resolve the issue.

Thanks, Raju

0

精彩评论

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