OpenID Client for applications using IX Profile servers
Project description
==============
IXOpenIDClient
==============
Library package for Django applications using the IX Profiles OpenID server
for authentication.
This package extends and requires django-openid-auth library.
https://launchpad.net/django-openid-auth
Settings
--------
This library supports all settings available in the django-openid-auth
library but introduces a new one that must be set to activate this library:
OPENID_SSO_IXPROFILES = True
In addition, the following settings should be used:
* OPENID_CREATE_USERS = False
* OPENID_UPDATE_DETAILS_FROM_SREG = True
* OPENID_USE_AS_ADMIN_LOGIN = True
These settings will in order:
* Prevent users of one ix openid based application from getting automatic
to your application
* Allow the OpenID server to update user profile information
* Require OpenID login for the django admin area, providing consistent access
You will also need to set the following to the correct urls for the
particular iX profiles server instance your application will be using:
* OPENID_SSO_SERVER_URL = '<url for server xrds>'
* OPENID_SSO_SERVER_PROFILE_ROOT = '<root url for user profiles'>
Functionality Provided
----------------------
User Management
===============
Simplifies user management by hooking into django user admin:
* Removes the password field. All passwords are set to unusable
* Automatically generates UserOpenId object for the user based on
the OPENID_SSO_SERVER_PROFILE_ROOT setting.
Dependencies
------------
* Django: Might work on older versions but was developed for 1.3.0.
* django-openid-auth which supplies the real functionality. This one
has to be => 0.4 as some of the settings used are not available before
that version.
* pep8 and pylint: Not required for functionality but we like QC before
committing any code changes so these tools need to be available. Note that
if you'd like to contribute, any code you write must give a clean output with
pep8 and score 10/10 with pylint using the configuration file
conf/pylint.conf in the package
IXOpenIDClient
==============
Library package for Django applications using the IX Profiles OpenID server
for authentication.
This package extends and requires django-openid-auth library.
https://launchpad.net/django-openid-auth
Settings
--------
This library supports all settings available in the django-openid-auth
library but introduces a new one that must be set to activate this library:
OPENID_SSO_IXPROFILES = True
In addition, the following settings should be used:
* OPENID_CREATE_USERS = False
* OPENID_UPDATE_DETAILS_FROM_SREG = True
* OPENID_USE_AS_ADMIN_LOGIN = True
These settings will in order:
* Prevent users of one ix openid based application from getting automatic
to your application
* Allow the OpenID server to update user profile information
* Require OpenID login for the django admin area, providing consistent access
You will also need to set the following to the correct urls for the
particular iX profiles server instance your application will be using:
* OPENID_SSO_SERVER_URL = '<url for server xrds>'
* OPENID_SSO_SERVER_PROFILE_ROOT = '<root url for user profiles'>
Functionality Provided
----------------------
User Management
===============
Simplifies user management by hooking into django user admin:
* Removes the password field. All passwords are set to unusable
* Automatically generates UserOpenId object for the user based on
the OPENID_SSO_SERVER_PROFILE_ROOT setting.
Dependencies
------------
* Django: Might work on older versions but was developed for 1.3.0.
* django-openid-auth which supplies the real functionality. This one
has to be => 0.4 as some of the settings used are not available before
that version.
* pep8 and pylint: Not required for functionality but we like QC before
committing any code changes so these tools need to be available. Note that
if you'd like to contribute, any code you write must give a clean output with
pep8 and score 10/10 with pylint using the configuration file
conf/pylint.conf in the package
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
IXOpenIDClient-0.1.0.tar.gz
(4.2 kB
view details)
File details
Details for the file IXOpenIDClient-0.1.0.tar.gz
.
File metadata
- Download URL: IXOpenIDClient-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4909180cef87a8a02cbf3f3dbaadfb97fe0de4ae4da0b9246669d90b62cfd51a |
|
MD5 | f3a2fd15e13d9e4e26bb8b89f322a881 |
|
BLAKE2b-256 | 78f09ecce2011143806d2ae71649d49da818cf4988e752c95d55566f8ccec8b0 |