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.
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: