Skip to main content
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.

Metadata

Release files for Flask-OAuth2-Provider 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-OAuth2-Provider 0.4.1
File Size Uploaded Provenance Actions
Flask-OAuth2-Provider-0.4.1.tar.gz 9.2 kB Without provenance Details for Flask-OAuth2-Provider-0.4.1.tar.gz

Release files / Flask-OAuth2-Provider-0.4.1.tar.gz

Download URL Flask-OAuth2-Provider-0.4.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f7f43f4f0d363ca40fd2997fb4c65e0f875b08e01a6ea75f6824e942cb6a816a
BLAKE2b-256 checksum
How to use checksums
f23c2a16047afcea8d42dce0780012713bbdb07f3fd1584cdaa6b17991e4981b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Flask-OAuth2-Provider 0.4.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page