[keycloak-user] Regarding the email Verification link

Dmitry Telegin dt at acutus.pro
Wed Feb 6 11:04:24 EST 2019

Hello Nathan,

Keycloak uses Hostname SPI [1] to resolve hostname, which is in turn used to construct email verification link. There are two implementations OOTB, request-based and fixed [2]. You probably need a custom provider that would be a combination of both, conditionally resolving to external hostname in some cases. 

[1] https://github.com/keycloak/keycloak/tree/master/server-spi/src/main/java/org/keycloak/urls
[2] https://www.keycloak.org/docs/latest/server_admin/#host

Good luck,
Dmitry Telegin
CTO, Acutus s.r.o.
Keycloak Consulting and Training

Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
+42 (022) 888-30-71
E-mail: info at acutus.pro

On Tue, 2019-02-05 at 10:22 +0000, senthil  nathan wrote:
> Dear KeyCloak Users,
> We have requirement to get the email verification link URL accessible to public, when we use admin rest 
> API.
> In Our Current architecture application is running with private IP, Key Cloak is hosted in separately, 
> which can accessible via load balancer. We would like to use the admin rest API for getting the 
> verification link in email with the load balancer url instead of private IP URL (keycloak and Application 
> uses private IP for admin rest API communication )
> Any help on resolving this issue is appreciated
> Regards
> SPS. Nathan
> _______________________________________________
> 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