Keycloak themes: How to use redirectUri?

Viewed 194

In my login theme I want to render a link back to the 'original' app. '/register' should become '#ORIGIN#/register'.

I tried:

<a href="<#if pageRedirectUri??>${pageRedirectUri}/register<#else>/register</#if>">Register</a>

Without success. ${pageRedirectUri} is never set.

0 Answers
Related