Hello,
When I call the endpoint “/admin/realms/{{realm}}/users/{{userid}}/execute-actions-email” and the link expired, the error.ftl page is on the “realm login theme” and not on my client “login theme” (whereas I set “client_id” as query param). The error.ftl used for the expired link is not on account on account-console client login theme either…
If I want this page to look like my custom theme, I have to set the theme in the “realm login theme” config but it’s not what I want. I want this particual client to have a custom theme and it’s working except when this link is expired… How can I fix this behaviour ? Is this a bug (link expired not using the client_id ?) or can I get a way of fixing this ?
Thanks !
How did you customize the themes? i.e. which templates or styles did you override? There may be a couple pages that weren’t covered, or some changes across versions resulted in new templates being used that might not have been updated.
Thanks for your answer !
Unfortunately we have the same behaviour with all themes, if I put “keycloak” on my client login theme but “keycloak.v2” on my realm config login theme, then I always get “keycloak.v2” theme on the expired page. And if I swap the two, I get the “keycloak” theme on the expired page.
My custom theme is made with keycloakify.
I think it’s a keycloak server problem, not a theme problem, but if someone has a workaround, I’m interested !
What happens if you trigger a password reset from the admin UI (not using an admin API call from whatever you are using for that) for the same user, and then let that link expire? Same thing or is the theme as expected?