open_id_authenticationを使ってOpenIDのフンイキを感じてみる
# sudo gem install ruby-openid # script/plugin install open_id_authentication
READMEが頼り。なんか不親切。
rails2.2.2では認証処理でエラーになった
undefined method `relative_url_root' for #<ActionController::CgiRequest:0x21dbf44>
rails2.1.1では動作した。
OpenId.ne.jpでもらえるようなhttpのOP Local Identifierでは動いたけど、mixiのようなhttpsのやつは証明書設定をちゃんとやらないとだめみたいだ。(エラーになった)