mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
Floci issued six digits for every code. Measured on AWS (eu-west-1, 2026-10-16), through a Custom Email Sender that printed what Cognito handed it: the USER_AUTH EMAIL_OTP sign-in codes were 06988020, 50415180 and 81488702, eight digits, while the sign-up, resent, forgotten-password, UpdateUserAttribute and VerifyUserAttribute codes had six. A client that checks the length, or a test that reads the code from a message, sees the difference. Only the email sign-in code changes. MFA codes (SMS_MFA, EMAIL_MFA) and SMS_OTP keep six digits: they were not measured, and nothing here guesses. The Cognito tests now read codes through one CognitoCodes helper, in place of the six copies of the same extraction they carried.