seahaven-ap/packages/api/openapi/components/security.yaml
Adam Moussa bbfa6e4a3c
feat(api): switch live auth to host cookie BFF
Replace Bearer as the documented session path with Cognito hosted UI plus __Host-ap_* cookies so the SPA can call /api with credentials include.
2026-09-22 12:39:00 -04:00

5 lines
191 B
YAML

cookieAuth:
type: apiKey
in: cookie
name: __Host-ap_it
description: HttpOnly session id-token cookie set by GET /api/auth/callback. Local stage uses ap_it without the __Host- prefix.