auth0 avatar

Auth0 Flask

Adds session-based authentication to Flask apps using Auth0's server-python SDK. This handles the full login/callback/profile/logout flow for server-rendered applications, not APIs with JWT tokens. The implementation uses Flask's cookie-based sessions with JWE encryption, so you don't need Redis or a database unless you hit cookie size limits. The setup is straightforward but requires flask[async] for the async route handlers to work, which is easy to miss. If you're building a traditional Flask web app with login pages, this is the right pattern. For SPAs or API authentication, you want a different skill.

skills.sh installs
411
GitHub stars
56
last updated
Aug 21, 2026

Install

$ npx -y skills add auth0/agent-skills --skill auth0-flask --agent claude-code

Installs into .claude/skills of the current project.

Files

Adds session-based authentication to Flask apps using Auth0's server-python SDK. This handles the full login/callback/profile/logout flow for server-rendered applications, not APIs with JWT tokens. The implementation uses Flask's cookie-based sessions with JWE encryption, so you don't need Redis or a database unless you hit cookie size limits. The setup is straightforward but requires flask[async] for the async route handlers to work, which is easy to miss. If you're building a traditional Flask web app with login pages, this is the right pattern. For SPAs or API authentication, you want a different skill.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/auth0/agent-skills
Categories
Backend & APIs, AI & Agent Building, Python
First seen
Jun 3, 2026

More from auth0/agent-skills

All 23
1narumiruna avataraiogram-frameworknarumiruna/telegram-botBuild, refactor, or troubleshoot Telegram bots using aiogram v3. Use when working with aiogram routers/handlers/filters, Dispatcher lifecycle, update delivery (407skills.sh installs
2hummingbot avatarhummingbothummingbot/skillsAgent skill that faithfully reproduces Hummingbot CLI commands (connect, balance, create, start, stop, status, history) via Hummingbot API. V1 focuses on core t406skills.sh installs
3umbraco avatarumbraco-openapi-clientumbraco/umbraco-cms-backoffice-skillsSet up OpenAPI client for authenticated API calls in Umbraco backoffice (REQUIRED for custom APIs)405skills.sh installs
4vercel avatarvercel-microfrontendsvercel/microfrontendsGuide for building, configuring, and deploying microfrontends on Vercel. Use this skill when the user mentions microfrontends, multi-zones, splitting an app acr403skills.sh installs
5codex-data avatarcodex-supergraphcodex-data/skillsUse when the user asks about token prices, charts, holders, trending tokens, pair data, prediction markets, or any on-chain analytics from Codex. Also use when 401skills.sh installs
6secondsky avatarnuxt-coresecondsky/claude-skills| Nuxt 4 core framework fundamentals: project setup, configuration, routing, SEO, error handling, and directory structure. Use when: creating new Nuxt 4 project401skills.sh installs