Skip to content

fix(auth): use Tauri runtime for desktop OAuth - #468

Merged
Chloe-JY merged 3 commits into
developfrom
codex/pr442-tauri-oauth-runtime
Jul 21, 2026
Merged

fix(auth): use Tauri runtime for desktop OAuth#468
Chloe-JY merged 3 commits into
developfrom
codex/pr442-tauri-oauth-runtime

Conversation

@Harry19081

Copy link
Copy Markdown
Member

Summary

  • detect the Tauri runtime in both development and release builds
  • use the desktop OAuth callback and external-browser handoff whenever hosted by Tauri
  • preserve the HTTP callback for web builds

Split from #442.

Validation

  • pnpm exec vitest run src/config/serviceAuth.test.ts — 2 tests passed
  • targeted ESLint and Prettier via the pre-commit hook
  • scoped TypeScript pre-commit check

@Harry19081

Copy link
Copy Markdown
Member Author

CI note: the frontend job currently stops during typecheck on unchanged base code at src/modules/shared/layouts/blocks/ScrollPreservation.test.ts:17 (No overload matches this call). This PR has no diff in that file, and the same error is reproduced across the independent split branches. Targeted validation for this PR is recorded in the description; rebase/rerun after the develop baseline fix lands.

fix(codex): reconnect expired OAuth accounts from chat
@Chloe-JY
Chloe-JY merged commit d428389 into develop Jul 21, 2026
2 checks passed
Neonforge98 pushed a commit that referenced this pull request Jul 30, 2026
fix(auth): use Tauri runtime for desktop OAuth
@Harry19081
Harry19081 requested a review from Chloe-JY July 30, 2026 08:45
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