Additionally, I think we should set the portal sessions to be "shorter". They are currently set to 1 year and its quite problematic. I noticed there is a setting under "chi.conf" to set the httpd.portal cache values (im testing with 5 minutes). The default value is undefined which I'm not sure what that value is.
Right now, with the chi.conf timeout to 5 minutes, I notice that if I don't try to complete my login in 5 minutes, next time I open the portal I get back to the start which I think can be an acceptable compromise. But to be honest, having maybe the oauth occur inside an iframe and keep the "logout" (restart) button always visible might be better. On Mon, Mar 25, 2019 at 9:36 PM Diego Garcia del Rio <[email protected]> wrote: > Dear users, > > When using google oAuth or any other oAuth external authentication, if we > do not enable the "require AUP" checkbox, the user is redirected straight > into google for example. I notice that this was done expressly as shown by > this code commit: > > > https://github.com/inverse-inc/packetfence/commit/8fdf9b009ac34ba801b1ecb34119a079d5ff0cee > > The problem is that the user is now "stuck" on google's auth. If he > accidentally clicked on google's auth, there is no way "back" to select > another authentication option. Even if he disconnects from the wifi and > connects again, the session cookies will throw him back immediately into > the oauth path and its quite problematic. > > Im not sure what the best path forward would be. The AUP path is a bit > cumbersome especially since it requires two steps (one is clicking "accept" > the AUP and the next is the "login" button to actually go to google. Im not > 100% sure how we could make the "accept" button be "accept and submit" for > example... > > Any ideas? > > thanks! > >
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
