web icon indicating copy to clipboard operation
web copied to clipboard

[OCISDEV-128] The logon page cannot be open after the user been deleted

Open shishouyuan opened this issue 2 years ago • 3 comments

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:

  1. Logon with user one, DO NOT logout.
  2. Using the admin user to delete user one in another browser (or private mode).
  3. 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

shishouyuan avatar Jun 30 '23 10:06 shishouyuan

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.

rhafer avatar Aug 09 '23 10:08 rhafer

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?

rhafer avatar Aug 09 '23 10:08 rhafer

Needs discussion and proper planning

kobergj avatar Apr 07 '25 08:04 kobergj