-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[oC10] Logging out of oC classic does not log out of oC web #7018
Comments
For the user, an even weirder and more concerning facet of this issue is that logging in with another user and switching over to the new design still has the old user (logged out in classic ui but never logged out in new web ui). The underlying issue is the same. oC Web only checks the backend for a new login if there is no valid access token. Since it's still cached from the previous login it's continued to be used. |
I'll investigate and see if there is something we can do about it. |
Well about that... e.g. the desktop client needs to stay logged in. So we only want to invalidate the tokens from the |
It would be a new feature of the oauth2 app: new flag for any configured client like "invalidate on logout". The clients are not typed in any way, so you can't tell the oauth2 app to kill all tokens that are related to "the web client". There is no such thing, and shouldn't be. So I guess it has to be a new option of the client. |
I've created a PoC for this approach, however, I ran into a nasty behavior which makes it very hard to go this way. owncloud/oauth2#335 |
While you iron out a solid approach, what would be a hacky way to log out the user completely, since clearing the cookies is not working for me? Cannot use Web in production right now because of this. |
Tried calling |
The issue has two sides. As a really hacky way for (2) you could try to call the |
Ok, so 1 will be solved around Tuesday, now for 2 I am trying the following as you said: 1: Log in oc Web on the browser What am I missing? What should be on the POST body? You said I need a classic UI session active, I assume that when I request the url https://your-owncloud.tld/ it shows me https://your-owncloud.tld/index.php/login which is the Classic one, then I log in and since I have |
@kulmann |
Closing as OC10 Support has been discontinued with version 7.1.0 |
Similar to #5886 but the other way around
Steps to reproduce
Expected behaviour
User is fully logged out. Both in classic and in new design
Actual behaviour
Only the session for the classic UI is killed. The access token seems to be still valid.
Notes
This might as well be an oauth2 bug. The ticket here describes the bug behaviour as the user perceives it and should stay in this repo. If the underlying bug is an oauth2 app bug we'll create a separate ticket and link it here.
The text was updated successfully, but these errors were encountered: