SolidOS / solidos

The operating system for Solid
https://solidos.solidcommunity.net/
MIT License
127 stars 19 forks source link

Auth-Upgrade cookie/session problem #58

Closed timea-solid closed 3 years ago

timea-solid commented 3 years ago

While testing on solidcommunity.net:8443 with NSS and mashlib@1.7.5-alpha-3-98ed3958 deployed 13.09.21. It is not a session expiration issue because the problem only occurs on certain activities (clicking on resources) in the pod while logged in. Cannot reproduce in a consistent manner it appear at random, at first evaluation. What happens:

Screenshot 2021-09-14 at 12 11 15 and I cannot login anaymore at all (Same issue appears). Solution that works: logout on the server page and then login again. Screenshot 2021-09-14 at 12 12 50

jeff-zucker commented 3 years ago

when clicking around from resource to resource at some point the use is logged out

This is the problem, not what happens later when you try to login a second time. This logging out should not be happening so we should not focus on what occurs after it happens but on preventing it from happening. My first question is - how do you know you have been logged out? Because the error you show on logging back in is an error from a duplicate login so my guess is that you were not really logged out but that the UI thought you were logged out. Is there a login button? Are your pane-icons the full set you get when you login? Can you create, edit, or delete a resource? Each of these aspects of logging out is different so it is important to notice if they are all occurring or only one.

timea-solid commented 3 years ago

For now, with the latest auth-upgrade changes, I cannot seem to reproduce this behavior. I will keep an eye.

bourgeoa commented 3 years ago

Solved as from beta