implementing-scalekit-go-auth

Official

Build scalable Scalekit auth in Go with Gin.

Authorscalekit-inc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Go developers integrating a secure OAuth2/OIDC flow in Gin apps often reinvent authentication logic. This skill provides a pragmatic pattern using Scalekit to implement authorize, callback, session, and logout flows with token handling and optional IDP-initiated login.

Core Features & Use Cases

  • End-to-end authentication flow: authorize, callback, session validation, and logout.
  • IDP-initiated login support for enterprise SSO.
  • Centralized client initialization with a singleton to manage Scalekit configuration.
  • Secure cookie management for access, refresh, and ID tokens, with best practices for SameSite and CSRF.

Quick Start

Create the four handlers (authorize, callback, session, logout) using the Scalekit Go SDK and wire them into routes under /api.

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

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.