[keycloak-user] Changing url in reset-password emails

Benjamin Hansmann [alphaApps] b.hansmann at alphaapps.de
Wed Oct 21 13:10:34 EDT 2015


That's exactly what I was asking two hours ago. I've found a temporary workaround:

In the keycloak services module I patched the method loginBase in Urls.java to replace hostname. I added a nullcheck and used an Uribuilder to keep everything else as is, otherwise it failed to reset password. I built the module with maven and replaced just the keycloak-services jar on my server. Maybe this causes issues somewhere else, I don't know...


-------- Ursprüngliche Nachricht --------
Von: Fabio Monteiro <fmrage at hotmail.com> 
Datum:21.10.2015  18:57  (GMT+01:00) 
An: keycloak-user at lists.jboss.org 
Cc:  
Betreff: [keycloak-user] Changing url in reset-password emails 

Hi,  

We use keycloak API rest to send email password reset to users. But we would need to change the host part of the url  used in the email link presented to users in the email sent to them. 

Is there an easy way to do so, you guys know??

This is quite critical right now for our app so any help would be MUCH appreciated. THANKS A LOT

Fabio Monteiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151021/36c9a92d/attachment.html 


More information about the keycloak-user mailing list