Skip to content
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

Authenticate box appears when the logged in user is deleted #4564

Closed
dpakach opened this issue Dec 29, 2020 · 2 comments · Fixed by #7072
Closed

Authenticate box appears when the logged in user is deleted #4564

dpakach opened this issue Dec 29, 2020 · 2 comments · Fixed by #7072
Labels
Priority:p4-low Low priority Type:Bug Something isn't working

Comments

@dpakach
Copy link
Contributor

dpakach commented Dec 29, 2020

Steps to reproduce

  1. create a new user and login
  2. delete the logged-in user
  3. Reload the page as logged in user

Expected behavior

  1. The user should be redirected to the login page or an error page

Actual behavior

  1. An authentication popup appears

Screenshot from 2020-12-29 11-37-28

note I'm not sure if the is a correct behavior or bug, just noticed this while adding test for owncloud/ocis#1129

@dpakach dpakach added the Type:Bug Something isn't working label Dec 29, 2020
@dpakach dpakach changed the title Authenticate box appears when the user is deleted when the logged in user is deleted Authenticate box appears when the logged in user is deleted Dec 29, 2020
@pascalwengerter
Copy link
Contributor

For future reference: We ran into a similar issue too today in the acceptance tests, getting a basic auth popup visible in the VNC client. Here's what happened:

We had a chained method on an unresolved promise
which somehow results in the user getting logged out on the backend
which results in the backend asking for authentication (which is the popup shown here)

@kulmann kulmann added the Priority:p4-low Low priority label Dec 3, 2021
@kulmann
Copy link
Member

kulmann commented Jul 6, 2022

With #7072 being merged you'll get redirected to a login error page in the described scenario. Which includes a link to re-login with a different user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p4-low Low priority Type:Bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants