Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Exit page re-appears in loop when logged in user is deleted #4677

Description

@swoichha

Steps to reproduce

  1. create a new user and login
  2. delete the logged-in user
  3. Reload the page as logged in user
  4. The user should be redirected to an error page
  5. The user press exit to log in with another account

Expected behavior

  • The user should be redirected to the login page

Actual behavior

  • Instead of login page, the exit page re-appears.

Screenshot from 2021-02-02 12-01-59

Activity

  1. added
    Type:Bug
    on Feb 2, 2021
  2. changed the title [-]Exit page re-appears in loop for deleted user[/-] [+]Exit page re-appears in loop when logged in user is deleted[/+] on Feb 2, 2021
  3. AlexAndBear commented on Jul 7, 2022

    @AlexAndBear
    Contributor

    Actual behavior differs a little:
    You will be redirected to the Login Error page, clicking on exit, doesn't trigger any action.
    After reloading you will be stuck in the Authentication failed page.

    Unfortunately, #7072 does not fix the problem.

    Reopening...

  4. AlexAndBear commented on Jul 7, 2022

    @AlexAndBear
    Contributor

    Might be related: owncloud/ocis#3521

  5. reopened this on Jul 7, 2022
  6. rhafer commented on May 17, 2023

    @rhafer

    I believe this is not fully fixed. I can't get back to the login page. Always get redirected to an error page:

    2023-05-17.16-06-22.mp4

    BTW this issue is also still mentioned in the expected failures even though it was closed:
    https://github.com/owncloud/web/blob/master/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md?plain=1#LL12C1-L14C1

  7. reopened this on May 17, 2023
  8. moved this to In progress in Web Support Boardon Jun 19, 2023
  9. moved this from In progress to Bugs Prio 3 or less in Web Support Boardon Jun 23, 2023
  10. moved this from Qualification to Prio 3 or less in Infinite Scale Team Boardon Oct 27, 2023
  11. JammingBen commented on Dec 13, 2023

    @JammingBen
    Contributor

    Hitting a dead end here. There seems to be some issue when trying to unload the user in case of an error. For some reason, the state/storage doesn't get cleared properly.

    I digged deep into the oidc lib, but the only way I found to make it clean properly is to call signoutRedirect, which eventually redirects the user to the login page. Hence we would lose the accessDenied page. You can specify another URL to route to after logout, but that doesn't work either. I'm out of ideas honestly...

    Same issue: #9562

  12. kobergj commented on Feb 11, 2025

    @kobergj
    Collaborator

    Assuming this fixed meanwhile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:p4-lowType:Bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions