Skip to main content

OAuth 2.0 server

Project description

This is an OAuth 2.0 server library and WSGI middleware filter.

It supports simple string-based bearer token and a custom extension to enable
the use of X.509 certificates as tokens. The latter has been added for a
specialised use case to enable a SLCS (Short-lived Credential Service) to issue
delegated X.509-based credentials with OAuth.

Prerequisites
=============
This has been developed and tested for Python 2.6 and 2.7.

Installation
============
Installation can be performed using easy_install or pip.

Configuration
=============
Examples are contained in the examples/ sub-folder:

bearer_tok/:
This configures a simple test application that uses string based tokens.
slcs/:
This is a more complex and specialised example that issues X.509 certificate-
based tokens as part of a Short-lived Credential Service. The authorisation
server requires access to a specially configured MyProxyCA service (
http://grid.ncsa.illinois.edu/myproxy/ca/) configured with a custom PAM to
allow issue of credentials. See:
http://ndg-security.ceda.ac.uk/browser/trunk/MashMyData/pam_credential_translation

The examples should be used in conjunction with the ndg.oauth client package.

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

ndg_oauth_server-0.3.0.tar.gz (95.5 kB view details)

Uploaded Source

Built Distributions

ndg_oauth_server-0.3.0-py2.7.egg (119.9 kB view details)

Uploaded Source

ndg_oauth_server-0.3.0-py2.6.egg (120.1 kB view details)

Uploaded Source

File details

Details for the file ndg_oauth_server-0.3.0.tar.gz.

File metadata

File hashes

Hashes for ndg_oauth_server-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7645348966132698d4471084fd490bc6e32994c594fe8ec6218a4e96da5e2abe
MD5 d925a5e7a65f5d50ce0358640b4dfc15
BLAKE2b-256 4df58123f825756deaf59a49c330efd9883c6152d8bfe5b17bc55f07dcde7ea5

See more details on using hashes here.

File details

Details for the file ndg_oauth_server-0.3.0-py2.7.egg.

File metadata

File hashes

Hashes for ndg_oauth_server-0.3.0-py2.7.egg
Algorithm Hash digest
SHA256 adaa038590aea0e21bc732759ba4094cfd3387ec8f23a2d4ee6befe0df7d0391
MD5 9dcea167250158ef946405b2a82d22c4
BLAKE2b-256 46e863ffb79233a6f08074a2eefb04ccc82e461427d50eb31338e23056806991

See more details on using hashes here.

File details

Details for the file ndg_oauth_server-0.3.0-py2.6.egg.

File metadata

File hashes

Hashes for ndg_oauth_server-0.3.0-py2.6.egg
Algorithm Hash digest
SHA256 7aaaeff2fdcfe4ea62c9db1282a59eb1534408a2d4ea5a4e792d2e776120dd6a
MD5 4fccd01572f020036a6244a2dd8b9f65
BLAKE2b-256 66ba478fb307e23b20388d8ad7524fec9fd1afdc9c08698cf957d3442cec3d24

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