Skip to main content

User authorization for OIDC authenticated python web APIs.

Project description

FLAAT

eosc-synergy-logo CI Code style: black License: MIT

Use decorators for authorising access to OIDC authenticated REST APIs. Supports Flask, FastAPI and AIOHTTP.

Installation

FLAAT is available on PyPI. Install using pip:

pip install flaat

You can also install from the git repository:

git clone https://github.com/indigo-dc/flaat
pip install -e ./flaat

Note

Please note that there may be conflicts with the pip package jwt, because its installation can mask python-jwt. In case of this error:

    class FlaatPyJWKClient(jwt.PyJWKClient):
                           ^^^^^^^^^^^^^^^
AttributeError: module 'jwt' has no attribute 'PyJWKClient'

the `jwt package is in the way, and you need to uninstall it, so python-jwt can be used.

Documentation

The documentation is available at readthedocs.

Development

Instructions on development, testing and releasing versions can be found here.

License

FLAAT is provided under the MIT License.

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

flaat-1.3.0.tar.gz (74.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flaat-1.3.0-py2.py3-none-any.whl (42.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flaat-1.3.0.tar.gz.

File metadata

  • Download URL: flaat-1.3.0.tar.gz
  • Upload date:
  • Size: 74.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for flaat-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b6c7f716b02dfed5d81527540996625714f7d754407815cc70a09a4041fc1215
MD5 41d007adef78d73753945e52d1ebe1e0
BLAKE2b-256 d4f3462eadc85839150e1c947bd72bfa6f7c7b450d2bd3c66ac314940acc615d

See more details on using hashes here.

File details

Details for the file flaat-1.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: flaat-1.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 42.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for flaat-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8cfd472dade80fe02e5b603f9e93b945bfc1d59108bfb7c4e6f3bc57bec26798
MD5 154a06594a852a60c542e5c8dc2dc56f
BLAKE2b-256 fd789e43cb1d7ab011048fdc3ac41558cf25d927da2c9248ec1bf53834bef049

See more details on using hashes here.

Supported by

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