OpenID links error
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
精彩评论