A simple flask oauth2 provider
Project description
A simple flask oauth2 provider
This project aims to be lightweight oauth2 provider for flask based applications. It uses JWT (PyJWT) to create tokens and thus it does not need any storage for the tokens.
Functionality now is rather limited - just password and client credentials grant authorization + token refresh. The other parts of ouath2 process and some documentation are coming soon.
The project is still in alpha state, API might change a bit in future.
Installation
Best way is to use pip.
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.
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 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
Hashes for Flask-OAuth2-Provider-0.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bf90686d86f5c14f7fa374c4de964bd0d4425ce2dd6fe8f9382bd1d2bdd940c |
|
MD5 | e2fbae8f38811246ee40881d0132c697 |
|
BLAKE2b-256 | a9444e7a35a0cb3b73f9a507a111dce059fa4a95ffb81ef814a73e8ae8b93b99 |