Skip to content

Fix/3638 shared link account - #3845

Open
rupanjana15 wants to merge 2 commits into
HeyPuter:mainfrom
rupanjana15:fix/3638-shared-link-account
Open

Fix/3638 shared link account#3845
rupanjana15 wants to merge 2 commits into
HeyPuter:mainfrom
rupanjana15:fix/3638-shared-link-account

Conversation

@rupanjana15

Copy link
Copy Markdown

This PR fixes the issue where opening a shared-file link while another account is active could show an empty Shared folder.
- Added the recipient account UUID to shared-file email links.
- If the correct account is already saved locally, Puter automatically switches to it.
- If the account is not saved locally, Puter shows the account selection/login screen instead of an empty Shared folder.
- The shared link is preserved during OIDC login and retry flows.

  • Ran npm run typecheck
  • 13 GUI tests passed
  • 94 backend tests passed
  • Manually tested switching to a saved recipient account
  • Manually tested the login fallback when the recipient account was not saved

For Security and compatibility :

This changes account selection during shared-link authentication. The recipient
hint is validated as a UUID in both the GUI and OIDC redirect handling. It is
used only to select an existing local session and does not grant access to the
shared item. Links without the hint retain their previous behavior.

@CLAassistant

CLAassistant commented Sep 10, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants