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.1.tar.gz (96.5 kB view details)

Uploaded Source

Built Distributions

ndg_oauth_server-0.3.1-py2.7.egg (197.0 kB view details)

Uploaded Source

ndg_oauth_server-0.3.1-py2.6.egg (197.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for ndg_oauth_server-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3d3bbbfda64e9b5a754345d75c8000dc6905a28dbf0e9126889607ffec7e5808
MD5 776194d6337dd126302cec2b516a24b8
BLAKE2b-256 6004c1841c311b526963174c66498d561e5cd0a5538b1789e3bcc0a7e7a5c3cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ndg_oauth_server-0.3.1-py2.7.egg
Algorithm Hash digest
SHA256 2bed42fb735cdb89708fd2ffab19f558b3c468281a89d49c676b4d13d290955b
MD5 ed73d9702e49b725499890effafe228d
BLAKE2b-256 aca84cf49e17a0c99d94758db9cb267c659a9b6b69227c800ac12321f2cfbef0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ndg_oauth_server-0.3.1-py2.6.egg
Algorithm Hash digest
SHA256 0ee5f5ab532807af6d46917dfab528f9802743f18d42d5a0c644026f4c509afa
MD5 087651a550575a803e6ba0b1bf4e7585
BLAKE2b-256 c13b9a22dedb09a7df1f9bd1cf1b0772990f4bacf0461a9c63db46bb07728e5c

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