Skip to main content

PBS UUA OpenId Consumer

Project description

Installation

pip install pbs-account-consumer

Configuration

  1. 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 = ‘/’

  2. 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.

  3. Add the proper authentication backend to your project.

    • Add AUTHENTICATION_BACKENDS = (…, ‘pbs_account_consumer.auth.OpenIDBackend’,) to settings.py.

Project details


Download files

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

Source Distribution

pbs-account-consumer-1.2.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file pbs-account-consumer-1.2.tar.gz.

File metadata

File hashes

Hashes for pbs-account-consumer-1.2.tar.gz
Algorithm Hash digest
SHA256 b2056252ba5a89e3db632a6e8b4df13001078238c2310eb2dfc9367d50b3139f
MD5 a8c6478bbda13b1997234665702df836
BLAKE2b-256 2b4760593e9095f62eb45006c5af5befe9fcb7822bbacce87efe7142d21a39ad

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