/axum-redis-session

Axum session layer with Redis store

Primary LanguageRustMIT LicenseMIT

Rust Axum session with redis store

Description

The project simply shows how to integrate:

Open in Dev Containers

A development container is a running Docker container with a well-defined tool/runtime stack and its prerequisites. You can try out development containers with GitHub Codespaces or Visual Studio Code Dev Containers.

Requirements

  • Provide a session mechanism with cookies
  • Cookie must have http-only and secure flags set, the name must be configurable
  • Cookie must only be set when session is started
  • Cookie must be deleted from client browser on session end