gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.29k stars 1.74k forks source link

Using SAML app gives ConditionalCheckFailedException on backend with DynamoDB #39833

Open greedy52 opened 5 months ago

greedy52 commented 5 months ago

Expected behavior: Using SAML app should have one audit log per logic/click from WebUI. Backend should not error when emitting the event. (the event is saml.idp.auth, with display name SAML IDP authentication)

Current behavior: Only first-time login gives an audit log. Proxy/Auth throws errors on audit event emitted on the same session ID after first login.

Related issue: Thanks to https://github.com/gravitational/teleport/pull/38495, now we are catching this. Prior to #38495, it was likely silently overwriting the same key.

Bug details:

greedy52 commented 1 month ago

Can this be closed now?