Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この記事に続いて、openid認証をasp.net4に統合しようとしています。記事に示されているように進めました。私が直面している問題は、openidログインリンクのみが機能することです。他のすべてのリンクはエラーを出します: Precondition failed.: userSuppliedIdentifier != null
Precondition failed.: userSuppliedIdentifier != null
ここにページをアップロードしました。また、ツールボックスのopenidセレクターは、私がここで尋ねたように機能しません。親切に返信してください。
次に、HandleRelyingPartyRequestメソッドで参照した例に従っている場合は、次の行を変更します。
var request = openid.CreateRequest(Request.Form ["openid_identifier"]); に
var request = openid.CreateRequest(Request.Form ["openid_username"]);
また、そのメソッドにある一般的な例外をすべて削除します。これで問題は解決するはずです。
ありがとう、ラジュ