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

Password dialog for public link is triggered after redirection from old web UI #1693

Closed
LukasHirt opened this issue Aug 5, 2019 · 6 comments
Assignees
Labels
Priority:p3-medium Normal priority

Comments

@LukasHirt
Copy link
Collaborator

Steps to reproduce

  1. Open phoenix.owncloud.com
  2. Log in to the old web UI
  3. Navigate into Phoenix via apps menu
  4. Dismiss prompts from browser to login

Expected behaviour

User stays at authorise page of Phoenix

Actual behaviour

I'm redirected to password dialog for public link page

Client configuration

Browser: https://www.whatismybrowser.com/w/HA55HX7

Operating system: Mac OS Mojave

@DeepDiver1975 DeepDiver1975 self-assigned this Aug 5, 2019
@DeepDiver1975
Copy link
Member

I know what this is .....

@DeepDiver1975 DeepDiver1975 added the Priority:p3-medium Normal priority label Aug 16, 2019
@LukasHirt LukasHirt modified the milestone: backlog Aug 23, 2019
@PVince81 PVince81 added this to the Milestone 1: Phoenix for users milestone Sep 24, 2019
@PVince81
Copy link
Contributor

PVince81 commented Oct 8, 2019

I also noticed that whenever I reset my Phoenix env, the browser still believes I'm logged in or in the public link page, but shows an error as it's not valid any more, despite the URL not showing anything.

I suspect this is related to whatever is stored in local storage.

Note that when you are on a public link page that has a password, even after password entry, if you refresh the page it asks for the password again. This is probably because the password is not stored in local storage so it prompts for it again, which I think is ok.

@DeepDiver1975
Copy link
Member

This also happens in cases where the token expires and a PROPFIND is sent which returns with a 401.
https://github.com/owncloud/phoenix/blob/3da3b4e8cbedc427dcf9b42cdefa371d16aefee3/apps/files/src/components/AllFilesList.vue#L124

We might want to think about splitting public files from the 'private files' via url

@DeepDiver1975 DeepDiver1975 removed their assignment Sep 16, 2020
@pascalwengerter
Copy link
Contributor

@LukasHirt could you check if this still happens/has been fixed by all the changes in web-app-files? Can't find the respective code deepdiver mentioned above anymore

@LukasHirt
Copy link
Collaborator Author

Haven't seen the dialog for a very long time now and the code for public/private files have been split wherever it could have been done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p3-medium Normal priority
Projects
None yet
Development

No branches or pull requests

4 participants