pyblosxom openid server

For the impatient:
  Download or openid_server-0.4.tar.gz
  OpenID home page
  PyBlosxom home page

Updated 2007-09-23. is a PyBlosxom plugin that implements OpenID 1.x and 2.0. OpenID is a distributed authentication protocol, ie a single sign on platform, that uses URLs as identifiers. If you have a PyBlosxom site, this plugin allows you to login anywhere that accepts OpenID.

This plugin also implements the Simple Registration Extension, which lets you optionally provide your name, email address, and other information automatically to sites that you log into with OpenID.

In OpenID terminology, this plugin acts as an an Identifer and Identity Provider. It provides an endpoint URL, handles OpenID requests on that endpoint, allows associations, and authenticates the user with an HTML form.

To use it, first download and install the Python OpenID libraries. Then, download and place it in your plugins directory. Finally, add this line to your flavour’s head template:

<link rel="openid.server"

If you want to use SSL, hard-code your base url, like so:

<link rel="openid.server"

Finally, add the openid_password (required) and openid_trigger (optional) config variables to your

py['openid_password'] = 'topsecret!'
py['openid_trigger'] = '/openid'

Et voila! You should be good to go. Try it out on a friendly neighborhood OpenID-enabled blog near you, like maybe Scott Kveton‘s.

You can also provide your name, email address, and other information to sites that you log into with OpenID, using the Simple Registration Extension. Just fill in any of these config variables in

py['openid_nickname'] = 'ryan'
py['openid_email'] = 'ryan'
py['openid_fullname'] = 'Ryan Barrett'
py['openid_dob'] = '1901-01-01'
py['openid_gender'] = 'M'
py['openid_postcode'] = '90001'
py['openid_country'] = 'US'
py['openid_language'] = 'EN-us'
py['openid_timezone'] = 'America/Los_Angeles'

Default HTML is included for the endpoint, login, and error pages. For your CSS styling pleasure, it uses divs with the classes openid-info, openid-login, and openid-error.

You can override the default HTML by adding openid-info, openid-login, and openid-error templates for your flavour of choice. Example templates for the html flavour are included in openid_server-0.4.tar.gz. is copyright 2006 Ryan Barrett, and is distributed under the GPL.

8 thoughts on “pyblosxom openid server

  1. i don’t know why but neither your comments nor server openid plugins are not working for me with registration extension … so i’ve slightly modified them and have such setup working with

Comments are closed.