[keycloak-user] Client Id and Timeout

Bill Burke bburke at redhat.com
Fri Jan 15 15:23:07 EST 2016


NO, you can't.  This would create an open redirect probably and the 
themes are supposed to be completely independent of the protocol.

On 1/15/2016 3:06 PM, Travis De Silva wrote:
> I can understand that. But without the client ID, we cannot redirect 
> them back to the login screen.
>
> Is there anyway where the redirect url can be sent as a query string 
> together with the code. That way, we can then pick the redirect url 
> from the query string and redirect the user back to the appropriate 
> login screen.
>
>
> On Thu, 14 Jan 2016 at 18:56 Stian Thorgersen <sthorger at redhat.com 
> <mailto:sthorger at redhat.com>> wrote:
>
>     Once the client session is removed (it's deleted at some point
>     after the login has timed out) the client id is no longer
>     available. We have to delete this session at some point as
>     otherwise we'd be left with garbage from abandoned logins
>
>     On 13 January 2016 at 21:27, Travis De Silva <traviskds at gmail.com
>     <mailto:traviskds at gmail.com>> wrote:
>
>         Hi,
>
>         For theming the login for different clients within a realm, we
>         are conditionally checking for the client ID in the freemarker
>         templates and then accordingly including sub freemarker
>         templates. This is working perfectly but the issue is for
>         certain errors, such as "You took too long to login. Login
>         process starting from beginning.", the clientid becomes null
>         ( (sometimes).
>
>         Is there anything I can do from the freemarker template to
>         identify the client id so I can then accordingly handle these
>         errors?
>
>         Cheers
>         Travis
>
>
>
>         clientId=null
>
>
>         _______________________________________________
>         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
>
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160115/e129dbd1/attachment.html 


More information about the keycloak-user mailing list