[OCISDEV-128] The logon page cannot be open after the user been deleted
Describe the bug
When I delete my old user account and want to logon as a new user, I can not open the logon page. It will always jump to the error page until I clear the browser data.
Here is the url of the error page. https://domain-name/oidc-callback?error=server_error&error_description=user%20not%20found&state=c374ef87980e4e3ab279697ac6242c2a
Steps to reproduce
Steps to reproduce the behavior:
- Logon with user one, DO NOT logout.
- Using the admin user to delete user one in another browser (or private mode).
- Open the homepage of ocis in the first browser, and the error comes up.
Expected behavior
Show the error and jump to logon page.
Actual behavior
Only show the error and provide no way to logon again.
Setup
- ownCloud Infinite Scale: 3.1.0-next.2+9b4244b08
- Web client: 7.0.1
I can confirm this. Deleting the logon cookie set by the lico IDP makes things work again. I am not 100% but this looks like an issue with the web ui to me.
Shouldn't the cookie be deleted when showing that
Logged out
You were automatically logged out for security reasons.
ownCloud – A safe home for all your data
Page?
Needs discussion and proper planning