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

Stian Thorgersen sthorger at redhat.com
Tue Mar 20 16:44:29 EDT 2018


I'd imagine Undertow filters can do this. You'll probably find the details
on how to do that on Google.

On 19 March 2018 at 12:52, Derek Gibson <
derek.gibson+keycloak-list at cimenviro.com> wrote:

> 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
> _______________________________________________
> 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