Selast Lambou
Selast Lambou

Reputation: 748

Is it possible to trigger a custom action on new user with Keycloak?

I have a well working Keycloak and a MailChimp account to link. Users should be added with their email to the MailChimp account, once they're added to the Keycloak. What should I do?

I'm using spring boot and token-exchange in the backend to create user accounts, and send back token responses. I wanted to do verification in the backend, but it won't work as expected, as the Keycloak would be joined to another app, which isn't using my backend.

Any Ideas?

Upvotes: 3

Views: 8424

Answers (1)

identigral
identigral

Reputation: 3959

Implement Event SPI (your own code - see example), listen to/acquire the event of interest to you and execute your custom "action".

Upvotes: 1

Related Questions