fix(watch): trust Tailscale certs + shared Keychain#327
Open
dimakis wants to merge 2 commits into
Open
Conversation
watchOS requires the companion app bundle ID in the watch app's Info.plist to install on device. Made-with: Cursor
- Add TailscaleTrustDelegate that accepts TLS certs for *.ts.net, *.tail, and localhost hosts (matching Capacitor allowNavigation). - Replace URLSession.shared with tailscaleURLSession in AuthManager, MitzoAPIClient, and MitzoWSClient. Fixes "Login failed" on watch caused by URLSession rejecting the self-signed Tailscale cert. - Add keychain-access-groups to iOS App.entitlements so both iPhone and watch apps share the same Keychain access group. Made-with: Cursor
Owner
Author
Centaur ReviewFound 5 issue(s) (2 warning).
|
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
TailscaleTrust.swiftURLSession delegate so the watch app trusts Tailscale self-signed certscom.mitzo.app) on both iOS and watchOS targets so the watch can read auth tokens from the phoneTest plan
🤖 Generated with Claude Code