[keycloak-dev] browser backbutton

Bill Burke bburke at redhat.com
Wed Jan 20 19:22:04 EST 2016



On 1/20/2016 3:49 PM, Stian Thorgersen wrote:
>
> One additional thought. Maybe we could add a field to autheticators to 
> say if they support back, cancel or nothing. Then the flow would allow 
> going back if previous supports back. It would allow cancel if all 
> supports it, or nothing is one says nothing
>
> On 20 Jan 2016 19:48, "Stian Thorgersen" <sthorger at redhat.com 
> <mailto:sthorger at redhat.com>> wrote:
>
>     Firstly, let's drop KEYCLOAK-2325 from 1.8 and see if we can fix
>     it for 1.9.
>
>     Secondly, the back button should not navigate backwards in the
>     flow. Also, the refresh button should just redisplay the page as
>     it does now (ignoring the post). A couple ideas to improve things
>     though:
>
>     1) Set cache-control to "Cache-Control: no-store, must-revalidate,
>     max-age=0". This should force a reload of the page when the user
>     clicks the back button
>

Really?  That's cool then, this will basically "disable" the back button 
:)  I'll try it out.

>     2) Can we add a back link to some steps in the flow?
>     3) Can we add a cancel link to some steps in the flow?
>

You can reset the flow to the beginning, but can't go back one step.

-- 
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-dev/attachments/20160120/1bc52564/attachment-0001.html 


More information about the keycloak-dev mailing list