Skip to content

Commit 8289b06

Browse files
authored
docs(cognito): wrong default value for UserPoolClient authFlows (#26700)
When `authFlows` is not defined `UserPoolClient` will support ALLOW_REFRESH_TOKEN_AUTH, ALLOW_USER_SRP_AUTH, and ALLOW_CUSTOM_AUTH. [Link](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-explicitauthflows) to CFN docs. Closes #26680. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 49a8b28 commit 8289b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-cdk-lib/aws-cognito/lib/user-pool-client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export interface UserPoolClientOptions {
222222
/**
223223
* The set of OAuth authentication flows to enable on the client
224224
* @see https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html
225-
* @default - all auth flows disabled
225+
* @default - If you don't specify a value, your user client supports ALLOW_REFRESH_TOKEN_AUTH, ALLOW_USER_SRP_AUTH, and ALLOW_CUSTOM_AUTH.
226226
*/
227227
readonly authFlows?: AuthFlow;
228228

0 commit comments

Comments
 (0)