Skip to content

fix: Focus onboarding after SSO login - #2459

Merged
shepilov merged 2 commits into
masterfrom
fix/focus-auth-tab
Jul 15, 2026
Merged

fix: Focus onboarding after SSO login#2459
shepilov merged 2 commits into
masterfrom
fix/focus-auth-tab

Conversation

@shepilov

@shepilov shepilov commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • focus the onboarding window as soon as the SSO OAuth callback returns
  • restore the window first when it is minimized
  • add regression coverage for focus behavior and OAuth callback ordering

Root cause

Desktop handled the cozy:// callback and continued onboarding, but it did not bring the onboarding window back to the foreground after login in the user's browser.

Closes #2451

@shepilov
shepilov marked this pull request as ready for review July 15, 2026 11:43
Comment thread test/unit/gui/window_manager.js

@taratatach taratatach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. You can squash 👍

@shepilov
shepilov merged commit 36f382e into master Jul 15, 2026
16 of 17 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.

Focus the onboarding window when we receive OAuth credentials from the SSO

2 participants