[keycloak-user] Access redirect_uri within Freemarker Template

Stian Thorgersen sthorger at redhat.com
Mon Apr 16 08:53:30 EDT 2018


On 16 April 2018 at 10:55, Frederik Schmitt <frederik.schmitt1 at gmx.de>
wrote:

> Thanks for your reply!
>
> I guess this is what we were actually looking for and what we will
> definitely be doing. Thanks for clarifying things here.
>
> It would be quite helpful to have a complete list of all available
> variables (that can be used in the FTL files) somewhere in the
> documentation. Or did we just miss it?
>

+1 That would be nice, but we don't currently have any plans to do it due
to other priorities. Feel free to create a JIRA though.


>
> On 13. Apr 2018, at 11:32, Stian Thorgersen <sthorger at redhat.com> wrote:
>
> There's the client base URL for that exact reason. It will allow linking
> back to the app. It's not really a good idea to use the redirect URI as
> that is not always the application page, but can rather be a special OAuth
> callback URL.
>
> On 13 April 2018 at 11:21, Frederik Schmitt <frederik.schmitt1 at gmx.de>
> wrote:
>
>> Is it possible to somehow access the redirect_uri within the login
>> Freemarker template like accessing the current locale?
>>
>> We want to provide a link using this redirect_uri giving the user the
>> ability to go back to where he came from.
>>
>> Thanks in advance.
>> _______________________________________________
>> 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