mirror of
https://github.com/floci-io/floci.git
synced 2026-12-06 11:38:06 -05:00
RespondToAuthChallenge takes only ChallengeNameType values, so a challenge DefineAuthChallenge names otherwise, such as MY_CHALLENGE, is answered with CUSTOM_CHALLENGE, as on AWS. The custom session check compared the answer with the trigger's name and refused it with Invalid session for the user. Compare it with the name the challenge is answered as; the responses and the session history keep the trigger's name. Closes #7678