Use case
Add authentication to FastAPI
Install the AscendKit Python SDK and use its FastAPI integration to protect routes with hosted auth. You get credentials, magic link, and OAuth, plus access-token verification as a dependency, scoped to your project's public key.
How it works
- 1. Install the SDKAdd the AscendKit Python SDK and configure your project public key.
- 2. Protect routesUse the FastAPI dependency to require a valid access token. Every request resolves to a usr_ record via the resolve_project dependency.
- 3. ExtendLayer on transactional email, surveys, and webhooks from the same project without adding new vendors.
FAQ
Does the Python SDK support FastAPI natively?
Yes. The Python SDK ships a FastAPI integration with access-token verification you can use as a route dependency.
Is anonymous access supported?
No. Every interaction links to a registered project user, so requests are always scoped to a usr_ record.
Start with one API key
Auth, email, surveys, and journeys share one user record, so you ship this without stitching vendors together.
Start free