managing-user-sessions

Official

Secure web sessions with Scalekit.

Authorscalekit-inc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manages Scalekit-backed user sessions by securely storing access/refresh/ID tokens (with encryption and correct cookie attributes), validating access tokens on every request, transparently refreshing tokens in middleware, and optionally revoking sessions remotely via Scalekit session APIs. Use when building session persistence for only for web apps. For SPAs this is NOT the skill.

Core Features & Use Cases

  • Secure token storage using HttpOnly cookies with proper domain/path and SameSite settings
  • Transparent token refresh flow via middleware
  • Optional remote session revocation via Scalekit API
  • Supports traditional web apps and remote session management

Quick Start

Configure secure session storage, automatic token refresh, and optional remote session revocation for a traditional web application.

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: managing-user-sessions
Download link: https://github.com/scalekit-inc/github-copilot-authstack/archive/main.zip#managing-user-sessions

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.