Skip to main content

Portier authentication asyncio-aware Python helpers.

Project description

coverage

asyncio-portier is a set of helpers for the Portier Identity Provider. It is based on the portier-python package but modified to work with asyncio.

Usage

The helpers work in much the same way as the ones in portier-python. Check the demos directory for usage examples.

Notes

  • portier-python doesn’t seem to work quite right with Redis as the cache backend, so there are a few Redis-specific modifications. This may change in the future.

  • I expected the calls to cryptographic libraries to be blocking, but I saw no improvement from running those calls in an Executor as per https://docs.python.org/3/library/asyncio-eventloop.html#executor.

Supported by

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