[keycloak-user] Hard code redirect_uri on timeout?

Stian Thorgersen sthorger at redhat.com
Wed Dec 14 00:39:55 EST 2016


Pretty sure that's not possible at the moment. Maybe you could do it with a
servlet filter?

On 2 December 2016 at 12:08, Joe Rowe <josepharowe at gmail.com> wrote:

> Hi,
>
> I am working on a jsf application which uses Keycloak for authorisation and
> am having an issue regarding session timeouts. Specifically, when a user's
> session times out Keycloak captures the uri they were visiting at timeout
> and redirects back to it upon the user logging back in from the timeout.
>
> This causes an issue in which session scoped backing beans holding view
> data are empty, and on some pages this can cause exceptions.
>
> Is it possible to modify the redirect uri configuration to disregard the
> page the user was on and instead always redirect to the index of the
> application any time the user's session is interrupted?
>
> I have tried various options in the realm and client settings but without
> luck, and have not found a similar question in the archives.
>
> Many thanks,
> Joe
> _______________________________________________
> 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