From db9bd692cb7b97dede7b5b74a3a9d8ecf529f9b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20Andr=C3=A9?= <92062874+matheusandre1@users.noreply.github.com> Date: Mon, 21 Sep 2026 09:45:38 -0300 Subject: [PATCH] docs(cognito): drop ADMIN_USER_SRP_AUTH from the supported AuthFlow list (#4028) The value does not exist in AWS: botocore's AuthFlowType enum has no ADMIN_USER_SRP_AUTH member, so no SDK can send it. Advertising it invites templates and client calls that real AWS rejects. The case label in CognitoAuthFlowHandler stays as tolerance. Closes #3996 --- docs/services/cognito.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/services/cognito.md b/docs/services/cognito.md index bc1022257a..8f93522934 100644 --- a/docs/services/cognito.md +++ b/docs/services/cognito.md @@ -199,7 +199,7 @@ further divergences, both deliberate: `InitiateAuth` accepts `USER_PASSWORD_AUTH`, `USER_SRP_AUTH`, `CUSTOM_AUTH`, `USER_AUTH`, `REFRESH_TOKEN_AUTH` and `REFRESH_TOKEN`. `AdminInitiateAuth` accepts `ADMIN_USER_PASSWORD_AUTH`, -`ADMIN_NO_SRP_AUTH`, `ADMIN_USER_SRP_AUTH`, `USER_SRP_AUTH`, `USER_PASSWORD_AUTH`, `CUSTOM_AUTH`, `USER_AUTH`, +`ADMIN_NO_SRP_AUTH`, `USER_SRP_AUTH`, `USER_PASSWORD_AUTH`, `CUSTOM_AUTH`, `USER_AUTH`, `REFRESH_TOKEN_AUTH` and `REFRESH_TOKEN`. `USER_AUTH` is the choice-based flow: with no `PREFERRED_CHALLENGE` it returns