https://github.com/apiwatcher/flask-ouath2-provider
A simple provider of oauth2 for flask
https://github.com/apiwatcher/flask-ouath2-provider
Last synced: 12 months ago
JSON representation
A simple provider of oauth2 for flask
- Host: GitHub
- URL: https://github.com/apiwatcher/flask-ouath2-provider
- Owner: apiwatcher
- License: mit
- Created: 2017-03-17T12:13:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:40:45.000Z (over 3 years ago)
- Last Synced: 2025-06-28T02:03:48.296Z (about 1 year ago)
- Language: Python
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
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.