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
This commit is contained in:
Matheus André authored and GitHub committed 2026-09-21 08:45:38 -04:00
1 parent 138f3c2650
commit db9bd692cb
1 file changed
+1 -1
+1 -1
View File
@@ -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