Skip to content

Use ASWebAuthenticationSession for Google OAuth#203

Merged
shiny-code-bot merged 1 commit into
mainfrom
fix/aswebauth-google-oauth
Jun 17, 2026
Merged

Use ASWebAuthenticationSession for Google OAuth#203
shiny-code-bot merged 1 commit into
mainfrom
fix/aswebauth-google-oauth

Conversation

@shiny-code-bot

Copy link
Copy Markdown
Collaborator

Summary

  • replace Google Antigravity OAuth's localhost NWListener callback server with ASWebAuthenticationSession
  • register the Google OAuth custom callback scheme and route fallback callback URLs back into Settings
  • remove com.apple.security.network.server from the main app entitlements and update packaging/runtime gates to require it absent
  • update OAuth and entitlement tests for the custom-scheme redirect

Operational note

The Google OAuth client used in release builds must allow this native redirect URI before Google reconnect/setup can succeed:

com.shinycomputers.contextpanel:/oauth-callback

Existing stored refresh tokens should continue to work; this affects new Google setup/reconnect flows.

Validation

  • swift test
  • scripts/commit-gate.sh
  • read-only GPT review found a fallback-routing issue; fixed by routing incoming OAuth callback URLs into Settings
  • read-only Claude review attempt returned no actionable review output

@shiny-code-bot shiny-code-bot merged commit a2a0a25 into main Jun 17, 2026
3 checks passed
@shiny-code-bot shiny-code-bot deleted the fix/aswebauth-google-oauth branch June 17, 2026 20:56
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