mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
Every MFA refusal here was this package's own sentence. IAM answers EnableMFADevice and ResyncMFADevice with 'Authentication code for device is not valid.' and a duplicate virtual device with 'MFA device already exists.', both recorded and both wholly fixed text. STS answers two sentences rather than one, by which half of the claim failed: a serial no device of the caller's answers to, or a code that device did not produce. Both are 403 AccessDenied, so the sentence is the only thing that tells a caller which half to look at, and the whitespace inside them is AWS's own. RequestMfaClaim carries the reason now, so the seam both session operations share can word them apart.