auth-session

Community

Secure session-based auth for Leptos+Axum apps.

Authoradelabdelgawad
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Implementing secure, scalable cookie-based authentication and per-request session management for Leptos+Axum apps, ensuring user state is consistently validated across requests.

Core Features & Use Cases

  • Integrates tower-sessions and axum-login to handle login/logout, session storage, and protected routes.
  • Supports per-page auth context in Leptos components and server-side authentication flow for server functions.
  • Use case: build an admin dashboard with a login page, protected routes, and user session context.

Quick Start

Wire up AuthManagerLayer with a backend and a session store to enable login, logout, and protected routes in your Leptos+Axum app.

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: auth-session
Download link: https://github.com/adelabdelgawad/rust-fullstack-agents/archive/main.zip#auth-session

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 510,000+ vetted skills library on demand.