mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
- Add add_team_member and remove_team_member via /team-memberships - Add send_team_invitation, list_team_invitations, revoke_team_invitation - Add list_team_member_profiles and get_team_member_profile - Add user_id field to TeamMemberProfile for profile filtering - Both sync and async facades have identical method surfaces
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+