Skip to content

Use backend-selected Apple Services ID in browser sign-in - #1110

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex/apple-dev-oauth-client
Oct 9, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex/apple-dev-oauth-client

Conversation

@AnthonyRonning

Copy link
Copy Markdown
Contributor

The active Apple browser popups hardcode the production Services ID. Configuring a separate Dev Apple identity would therefore make popup authorization disagree with the backend's code exchange. Auth and Research now use the validated client_id from their backend's Apple authorization URL, rejecting malformed provider URLs and missing, duplicate, or malformed IDs before opening the popup.

Production continues to use its existing Services ID selected by its backend configuration. Callback URLs, nonce/state handling, completion lifecycle, native iOS Apple sign-in, and the retired legacy bridge are unchanged. This PR contains no provider configuration, credentials, SDK changes, or backend changes.

Validation:

  • Auth formatting, lint, typecheck, and 94 tests pass, including production and Dev UI fixtures.
  • Research formatting, lint, typecheck, and 1,283 tests pass; 13 existing lint warnings remain.
  • Auth Dev and production builds pass, including bundle isolation; Research Dev web build passes.
  • Pre-commit component hooks and git diff --check pass.

Checks used the exact flake-pinned Bun 1.3.5 and Node 24.12.0 runtimes. The full CI shell was unavailable locally, so hooks used their supported PATH mode without skipping checks. Real Apple provider/native rehearsal remains separate from these automated results.

@AnthonyRonning
AnthonyRonning merged commit ad16467 into master Oct 9, 2026
32 of 36 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