<html><body><div>Hi All,</div><div><br></div><div>I've seen that both bugs have the Fix Version 1.1.1.Final, that's great.</div><div>Do you already know the release date for this version?</div><div><br></div><div>Best</div><div>Michael</div><div><br></div><div>Am 02. Februar 2015 um 09:32 schrieb Michael Gerber &lt;gerbermichi@me.com&gt;:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div><br></div><div><br>Am 02. Februar 2015 um 09:07 schrieb Stian Thorgersen &lt;stian@redhat.com&gt;:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span class="body-text-content"><span class="body-text-content"><br><br>----- Original Message -----<br></span></span><blockquote class="quoted-plain-text" type="cite">From: "Michael Gerber" &lt;<a href="mailto:gerbermichi@me.com" data-mce-href="mailto:gerbermichi@me.com">gerbermichi@me.com</a>&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">To: "Stian Thorgersen" &lt;<a href="mailto:stian@redhat.com" data-mce-href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">Cc: "keycloak dev" &lt;<a href="mailto:keycloak-dev@lists.jboss.org" data-mce-href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">Sent: Sunday, 1 February, 2015 4:09:35 PM</blockquote><blockquote class="quoted-plain-text" type="cite">Subject: Re: [keycloak-dev] Looking for a workaround...</blockquote><blockquote class="quoted-plain-text" type="cite"></blockquote><blockquote class="quoted-plain-text" type="cite">I would look at the following scenario:</blockquote><blockquote class="quoted-plain-text" type="cite">A user starts with the login process and then takes a long break (15 mins or</blockquote><blockquote class="quoted-plain-text" type="cite">more) without locking his computer.</blockquote><span class="body-text-content"><span class="body-text-content"><br>Is this not a relatively uncommon use-case? Would a error message with a link back to the application be a good enough solution?</span></span></div></div></blockquote><span>&nbsp;</span></div><div>Unfortunately, it isn't. We have got customers which use one computer for multiple users. And this users are used to logout from the application without closing the browser.</div><div>The new user then uses the same browser to login. And this action would lead to an error, which is for the user not understandable.</div><div><br><blockquote type="cite"><div class="msg-quote"><div class="_stretch"><span class="body-text-content"><span class="body-text-content"><br><br></span></span><blockquote class="quoted-plain-text" type="cite"></blockquote><blockquote class="quoted-plain-text" type="cite">There are critical processes like password changes, which should definitely</blockquote><blockquote class="quoted-plain-text" type="cite">expires after a view minutes and others like authentication which does not</blockquote><blockquote class="quoted-plain-text" type="cite">matter if they don’t expire during this break.</blockquote><span class="body-text-content"><span class="body-text-content"><br>As above we need to improve the error page in this case. With a way back to the application as well.<br><br></span></span><blockquote class="quoted-plain-text" type="cite"></blockquote><blockquote class="quoted-plain-text" type="cite">critical actions:</blockquote><blockquote class="quoted-plain-text" type="cite">- OAUTH_GRANT</blockquote><blockquote class="quoted-plain-text" type="cite">- CODE_TO_TOKEN (already seperate)</blockquote><blockquote class="quoted-plain-text" type="cite">- VERIFY_EMAIL</blockquote><blockquote class="quoted-plain-text" type="cite">- RECOVER_PASSWORD</blockquote><blockquote class="quoted-plain-text" type="cite">- UPDATE_PROFILE</blockquote><blockquote class="quoted-plain-text" type="cite">- CONFIGURE_TOTP</blockquote><blockquote class="quoted-plain-text" type="cite">- UPDATE_PASSWORD</blockquote><blockquote class="quoted-plain-text" type="cite"></blockquote><blockquote class="quoted-plain-text" type="cite">non-critical actions:</blockquote><blockquote class="quoted-plain-text" type="cite">- AUTHENTICATE</blockquote><blockquote class="quoted-plain-text" type="cite">- SOCIAL_CALLBACK</blockquote><blockquote class="quoted-plain-text" type="cite"></blockquote><blockquote class="quoted-plain-text" type="cite">&gt; Am 30.01.2015 um 14:25 schrieb Stian Thorgersen &lt;<a href="mailto:stian@redhat.com" data-mce-href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;:</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt; What groups would you propose?</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt; ----- Original Message -----</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; From: "Michael Gerber" &lt;<a href="mailto:gerbermichi@me.com" data-mce-href="mailto:gerbermichi@me.com">gerbermichi@me.com</a>&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; To: "Stian Thorgersen" &lt;<a href="mailto:stian@redhat.com" data-mce-href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; Cc: "keycloak dev" &lt;<a href="mailto:keycloak-dev@lists.jboss.org" data-mce-href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; Sent: Monday, 26 January, 2015 4:23:49 PM</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; Subject: Re: [keycloak-dev] Looking for a workaround...</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt; ----- Original Message -----</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; From: "Michael Gerber" &lt;<a href="mailto:gerbermichi@me.com" data-mce-href="mailto:gerbermichi@me.com">gerbermichi@me.com</a>&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; To: "Stian Thorgersen" &lt;<a href="mailto:stian@redhat.com" data-mce-href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; Sent: Monday, January 26, 2015 2:10:59 PM</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; Subject: Re: [keycloak-dev] Looking for a workaround...</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; ----- Original Message -----</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; From: "Michael Gerber" &lt;<a href="mailto:gerbermichi@me.com" data-mce-href="mailto:gerbermichi@me.com">gerbermichi@me.com</a>&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; To: <a href="mailto:keycloak-dev@lists.jboss.org" data-mce-href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a></blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; Sent: Monday, January 26, 2015 1:37:53 PM</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; Subject: [keycloak-dev] Looking for a workaround...</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; Hi all,</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; I receive a lot of bug reports from our test team because of the</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; following</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; two issues:</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; - Reset password leads to 400 Bad Request (</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; <a href="https://issues.jboss.org/browse/KEYCLOAK-1014" data-mce-href="https://issues.jboss.org/browse/KEYCLOAK-1014">https://issues.jboss.org/browse/KEYCLOAK-1014</a> )</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; This is a tricky one - we can't ignore the state variable as that would</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; make</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; it vulnerable.</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; We could probably come up with an alternative way to generate and verify</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; state variable though. Could be a HMAC for example.</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; So you would remove the state cookie?</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt; It could potentially be a solution - I started a separate thread on</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt; keycloak-dev to discuss this.</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; - Login attempt after "Login user action lifespan" leads to "Invalid</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; username</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; or password." ( <a href="https://issues.jboss.org/browse/KEYCLOAK-1015" data-mce-href="https://issues.jboss.org/browse/KEYCLOAK-1015">https://issues.jboss.org/browse/KEYCLOAK-1015</a> )</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; I agree that the error message is not very good, but I disagree with</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; removing</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; the expiration. Why not increase it to say 30 min? That's probably a</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; more</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; sensible timeout for reset password as well.</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; I prefer an expiration of 5 min for the password update process, but</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; thats</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; a</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; bit short for the authentication or password reset process.</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; I think the best solution would be different expiration times for the</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; different processes, wouldn't it?</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt; Maybe - we do try to keep configuration options to a minimum as these</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt; introduce complexity as well as potentials for bug/security issues.</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; I totaly understand that.</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; You have currently the following actions:</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; OAUTH_GRANT,</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; CODE_TO_TOKEN,</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; VERIFY_EMAIL,</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; UPDATE_PROFILE,</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; CONFIGURE_TOTP,</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; UPDATE_PASSWORD,</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; RECOVER_PASSWORD,</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; AUTHENTICATE,</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; SOCIAL_CALLBACK</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; And it doesn't make sense to have a different conffiguration for every</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; one...</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt; But maybe we can group it into different groups?</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; Do you have any good ideas for a workaround?</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; Best</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; Michael</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; _______________________________________________</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; keycloak-dev mailing list</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; <a href="mailto:keycloak-dev@lists.jboss.org" data-mce-href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a></blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt;</blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" data-mce-href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></blockquote><blockquote class="quoted-plain-text" type="cite">&gt;&gt;&gt;&gt;</blockquote></div></div></blockquote></div></div></blockquote></div></body></html>