[keycloak-user] Users experience multiple emails sent from Keycloak

Dick Eimers dick.eimers at luminis.eu
Thu Sep 22 13:28:26 EDT 2016


Hi,

This issue seems to annoy quite a few of our users. It is hard to believe that we are the only ones. I’m looking for some fellow sufferers and hopefully share some ideas/workarounds..


> On 20 Sep 2016, at 22:00, Dick Eimers <dick.eimers at luminis.eu> wrote:
> 
> Hi, 
> 
> We've got report about users who received activation/login-action emails (sent by Keycloak) multiple times. 
> After doing a bit of investigation we found out that emails are sent as a side-effect of pages obtained using a GET request, which could be the cause of sending multiple emails. 
> 
> For example, after registration we hit a page at location:
> 	<domain>/auth/realms/<realm>/login-actions/required-action?code=<code>
> which also sends an email with the activation-link. Reloading this page results in the email being sent again (with a fresh code, invalidating the old one).
> 
> So maybe users are refreshing the page unintentionally, or their (mobile) browser is. Or they could be using the back-button and again hit this page, which sends the request once again also resulting in a new mail.
> 
> Is anyone else running into this? Should we create a new JIRA issue to fix/improve this?
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user




More information about the keycloak-user mailing list