FastAPI

Integrating Wristband with FastAPI: A step-by-step guide.

This quickstart guide will walk you through the process of integrating your FastAPI application with Wristband.

Goals

After completing this guide, you will know how to:

  • Integrate your FastAPI backend with Wristband, utilizing Wristband's FastAPI Auth SDK.
  • Implement session management with your FastAPI backend.
  • Connect a React frontend to your FastAPI backend utilizing Wristband's React Client Auth SDK.
  • Protect your application's pages and APIs by verifying that the user has an authenticated session.

Prerequisites

  • Python (version 3.9 or later)
  • FastAPI version 0.100.0+.
  • Node.js (v20.x or later)
  • A package manager such as npm, yarn, or pnpm
  • React (vanilla or NextJS)

Set Up FastAPI

For those building a brand-new application, you will need to initialize a FastAPI project according to their standard installation documentation.


What’s Next

After your FastAPI project is set up, you'll need to install the Wristband Auth SDK.

Did this page help you?