PBS UUA OpenId Consumer
Project description
Installation
pip install pbs-account-consumer
Configuration
After installing you need to add a couple of params to your settings.py file.
- Example param values:
OPENID_SSO_SERVER_URL = ‘https://account.pbs.org/cranky’
OPENID_CREATE_USERS = True
OPENID_UPDATE_DETAILS_FROM_SREG = True
OPENID_USE_AS_ADMIN_LOGIN = True
OPENID_ADMIN_LOGIN_TEMPLATE = None
LOGIN_REDIRECT_URL = ‘/’
Add the consumer app to the url routing.
- For example:
Add url(r’^openid/’, include(‘pbs_account_consumer.urls’) to urls.py in your project.
Add the proper authentication backend to your project.
Add AUTHENTICATION_BACKENDS = (…, ‘pbs_account_consumer.auth.OpenIDBackend’,) to settings.py.
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
File details
Details for the file pbs-account-consumer-1.1.tar.gz
.
File metadata
- Download URL: pbs-account-consumer-1.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 458ff5201789e58efb11c8b3b5a2d090eed421b2661b0ad20360c2292eaa9643 |
|
MD5 | b2731e7395b3215f5d7d1f4ec137cc03 |
|
BLAKE2b-256 | c3f61ccf20ea356740b452036b610f8a66fdba6fd0a3c4c09e45e5258f41a080 |