Skip to content

fix: resolve OAuth login race condition and add missing i18n keys#190

Merged
jsyqrt merged 1 commit into
mainfrom
bugfix/login-no-response
Jun 11, 2026
Merged

fix: resolve OAuth login race condition and add missing i18n keys#190
jsyqrt merged 1 commit into
mainfrom
bugfix/login-no-response

Conversation

@jsyqrt

@jsyqrt jsyqrt commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Fix a race condition in ensureHubAuth where popup-close detection fires before polling can fetch the auth result, causing successful logins to be silently treated as cancellations. Add cache-busting to status polls, a grace period after popup close, and a visibilitychange listener for mobile tab-switching. Also add the missing common:signOut i18n key so the Settings logout button renders correctly in Chinese.

Fix a race condition in ensureHubAuth where popup-close detection fires
before polling can fetch the auth result, causing successful logins to be
silently treated as cancellations. Add cache-busting to status polls,
a grace period after popup close, and a visibilitychange listener for
mobile tab-switching. Also add the missing common:signOut i18n key so
the Settings logout button renders correctly in Chinese.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jsyqrt jsyqrt merged commit 97fed74 into main Jun 11, 2026
1 check 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.

1 participant