Sanic-OAuthlib is an extension to Sanic that allows you to interact with remote OAuth enabled applications. On the client site, it is a replacement for Sanic-OAuth. But it does more than that, it also helps you to create OAuth providers.
Sanic-OAuthlib is a fork of Flask-OAuthlib, ported to sanic using the SanicPluginsFramework.
Sanic-OAuthlib relies on oauthlib.
Features
(These features are directly ported from Flask-OAuthLib)
Support for OAuth 1.0a, 1.0, 1.1, OAuth2 client
Friendly API (same as Sanic-OAuth)
Direct integration with Sanic using SanicPluginsFramework
Basic support for remote method invocation of RESTful APIs
Support OAuth1 provider with HMAC and RSA signature
Support OAuth2 provider with Bearer token
And request more features at github issues.
Security Reporting
If you found security bugs which can not be public, send me email at ashleysommer@gmail.com. Attachment with patch is welcome.
Installation
Installing sanic-oauthlib is simple with pip:
$ pip install Sanic-OAuthlib
If you don’t have pip installed, try with easy_install:
$ easy_install Sanic-OAuthlib
Additional Notes
See the original documentation for Flask-OAuthlib here: flask-oauthlib@readthedocs.
If you are only interested in the client part, you can find some examples in the example directory.
There is also a development version on GitHub.
Metadata
Release files for sanic-oauthlib 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Sanic-OAuthlib-0.4.0.tar.gz | 190.8 kB | Without provenance | Details for Sanic-OAuthlib-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Sanic_OAuthlib-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for Sanic_OAuthlib-0.4.0-py3-none-any.whl |
Total release size: 368.1 kB
Release files / Sanic-OAuthlib-0.4.0.tar.gz
| Download URL | Sanic-OAuthlib-0.4.0.tar.gz |
|---|---|
| Size | 190.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7513bf9c512c84e1aee28539691367cc65788b6b4a8405bb7c0b6610ef2b4ba
|
|
BLAKE2b-256 checksum How to use checksums |
5d05b1b551535ed94482b2c6f693c54743deb15eb97c34e1677e63307b76d051
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
|
Release files / Sanic_OAuthlib-0.4.0-py3-none-any.whl
| Download URL | Sanic_OAuthlib-0.4.0-py3-none-any.whl |
|---|---|
| Size | 177.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
389f036fd48ce3d8496db9a2104f3a0465b70d3633d74f482a778fd1a8e8ba98
|
|
BLAKE2b-256 checksum How to use checksums |
80ea3b69714ed4ad22502fd69bba3beb100efa7b2bf64df64a870e111b1778e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
|
Security for sanic-oauthlib 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.