From aea0657baaf420e23baad0f50748a456c79f3d1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Bour=C3=A9?= Date: Sat, 18 Feb 2023 14:34:57 +0100 Subject: [PATCH] docs(auth): Fix Cognito auth doc (#557) --- doc/authentication.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/authentication.md b/doc/authentication.md index c09d0153..b4773e50 100644 --- a/doc/authentication.md +++ b/doc/authentication.md @@ -58,6 +58,7 @@ appSync: - `userPoolId`: The user pool id to use. - `awsRegion`: The region where the user pool is located. Defaults to the stack's region. - `appIdClientRegex`: An optional regular expression for validating the incoming Amazon Cognito user pool app client ID. +- `defaultAction`: `ALLOW` or `DENY`. The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration. When specifying Amazon Cognito user pools as the default authentication, you must set this value to `ALLOW` if specifying additionalAuthentications. Default: `ALLOW`. This field is only available for the default `authorization` configuration. ### OIDC