Re: [keycloak-user] Changing url in reset-password emails
by Benjamin Hansmann [alphaApps]
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(a)hotmail.com>
Datum:21.10.2015 18:57 (GMT+01:00)
An: keycloak-user(a)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