Files
floci/src/test/java
Lorenzo Galassi a7b0826c96 fix(cognito): 🐛 include USERNAME in SRP PASSWORD_VERIFIER challenge (#1316)
InitiateAuth with USER_SRP_AUTH returned a PASSWORD_VERIFIER challenge
whose ChallengeParameters carried USER_ID_FOR_SRP but not USERNAME. Real
AWS Cognito returns both, and the .NET Amazon.Extensions.CognitoAuthentication
SRP client reads ChallengeParameters["USERNAME"], so it threw
KeyNotFoundException against floci.

Add USERNAME alongside USER_ID_FOR_SRP and assert it in the SRP flow test.

Closes #1305
2026-06-13 02:30:27 -05:00
..