Files
stack/sdks/implementations/python
Ejiro Asiuwhu e26f3a228e feat: add permission management methods to StackServerApp
- grant_permission, revoke_permission for team and project scope
- list_permissions with optional direct filter
- has_permission boolean check, get_permission single lookup
- Both sync and async facades
2026-03-25 01:29:12 +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+