Repository navigation
Use backend-selected Apple Services ID in browser sign-in - #1110
Merged
Merged
Conversation
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.
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_idfrom 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:
git diff --checkpass.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.