name: af-configure-cognito-auth description: Configure Cognito User Pools with custom attributes and auth triggers. Use when setting up authentication flows, managing user groups, or applying CDK escape hatches for GainInsight Standard projects.
AgentFlow documentation fields
title: Cognito Expertise (Entry Point) created: 2026-02-08 updated: 2026-02-08 last_checked: 2026-02-08 tags: [skill, entry-point, cognito, authentication, amplify, aws] parent: ../README.md related: - ../af-configure-ses-email/SKILL.md - ../af-build-amplify-features/SKILL.md - ../../docs/guides/gaininsight-standard/auth-setup.md
Cognito Expertise
What to read
User Pool setup, custom attributes (mutability rules), and auth triggers: → auth-setup.md#cognito-user-pool-setup
Auth flow configuration (CDK escape hatch for integration tests): → auth-setup.md#auth-flow-configuration
Cognito-SES integration (sender identity, email volume limits): → auth-setup.md#cognito-ses-integration
E2E-ready authentication checklist: → auth-setup.md#e2e-ready-authentication-checklist
Common pitfalls (immutable attributes, auth flow errors, email limits): → auth-setup.md#common-pitfalls — see pitfalls 1, 2, and 6