On 13 September 2016 at 14:27, Stan Silvert <ssilvert@redhat.com> wrote:
On 9/13/2016 7:22 AM, Stian Thorgersen wrote:
We currently have the low-level Event Listener SPI, but IMO it's not very user friendly.

I propose we add two higher level SPIs with a more user friendly API. The SPIs would be:
+1.  Another built-in email would be for profile updated.  That one is pretty common.

I got an email from eBay after changing my address, it said congratulations on your move to a new country. We should have something similar for people that change their last name, not sure which one is most likely to be accurate "congratulations with your wedding" or "congratulations with your divorce".
 

User Event SPI with the following events:

* User Created (include details on why it was created, i.e. self register, idp, admin)
* User Profile Updated
* User Credentials Updated
* User Deleted

Login Event SPI with the following events:

* Login
* Login Failure
* Logout (include session timeout)
* Client Login

We should use the new SPIs to also implement a number of built-in emails that can be sent for users. Each email would be optional. Examples could be:

* Welcome mail
* Login on new device notification
* Login failure notification
* Password updated notification



_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev


_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev