Open Shnoulle opened 7 years ago
Maybe linked to this patch https://github.com/YunoHost-Apps/nextcloud_ynh/blob/master/patches/00-add-logout_url-conf.patch
confirmed here.
in fact you don't even need step 6. you can disconnect from sso, and still be logged in in nextcloud with user1
this means it is error prone when two different users use the same machine for accessing their nextcloud. quite critical imho. but no idea how to fix this...
maybe the http_auth plugin should somehow invalidate the session when it receives a different user than the one from the session/cookie
Think limesurvey_ynh have same issue, i take a look. But clearly : seems critical iun some situtation (maybe i can look to photo uploaded by my son ;) )
I just tested this on latest version 12.0 with the following result:
I thought the closing of https://github.com/YunoHost-Apps/nextcloud_ynh/issues/83 meant this bug also (I called it bug 2) wad solved but this is not yet the case :-( Hope some solution can be found.
Somebody reported this issue today.
Do we have any way foreseen to fix this ? :s
This a long pending issue on every apps: how can you automatically log out from applications when logging out from the portal? Naively there could be a mechanism in SSOwat to subscribe to different apps logout URL and call them from the client browser when logging out from the portal... yet there may be cross-site security issues...
Hello, I had this problem today : one of my friend used my computer to go to his Nextcloud account. I clicked log out in the SSO panel wich was connected to his account, then I went to the Nextcloud page and I found it still connected to my friend's account.
This issue is quite old, how could I help to fix it ? Is there any updated since last message ?
I'm afraid not...
No update on this issue?
Not really, this is not trivial to fix ...
c.f. https://github.com/YunoHost/issues/issues/501 which is the more general core issue (because several apps are affected by this kind of stuff).
Maybe in the most simple case it's only about invalidating some cookies but it's not clear ... somebody needs to have a deep look into it
A workaroudn with questionable security is to disable CSFR on nextcloud as per https://github.com/nextcloud/user_saml/issues/114#issuecomment-2053672055 and then use nginx to redirect you after loging out of yunohost to cloud.yourdomain.xyz/logout
Step to reproduce : you need 2 user's
Same issue with owncloud before.