Deutsch English - UK English - US Español Français Italiano Português 中文 日本語 한국어
あるサイトで OpenID の使用を検討していて、備忘録をかねてブログにまとめててみようと思い記事にしてみました。 OpenID の基本的な用語説明と、OpenID 2.0 で新たに取り入れられた仕様についてまとめてみました。また、Python OpenID Library で用意されているサンプルのサーバーを動作させる方法について紹介してみたいと思います。 OpenIDに対応したサイトでユーザー登録したユーザーには、OpenID用のID(identifier:識別子)が割り当てられます。 ユーザー登録やパスワード管理などの機能を持たないサイトでは、ユーザーにこのOpenID用のIDを入力してもらい、 OpenIDの仕組みを使って安全にIDの認証と使用の認可の確認を行うことができます。 ユーザーは、認証サーバ側で認証機能を持たないサイトで、自分のアカウントが使用されることを許可する必要があ
wsgiauthはopenid認証にも対応してます。 そのまま使おうとしても足りないものがいくつか。 - python-openid - python-urljr - python-yadis 以上のモジュールが必要。 pypiに登録されてるのでeasy_installですぐ入れられます。 簡単な使い方 from wsgiauth.openID import openid @openid("/Users/aodag/openidstore") def app(environment, start_response): start_response("200 OK", [("Content-type", "text/html")]) return ["Hello, %s!" % environment["REMOTE_USER"]] port = 8000 httpd = make_serv
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く