[keycloak-user] Account action links in emails with admin on different port

Derek Gibson derek.gibson+keycloak-list at cimenviro.com
Mon Mar 19 07:52:18 EDT 2018


Hi there,

Running Keycloak 3.4.0.Final

We've split out admin and user interfaces using the documentation on port
restrictions
http://www.keycloak.org/docs/latest/server_admin/index.html#port-restriction
And successfully have /auth/admin restricted to port 8444

Our problem is that when an admin sends an email for account action, it
gets sent with the url of
https://keycloak:8444/auth/realms/arealm/login-actions/action-token?...
instead of
https://keycloak/auth/realms/arealm/login-actions/action-token?...

Is there a way to get the emails to use the default uri instead of the
admin one through a simple config change without hardcoding the hostname or
creating email templates?

Thanks
Derek


More information about the keycloak-user mailing list