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.
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)
Built Distributions
ndg_oauth_server-0.3.1-py2.7.egg
(197.0 kB
view details)
ndg_oauth_server-0.3.1-py2.6.egg
(197.2 kB
view details)
File details
Details for the file ndg_oauth_server-0.3.1.tar.gz
.
File metadata
- Download URL: ndg_oauth_server-0.3.1.tar.gz
- Upload date:
- Size: 96.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d3bbbfda64e9b5a754345d75c8000dc6905a28dbf0e9126889607ffec7e5808 |
|
MD5 | 776194d6337dd126302cec2b516a24b8 |
|
BLAKE2b-256 | 6004c1841c311b526963174c66498d561e5cd0a5538b1789e3bcc0a7e7a5c3cd |
File details
Details for the file ndg_oauth_server-0.3.1-py2.7.egg
.
File metadata
- Download URL: ndg_oauth_server-0.3.1-py2.7.egg
- Upload date:
- Size: 197.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bed42fb735cdb89708fd2ffab19f558b3c468281a89d49c676b4d13d290955b |
|
MD5 | ed73d9702e49b725499890effafe228d |
|
BLAKE2b-256 | aca84cf49e17a0c99d94758db9cb267c659a9b6b69227c800ac12321f2cfbef0 |
File details
Details for the file ndg_oauth_server-0.3.1-py2.6.egg
.
File metadata
- Download URL: ndg_oauth_server-0.3.1-py2.6.egg
- Upload date:
- Size: 197.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ee5f5ab532807af6d46917dfab528f9802743f18d42d5a0c644026f4c509afa |
|
MD5 | 087651a550575a803e6ba0b1bf4e7585 |
|
BLAKE2b-256 | c13b9a22dedb09a7df1f9bd1cf1b0772990f4bacf0461a9c63db46bb07728e5c |