simpleidserver / SimpleIdServer

OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core
https://simpleidserver.com/
Apache License 2.0
693 stars 91 forks source link

fix(masstransit): publish event after commit to avoid race condition with DB #560

Closed danflomin closed 11 months ago

danflomin commented 11 months ago

If the event's consumer uses the ID from the event to query the DB, it might get the wrong data, as the SCIMReperesentation might not have been committed to the DB yet.