authentication-patterns

Installation
SKILL.md

Authentication and Authorization Patterns

Reference for implementing authentication in web, mobile, and API applications.


1. JWT (JSON Web Tokens)

Structure

Three Base64URL-encoded parts separated by dots: header.payload.signature.

  • Header -- algorithm (alg) and token type (typ).
  • Payload -- claims: sub, iat, exp, iss, aud, plus custom claims.
  • Signature -- HMAC-SHA256 or RSA/ECDSA over header and payload.

Signing

  • Symmetric (HS256) -- shared secret; simple but the secret must live on every verifier.
Related skills

More from 1mangesh1/dev-skills-collection

Installs
6
GitHub Stars
3
First Seen
Feb 21, 2026