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

Share link redirect to Nextcloud login page since upgrade to version 30.0.6 #831

Open
pierresebastien opened this issue Feb 25, 2025 · 0 comments
Labels

Comments

@pierresebastien
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create a new credential in a Passman Vault
  2. Select your credential and lcick on the share button
  3. Go the share link tab and enable it
  4. Copy the link in a new browser window (in private/incognito mode)

Expected behaviour

The page load and allow me to access the credential

Actual behaviour

The page load but very quickly I have an error 401 and I am automatically redirected to the login page of my Nextcloud instance.

I think it is related to this change nextcloud/server#49208 (backported in version 30.0.6 in this PR: nextcloud/server#49940) that intercepts error 401 to redirect users to the login page and I have an error 401 during the page load when my browser try to retrieve the passman settings (/apps/passman/api/v2/settings)

Server configuration

Web server: Apache

Database: MariaDb

PHP version: 8.2.27

Nextcloud version: Nextcloud Hub 9 (30.0.6)

List of activated apps
./occ app:list
Enabled:
  - activity: 3.0.0
  - app_api: 4.0.6
  - bruteforcesettings: 3.0.0
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 7.0.0
  - contactsinteraction: 1.11.0
  - dav: 1.31.1
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_antivirus: 5.6.1
  - files_downloadlimit: 3.0.0
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - firstrunwizard: 3.0.0
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - nextcloud_announcements: 2.0.0
  - notifications: 3.0.0
  - oauth2: 1.18.1
  - onlyoffice: 9.6.0
  - passman: 2.4.11
  - password_policy: 2.0.0
  - photos: 3.0.2
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - recommendations: 3.0.0
  - related_resources: 1.5.0
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - support: 2.0.0
  - survey_client: 2.0.0
  - systemtags: 1.20.0
  - text: 4.1.0
  - theming: 2.6.0
  - twofactor_backupcodes: 1.19.0
  - twofactor_totp: 12.0.0-dev
  - updatenotification: 1.20.0
  - user_saml: 6.5.0
  - user_status: 1.10.0
  - viewer: 3.0.0
  - weather_status: 1.10.0
  - webhook_listeners: 1.1.0-dev
  - workflowengine: 2.12.0

Browser

Browser name: Firefox

Browser version: 135

Operating system: Windows

Browser call stack (simplified)
- GET https://<nextlcoud_comain>/apps/passman/share/public -> 200
- Lot of CSS, JS, font, images calls
- GET https://<nextlcoud_comain>/ocs/v2.php/apps/user_status/api/v1/user_status -> 200
- GET https://<nextlcoud_comain>/apps/passman/api/v2/settings -> 401
- GET https://<nextlcoud_comain>/apps/files -> 401
- GET https://<nextlcoud_comain>/apps/passman/admin/delete-requests -> 401
- GET https://<nextlcoud_comain>/login?redirect_url=%2Fapps%2Fpassman%2Fshare%2Fpublic%23 -> 302 (I may have a 302 instead of 200 because I use SAML login)
@pierresebastien pierresebastien changed the title Share link redirect to Nextcloud login page sinc upgrade to version 30.0.6 Share link redirect to Nextcloud login page since upgrade to version 30.0.6 Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant