fix(auth): harden macOS Google sign-in, session persistence, and login popup - #41
Open
mihaimetal wants to merge 1 commit into
Open
mihaimetal wants to merge 1 commit into
mihaimetal wants to merge 1 commit into
Conversation
4 tasks
mihaimetal
force-pushed
the
fix/macos-auth
branch
from
July 27, 2026 13:43
e8f634a to
5327290
Compare
Contributor
Author
|
Rebased onto current |
mihaimetal
force-pushed
the
fix/macos-auth
branch
from
July 27, 2026 14:30
5327290 to
8d92374
Compare
mihaimetal
force-pushed
the
fix/macos-auth
branch
2 times, most recently
from
August 2, 2026 18:27
2021df6 to
10b176f
Compare
Seal cookie jars with an app-data AES key (mode 0600) instead of macOS Keychain, so ad-hoc rebuilds no longer prompt for Keychain access. Isolate login/keeper WebViews with per-account data_store_identifier, inject a login script that fails WebAuthn so Google offers password / another way, and keep 0.4.7's ServiceLogin replay (NUber-dev#79) plus ytubic:// deep-link registration. WEB_REMIX stream download (register_stream_source, no yt-dlp spawn) lives in the same lib.rs overlay because spawn_downloader is not separable from the auth helpers.
mihaimetal
force-pushed
the
fix/macos-auth
branch
from
August 26, 2026 12:19
8696c78 to
d9d3bb7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
www.youtube.com, don’t interrupt 2FA.Context
WKWebView does not isolate Google sessions the way WebView2
data_directorydoes. Extracted cookies also die without a real browser refresh. Separately, Keychain-bound encryption keys break across ad-hoc code signatures, which made every local rebuild look signed out and left successful Google logins stuck in the popup only. Passkeys forgoogle.comcannot work in an embedded WebView without Apple’s browser-only entitlement.Test plan