A simple flask oauth2 provider
Project description
A simple flask oauth2 provider
================================
This project aims to be lightweight (not only) oauth2 provider for flask based
applications.
Currently it supports:
- Issuing authorization codes
- Issuing JWT tokens for password, authorization_code, client_credentials
grants
- Out of the box support for refresh tokens
- No need for storage, token is self contained and it's validity can be
checked without accessing DB
The project is still in alpha state, API might change a bit in future.
Installation
=============
Best way is to use *pip*.
.. code-block:: shell
pip install Flask-OAuth2-Provider
Make html documentation
========================
Doc is "in construction" mode but most of code is documented even with some
example usage. The general overview how to integrate all this into your
code is a task to be done.
.. code-block:: shell
cd docs
make html
And then open it as file in you favorite browser. :)
Issues
=======
Currently there is no way how to revoke tokens and since we use JWT this
probably will not be fixed.
================================
This project aims to be lightweight (not only) oauth2 provider for flask based
applications.
Currently it supports:
- Issuing authorization codes
- Issuing JWT tokens for password, authorization_code, client_credentials
grants
- Out of the box support for refresh tokens
- No need for storage, token is self contained and it's validity can be
checked without accessing DB
The project is still in alpha state, API might change a bit in future.
Installation
=============
Best way is to use *pip*.
.. code-block:: shell
pip install Flask-OAuth2-Provider
Make html documentation
========================
Doc is "in construction" mode but most of code is documented even with some
example usage. The general overview how to integrate all this into your
code is a task to be done.
.. code-block:: shell
cd docs
make html
And then open it as file in you favorite browser. :)
Issues
=======
Currently there is no way how to revoke tokens and since we use JWT this
probably will not be fixed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Flask-OAuth2-Provider-0.4.1.tar.gz
.
File metadata
- Download URL: Flask-OAuth2-Provider-0.4.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7f43f4f0d363ca40fd2997fb4c65e0f875b08e01a6ea75f6824e942cb6a816a |
|
MD5 | 74228a35479777ba966714eeb104738d |
|
BLAKE2b-256 | f23c2a16047afcea8d42dce0780012713bbdb07f3fd1584cdaa6b17991e4981b |