Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

OpenID 2.0 Relying Party Support Library with WSGI and Django support

Project Description

This library helps writing OpenID applications (a.k.a relying parties). See the documentation for further usage information. Bug reports should be sent to the bugtracker. The source code is maintained on bitbucket.

The main library is entire web-framework agnostic, and requires the application to store any persistent data needed for the relying party.

The package also includes a Django authentication module, which stores all necessary data; providing a user interface for logging in is still left to the application.

Furthermore, a WSGI middleware is also included which simplifies integrating OpenID into WSGI-based web frameworks. Again, all UI aspects are left to the application.


1.12 (2012-02-24):

  • Fix bug in Django plugin

1.11 (2011-11-25):

  • Implement direct verification (Jack Bates)
  • Wrap verification in verify function; deprecate authenticate()
  • Introduce symbolic error codes

1.10 (2011-09-01):

  • Fix Python 3 incompatibilities
  • Fix OpenID 1.1 incompatibilities in Django module
  • Fix Django 1.3 warnings in Django module

1.9 (2011-06-19):

  • Support XRI resolution

1.8 (2011-04-01):

  • Fix Django session management

1.7 (2010-09-17):

  • Add WSGI middleware

1.6 (2010-07-29):

  • Updated Django backend: session + nonce persistency, documentation, many bug fixes

1.5 (2010-07-27):

  • Make openid2rp a package, move testapp into that package.
  • Adding Django authentication backend (openid2rp.django)

1.4 (2010-07-20):

  • Fix AX requests.

1.3 (2010-07-16):

  • Add get_sreg. Deprecate get_username.
  • Specify that response parameters are always literal QUERY_STRINGs; parse_qs results are still supported for compatibility.
  • Split test application into separate file
  • Drop BeautifulSoup dependency, drop setuptools usage
  • Allow applications to request specific SREG and AX values

1.2 (2010-07-02):

  • port to Python 3

1.1.1 (2010-06-30):

  • Fix typo in DH usage
  • Add documentation to source distribution

1.1 (2010-06-30):

  • Drop reliance on M2Crypto
  • Add dependencies to
  • Switch to Sphinx

1.0 (2010-06-29):

  • Initial release
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
openid2rp-1.12.tar.gz (28.9 kB) Copy SHA256 Checksum SHA256 Source Feb 24, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting