auth-cognito

Installation
SKILL.md

Cognito + Google OAuth + oidc-client-ts

Architecture Overview

Browser (Vue SPA)                    AWS
┌──────────────────┐     ┌──────────────────────────┐
│  oidc-client-ts  │────▶│  Cognito Hosted UI       │
│  (PKCE flow)     │◀────│  + Google OAuth IdP       │
│                  │     │                          │
│  useAuth         │     │  Post-Confirmation       │
│  composable      │     │  Lambda Trigger           │
│                  │     │  → DynamoDB UserProfile   │
│  JWT in memory   │     │                          │
│  (not localStorage)    └──────────────────────────┘
│                  │
│  Authorization   │     ┌──────────────────────────┐
│  header          │────▶│  Hono API (Lambda)       │
│                  │     │  jwtAuth middleware       │
Related skills
Installs
2
First Seen
Mar 19, 2026