[keycloak-user] Rollback keycloak user creation transaction when event listener fails

upesh.m upesh.m at edgeverve.com
Wed Apr 5 08:44:33 EDT 2017


Hi,I have a custom SPI which listens to 
CREATE USER
 admin event and doing some operation in another database. But when the SPI
fails (when unable to insert to the other database) , I have to revert the
user creation in keycloak. I tried by throwing a runtime exception in my
event listener, but event then the user creation was successful in keyclaok.
Can somebody please help? I am in urgent need for this.Any help is greatly
appreciated. ThanksUpesh M.



--
View this message in context: http://keycloak-user.88327.x6.nabble.com/Rollback-keycloak-user-creation-transaction-when-event-listener-fails-tp3448.html
Sent from the keycloak-user mailing list archive at Nabble.com.


More information about the keycloak-user mailing list