Skip to main content

SDK for integrating your Python FastAPI application with Wristband. Handles user authentication and token management.

Project description

Wristband Multi-Tenant Authentication SDK for Python FastAPI

Wristband provides enterprise-ready auth that is secure by default, truly multi-tenant, and ungated for small businesses.

For detailed setup instructions and usage guidelines, visit the project's GitHub repository.

Details

This SDK facilitates seamless interaction with Wristband for user authentication within multi-tenant FastAPI applications. It follows OAuth 2.1 and OpenID standards and is supported for Python 3.11+. Key functionalities encompass the following:

  • Initiating a login request by redirecting to Wristband.
  • Receiving callback requests from Wristband to complete a login request.
  • Retrieving all necessary JWT tokens and userinfo to start an application session.
  • Logging out a user from the application by revoking refresh tokens and redirecting to Wristband.
  • Checking for expired access tokens and refreshing them automatically, if necessary.

You can learn more about how authentication works in Wristband in our documentation:

Questions

Reach out to the Wristband team at support@wristband.dev for any questions regarding this SDK.

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

wristband_fastapi_auth-0.2.1.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

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

wristband_fastapi_auth-0.2.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file wristband_fastapi_auth-0.2.1.tar.gz.

File metadata

  • Download URL: wristband_fastapi_auth-0.2.1.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for wristband_fastapi_auth-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d7b1d1bd4bff763c123ceac61c7c2764edcb5d15d0b91d82537a6f0cba38f96d
MD5 e18457c032606050dc4ea620c47b007e
BLAKE2b-256 b9196c7f349e1481e0a3a127a7bd7c9f55409968e7e818cf6e68124072a5a3ae

See more details on using hashes here.

File details

Details for the file wristband_fastapi_auth-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wristband_fastapi_auth-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1800b9e780456d80da8c21d33ce6198c294a539403854201a2673705caad6264
MD5 db87f73845eebbecb64bd79b7be1ab0e
BLAKE2b-256 4312d10178b8e6e62a0063d1a25744c439f575145ff8d8087b3c3b1a39625a35

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