stack/sdks/implementations/python
Ejiro Asiuwhu 09595481dd fix: add publishable_client_key parameter and fix token store defaults
- Add publishable_client_key param to BaseAPIClient, StackServerApp, AsyncStackServerApp
- Include x-stack-publishable-client-key header when key is provided
- Change ExplicitTokenStore defaults from empty string to None
- Remove empty string fallback in resolve_token_store dict branch
2026-03-25 07:51:38 +01:00
..
src/stack_auth fix: add publishable_client_key parameter and fix token store defaults 2026-03-25 07:51:38 +01:00
tests test: add failing tests for publishable_client_key and token store defaults 2026-03-25 07:50:42 +01:00
pyproject.toml docs: add module docstring with quick-start example and complete PyPI metadata 2026-03-25 02:05:44 +01:00
README.md test: add failing tests for python sdk error hierarchy and base model 2026-03-24 22:17:03 +01:00

Stack Auth Python SDK

Python SDK for Stack Auth - authentication, user management, and team management for your Python backend.

Installation

pip install stack-auth

Quick Start

from stack_auth import StackServerApp

app = StackServerApp(
    project_id="your-project-id",
    secret_server_key="your-secret-key",
)

# Verify a request's access token
user = await app.authenticate_request(request)

Requirements

  • Python 3.10+