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-2.0.0.tar.gz (82.5 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-2.0.0-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wristband_fastapi_auth-2.0.0.tar.gz
  • Upload date:
  • Size: 82.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for wristband_fastapi_auth-2.0.0.tar.gz
Algorithm Hash digest
SHA256 67b67030c2a08137e6dc25a71dc852ef125e8ff91458c8a805440b00982a0576
MD5 75fe849c439b4840fec1482ac3150f72
BLAKE2b-256 9a85d25b28af99ac202520a0b8c46a955cc78895c462654aad7291746d9c2d83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wristband_fastapi_auth-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33132277b566a05d960352b37f182b3d1e8ce1921e31364a14ddf9d8eecd56fb
MD5 c0499ad16c87e1b9aea28a0ac5769844
BLAKE2b-256 8999810c372a3f77e58497c93bae5b05b88b375cacfdf28973aaa058c4d71a4d

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