Repository navigation
feat(agent): use production Auth with loopback sign-in - #1133
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.
Packaged Prod Maple Agent now starts browser sign-in at
https://auth.maple.ai/agent/startand uses the existing loopback return. Users no longer need to paste the provider callback URL into that build. The change sets Prod's compiled Auth origin, updates its build-time validation, covers both Auth hosts in the existing native URL test, and refreshes Agent documentation.The local completion page now matches Auth’s logo, colors, spacing and card layout. Its HTML, CSS and SVG are embedded, with system fonts and no asset requests; the fixed success, unsaved-session and failure messages preserve the existing outcome distinctions. The query scrub and restrictive response headers remain, with a hash-authorized stylesheet.
Dev keeps
auth-dev.maple.ai; unpackaged builds keep the paste flow. Research, service endpoints, billing URLs, app identity/state namespaces, and existing backend callback defaults are unchanged. No SDK, backend, Auth-site, or shared workflow changes are included.Validation:
nix flake check --no-update-lock-filepassed.just ci, rerun after the completion-page change: passed (981 tests, zero failures; five intentionally ignored; all four Clippy configurations passed).https://auth.maple.ai.16c4b83f3d4289a1d0616d1d74df81570ec7ab79; its tree is identical to the pre-styling PR headd1daa6b2f4c5f54c4841bb3ef3cb12e7ebf02c28.Keep this PR unmerged for review. The PR package is ad-hoc signed and is not a notarized release. Production rehearsal completed on the exact downloaded package on macOS with Chrome: GitHub, Google and Apple each returned through
auth.maple.aiand the explicit loopback return, loaded the matching existing account through the native Account page, survived quit/relaunch with a fresh account fetch, and signed out successfully. Other operating systems/browsers and failure/recovery scenarios were not exercised in this production rehearsal. That provider rehearsal preceded the cosmetic completion-page change; it is not a claim of provider testing on the new package.