Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-OAuth2-Provider-0.3.2.tar.gz (8.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page