admin-auth-guide

Implement Telegram login, TOTP, and JWT sessions for admin authentication.

1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/RaNDoM6913/claude-code-superkit --skill admin-auth-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: admin-auth-guide
Source: https://github.com/RaNDoM6913/claude-code-superkit/tree/main/packages/showcase/.claude/skills/admin-auth-guide
Command: npx skills add https://github.com/RaNDoM6913/claude-code-superkit --skill admin-auth-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralizes and hardens admin authentication and authorization workflows for admin panels, including Telegram-based login, multi-factor setup, and session handling.

Core Features & Use Cases

  • Telegram-based login for admins with first-time setup via TOTP
  • JWT-based sessions with configurable idle timeouts and lifetimes
  • Role-based access control with granular permissions across admin interfaces
  • Clear backend/frontend integration guidance for secure admin operations

Quick Start

Configure your backend with the provided environment variables and wire the Telegram login flow to your frontend to enable secure admin authentication.

Frequently Asked Questions about admin-auth-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement secure admin authentication using Telegram login and TOTP?

Secure admin authentication using Telegram login and TOTP involves wiring a Telegram bot login flow to your frontend and completing a first-time setup via TOTP to enable multi-factor access for admins.

How does JWT-based session management work for admin panels?

JWT-based session management for admin panels uses middleware for token validation, applying configurable idle timeouts and session lifetimes to maintain secure environment-driven admin operations.

What is the best way to set up granular RBAC permissions across services?

Setting up granular RBAC permissions across services requires implementing role-based access control middleware that validates JWT tokens and enforces permission rules across your admin interfaces.

Can I use this admin authentication guide for both backend and frontend workflows?

Yes, this admin authentication guide applies to both backend and frontend workflows, providing integration guidance for environment-driven configuration including Telegram bot tokens and secret signing keys.

What environment variables do I need to configure for JWT and TOTP multi-factor setup?

To configure JWT and TOTP multi-factor setup, you need to set environment variables including the Telegram bot token, TOTP secret key, and JWT secret signing keys for token validation.

Why do I need TOTP for Telegram-based admin login?

TOTP is needed for Telegram-based admin login to provide an additional multi-factor authentication layer during first-time setup, hardening access security beyond the initial Telegram login validation.