Skip to content

feat(app): dev-only login helper to get past the gate without deep links#3868

Merged
louis030195 merged 1 commit into
mainfrom
claude/dev-login-helper
Jun 5, 2026
Merged

feat(app): dev-only login helper to get past the gate without deep links#3868
louis030195 merged 1 commit into
mainfrom
claude/dev-login-helper

Conversation

@louis030195

Copy link
Copy Markdown
Collaborator

Lets you sign in during bun tauri dev on macOS, where the screenpipe:// OAuth callback can't reach the dev binary.

The gate now renders a dev login box (input + button) that accepts a bare token or the full screenpipe://…?api_key=… URL the browser tried to open, extracts the key, and calls loadUser directly.

Gated by isDevLoginEnabled() — only shows in dev / preview (NEXT_PUBLIC_SCREENPIPE_WEB_URL) / forced-gate builds, never a normal prod release.

Validation: tsc clean, next lint clean, vitest 7/7 (gate component).

🤖 Generated with Claude Code

macOS `bun tauri dev` can't receive the screenpipe:// OAuth callback (deep links
aren't registered for the dev binary), so the gate now shows a "dev login" box
that accepts a bare token or a full screenpipe://...api_key=... URL and calls
loadUser directly. Gated by isDevLoginEnabled() — only renders in dev / preview
(NEXT_PUBLIC_SCREENPIPE_WEB_URL) / forced-gate builds, never a normal prod release.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@louis030195 louis030195 merged commit eb6f0c6 into main Jun 5, 2026
4 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.

1 participant