mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
… templates, and added new document to the docs-platform.yml <!-- Make sure you've read the CONTRIBUTING.md guidelines: https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md --> Adds Python Backend Integration docs <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Add Python backend integration documentation for Stack Auth, detailing JWT and REST API methods with examples. > > - **Documentation**: > - Added `backend-integration.mdx` to provide a guide for integrating Stack Auth into Python backends. > - Describes token flow, JWT verification, and REST API verification methods. > - Includes examples for Flask, FastAPI, and Django frameworks. > - Covers environment setup, error handling, and performance considerations. > - **Navigation**: > - Updated `meta.json` to include `concepts/backend-integration` in the documentation structure. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup> for0fa00718c3. You can [customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this summary. It will automatically update as commits are pushed.</sup> ---- <!-- ELLIPSIS_HIDDEN --> <!-- RECURSEML_SUMMARY:START --> ## Review by RecurseML _🔍 Review performed on [a77d50c..dd2c3c7](a77d50c145...dd2c3c77a2)_ ✨ No bugs found, your code is sparkling clean <details> <summary>⏭️ Files skipped (low suspicion) (3)</summary> • `docs/docs-platform.yml` • `docs/templates-python/concepts/backend-integration.mdx` • `docs/templates-python/meta.json` </details> [](https://discord.gg/n3SsVDAW6U) <!-- RECURSEML_SUMMARY:END --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Documentation - Added a comprehensive guide for integrating Stack Auth into Python backends. - Describes the token flow (client obtains access token and sends it via X-Stack-Access-Token). - Details two approaches: local JWT verification and server-side REST verification. - Includes framework examples for Flask, FastAPI, and Django with auth enforcement patterns. - Covers environment setup, error handling patterns, and performance/caching recommendations. - Updated navigation to include the new Backend Integration page under Concepts. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
19 lines
443 B
JSON
19 lines
443 B
JSON
{
|
|
"title": "Python Documentation",
|
|
"description": "Stack Auth for Python applications using the REST API",
|
|
"pages": [
|
|
"overview",
|
|
"faq",
|
|
"---Getting Started---",
|
|
"getting-started/setup",
|
|
"---Concepts---",
|
|
"concepts/backend-integration",
|
|
"concepts/user-authentication",
|
|
"concepts/teams-management",
|
|
"---Integration---",
|
|
"---Other---",
|
|
"others/self-host",
|
|
"others/cli-authentication"
|
|
]
|
|
}
|