feat(auth): connect OpenRouter accounts and free route#127
Merged
Conversation
tcballard
force-pushed
the
codex/ios-account-auth-engine
branch
from
July 25, 2026 19:55
e6c3e19 to
be1b619
Compare
tcballard
force-pushed
the
codex/ios-openrouter-account-free
branch
from
July 25, 2026 19:55
c377ec4 to
8e4bee3
Compare
tcballard
force-pushed
the
codex/ios-account-auth-engine
branch
from
July 25, 2026 20:27
be1b619 to
49dd7b9
Compare
tcballard
force-pushed
the
codex/ios-openrouter-account-free
branch
from
July 25, 2026 20:27
8e4bee3 to
870d475
Compare
tcballard
force-pushed
the
codex/ios-account-auth-engine
branch
from
July 25, 2026 20:36
49dd7b9 to
208a1d3
Compare
tcballard
force-pushed
the
codex/ios-openrouter-account-free
branch
from
July 25, 2026 20:36
870d475 to
10acd99
Compare
tcballard
force-pushed
the
codex/ios-openrouter-account-free
branch
from
July 25, 2026 20:43
10acd99 to
4b8eca7
Compare
tcballard
marked this pull request as ready for review
July 25, 2026 20:43
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
Adds the first approved native iOS account provider: OpenRouter OAuth PKCE, plus an explicit rate-limited
OpenRouter Freedestination.Scope
WF-QUAL-0002against OpenRouter's official OAuth and free-router contractsASWebAuthenticationSessionwith Apple's HTTPS callback matcheropenrouter/freedestination alongsideopenrouter/autoProduct / Architecture Decisions
OpenRouter Autois labelled as credit-backed.OpenRouter Freeis labelled no-cost and rate-limited, retains the existing accounting class, and cannot silently fall back to a paid destination.Automatic.User-Facing Contract
Settings now has a distinct Accounts screen. A user can select “Continue with OpenRouter,” authenticate in the system web sheet, then explicitly choose either OpenRouter Auto or OpenRouter Free in Chat. Disconnect removes the issued credential from this device.
Verification
openrouter/free, rate-limited copy, pinned-only eligibility, and shared credential custodygit diff --checkReview Path
docs/qualifications/WF-QUAL-0002-openrouter-account-auth.mdios/WayfinderIOS/WayfinderIOS/OpenRouterAccount.swiftios/WayfinderIOS/WayfinderIOS/AccountsView.swiftios/WayfinderIOS/WayfinderIOS/AppModel.swiftios/WayfinderIOS/WayfinderIOSTests/OpenRouterAccountTests.swiftNotes For Reviewer
This is stacked on PR #126. Review and merge the earlier mobile provider stack before this layer.
AI-assisted implementation; tests, provider documentation, and repository state were verified locally.