Skip to main content

OpenID Whitelist application for Django

Project description

django-openid-whitelist offers an easy way to keep your projects private.

After installation add your OpenID to the whitelist. With this OpenID it is possible to add another OpenID. If not disabled, each whitelisted OpenID can be used to whitelist more IDs.

For example - if there is OpenID A, with A it is possible to add OpenID B. Then with B it is possible to add another OpenID and so on.

It’s pretty intuitive to use this application.

Requirements

  • django >= 1.0

  • python-openid

Installation

  • install (for example easy_install django-openid-whitelist)

  • install python-openid

  • add ‘whitelist’ to your INSTALLED_APPS

  • run syncdb

  • include whitelist.urls (for example - url(r’^whitelist/’, include(‘whitelist.urls’))

  • form then accessible at whitelist/start

Simple form style whitelist_style.css included in whitelist/media installation directory.

Usage

To verify OpenID use whitelist-check and whitelist-check-json views. To add OpenID use whitelist-start. (names in quotes are named urls - simply use {% url whitelist-start %} in your template)

Also check view documentation in django admin.

Optional settings

OPENID_TRUST_ROOT

Trust root for the OpenID Request. Defaults to the base URL of your page.

OPENID_DISALLOW_INAMES

Disallow personal i-names. Defaults to false

Compatible with

TracAuthOpenid

Add check_list and check_list_key to your [openid] section in trac.ini. check_list has to point to whitelist-check-json view. Set check_list_key to whatever you like (openid for example).

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

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

Source Distribution

django-openid-whitelist-0.3.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file django-openid-whitelist-0.3.tar.gz.

File metadata

File hashes

Hashes for django-openid-whitelist-0.3.tar.gz
Algorithm Hash digest
SHA256 bace4846d4326dc71d4a05865be209d5ed611f21290dc095ce333289bc1ff17f
MD5 31943ed1925dcf381eb6f6ada13e24d1
BLAKE2b-256 aee9919b23355d3bfbc74c5abca58ee5d438a14e5c756cb24da89f0baf38d8cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page