This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Authentic2 IdP OAuth2

Project Description

Install

You just have to install the package in your virtualenv and relaunch, it will be automatically loaded by the plugin framework.

Settings

AUTOMATIC_GRANT:

A list of URL prefix which are automatically granted scopes without asking the user. Example:

A2_OAUTH2_AUTOMATIC_GRANT = (
        ('http://localhost:8000/', ('read',)),
)

Web Service proxy

You can configure simple REST web-service in /admin/authentic2_idp_oauth2/webservice/. URL field can contain template variable like that:

http://example.com/info/?user={{ user.username|urlencode }}

or like:

http://example.com/categories/?format=json&NameID={{ federations.service_1.links.0|urlencode }}

Supported authentication mechanisms on the target web-service are HMAC-SHA-256 and HMAC-SHA-1 as specified on http://doc.entrouvert.org/portail-citoyen/dev/.

You can access your newly proxy web-service through those URLs:

http://your-idp.com/idp/oauth2/ws-proxy/<web-service.id>/

or:

http://your-idp.com/idp/oauth2/ws-proxy/<web-service.slug>/
Release History

Release History

This version
History Node

1.0.14

History Node

1.0.13

History Node

1.0.12

History Node

1.0.11

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
authentic2-idp-oauth2-1.0.14.tar.gz (8.8 kB) Copy SHA256 Checksum SHA256 Source Aug 12, 2014

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