Sign in

Cognito Hosted UI or your auth flow can plug in here. Configure env vars referenced below for middleware redirects.

Set NEXT_PUBLIC_COGNITO_SIGN_IN_URL for Hosted UI redirects, or NEXT_PUBLIC_COGNITO_SESSION_COOKIE_NAME after OAuth completes.