[keycloak-user] Access redirect_uri within Freemarker Template

Frederik Schmitt frederik.schmitt1 at gmx.de
Mon Apr 16 04:55:05 EDT 2018


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?

> 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 <mailto: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 <mailto:keycloak-user at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/keycloak-user <https://lists.jboss.org/mailman/listinfo/keycloak-user>
> 



More information about the keycloak-user mailing list