Skip to content

fix(cloud): recover expired sessions and login return#490

Merged
Harry19081 merged 1 commit into
developfrom
junyu/fix-cloud-auth-handoff
Jul 22, 2026
Merged

fix(cloud): recover expired sessions and login return#490
Harry19081 merged 1 commit into
developfrom
junyu/fix-cloud-auth-handoff

Conversation

@beruro

@beruro beruro commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • clear only the rejected persisted cloud session and show a dedicated expired-session message before join/create actions
  • preserve sessions on transient refresh failures and protect newer concurrent logins
  • route Settings, Add ORG, invite, and share sign-in CTAs through one app-owned loopback callback flow
  • companion web return fix: https://github.com/yorgai/ORGII-cloud-infra/pull/1

Validation

  • 6 focused Vitest cases passed for auth refresh states and browser callback handoff
  • focused TypeScript check passed for the new auth helpers and tests
  • targeted ESLint passed with the existing baseline Tailwind ordering rule excluded
  • all 13 navigation locale files parse and include cloud.sessionExpired
  • git diff check passed

@Harry19081
Harry19081 merged commit 1a36063 into develop Jul 22, 2026
1 of 2 checks passed
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