litestar-authentication

Community

Secure Litestar apps with robust authentication.

Authoralti3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Authentication and authorization are essential for protecting Litestar applications. This skill provides a coherent pattern to implement authentication middleware, backends, guards, and secret handling to secure routes and enforce permissions.

Core Features & Use Cases

  • Middleware-driven authentication: attach a single strategy at application scope to enforce identity across endpoints.
  • Guard-based authorization: declare include/exclude rules to protect sensitive routes.
  • JWT and session backends: support token-based and session-based authentication with secure secret handling and rotation guidance.
  • Secrets and rotation: guidance to load secrets from secure stores and rotate credentials without downtime.

Quick Start

Configure a Litestar app to use a JWT-based backend and protect the /admin route with a guard.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: litestar-authentication
Download link: https://github.com/alti3/litestar-skills/archive/main.zip#litestar-authentication

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.