Question 370
A Cognito application accepts logins for some users but rejects all sign-ins after an IdP attribute-mapping change. A reviewer believes the existing approach is sufficient. Why is the current security posture insufficient for this workload?
Explanation
Correct Answer
The failure mechanism is: Federated authentication can fail when required attributes or token validation settings no longer match the configured provider. It is evidenced by: A Cognito application accepts logins for some users but rejects all sign-ins after an IdP attribute-mapping change. The correction is therefore: Inspect identity-provider metadata, mapped claims, user-pool configuration and authentication logs for the failing flow. The decisive follow-up evidence is: A test identity with the required claim mappings completes sign-in while a deliberately malformed assertion remains denied.
Incorrect Answers
Identity federation can fail if the service provider validates an outdated signature key or wrong audience identifier. The stated symptoms instead indicate that federated authentication can fail when required attributes or token validation settings no longer match the configured provider.
Cross-account access often requires compatible permissions on both sides of a resource boundary, not only a caller-side allow. The stated symptoms instead indicate that federated authentication can fail when required attributes or token validation settings no longer match the configured provider.
Embedding long-lived credentials on the instance adds persistence and theft exposure that roles avoid. The stated symptoms instead indicate that federated authentication can fail when required attributes or token validation settings no longer match the configured provider.