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-1.1.0.tar.gz (69.9 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-1.1.0-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wristband_fastapi_auth-1.1.0.tar.gz
Algorithm Hash digest
SHA256 18d83783f6cc0b6ad400c472fcb7e626b681d5a9fcb9b9fa7b50e0555e15f8ad
MD5 0266298006480f1efd5a3fc806feee63
BLAKE2b-256 e4626b5e38f19d102e8d9935c1052331965908c2530cc81a16dfa4c10555dc95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wristband_fastapi_auth-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07492e836ed4dbe596ef645ca4b51b7559071a47da30dff667ac6235568ab51d
MD5 61f1435bc9356e3050dac2159820f5a0
BLAKE2b-256 397117ab6e6d7a2999dbed3dddf0e85affd441e04b9bf261eaa914be29f30ecc

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