Add typed JSON output to store authentication - #8443
Merged
gonzaloriestra merged 3 commits intoSep 21, 2026
Merged
gonzaloriestra merged 3 commits into
gonzaloriestra merged 3 commits into
Conversation
This was referenced Aug 31, 2026
Contributor
Author
This was referenced Aug 31, 2026
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
August 31, 2026 12:55
f66ac84 to
4c1a341
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
August 31, 2026 13:00
4c1a341 to
ba07f32
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
2 times, most recently
from
August 31, 2026 14:08
267fb08 to
7c7046b
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
2 times, most recently
from
August 31, 2026 14:45
9cb28ad to
93044b6
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
August 31, 2026 14:57
93044b6 to
5622a43
Compare
dmerand
reviewed
Sep 9, 2026
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
September 10, 2026 11:00
5622a43 to
f93c4f2
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
September 10, 2026 11:13
f93c4f2 to
93e60e3
Compare
gonzaloriestra
removed this pull request from stack #8440
September 16, 2026 11:16
gonzaloriestra
added this pull request to stack #8564
September 16, 2026 11:17
4 tasks
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
September 16, 2026 15:02
a4517a2 to
1927c48
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
2 times, most recently
from
September 17, 2026 13:35
062acb1 to
934dd9a
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
September 17, 2026 14:19
934dd9a to
418f64b
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
September 17, 2026 14:35
418f64b to
c89ab4d
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
September 17, 2026 14:38
c89ab4d to
16cb862
Compare
gonzaloriestra
marked this pull request as ready for review
September 17, 2026 15:07
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
September 18, 2026 11:15
16cb862 to
70c6329
Compare
gonzaloriestra
force-pushed
the
gonzalo/json-store-authentication
branch
from
September 18, 2026 11:44
70c6329 to
614b134
Compare
dmerand
approved these changes
Sep 21, 2026
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.

WHY are these changes introduced?
Fixes shop/issues-develop#23685.
Scripts need discoverable JSON contracts for store authentication and saved sessions.
WHAT is this pull request doing?
Shares session and associated-user schemas between auth, auth-list, and stored session summaries. The existing auth presenter validates JSON output; the hidden Stripe auth command shares the auth schema and retains its signup handoff protections.
The stack’s single minor changeset is included in #8585.
Example output
Illustrative sample data. Text excerpts omit terminal decoration and progress. JSON blocks show the final stdout result; progress and diagnostics go to stderr.
shopify store auth --store shop.myshopify.com --scopes read_productsText
JSON (
--json){ "store": "shop.myshopify.com", "userId": "42", "scopes": [ "read_products" ], "acquiredAt": "2026-09-18T10:00:00.000Z", "expiresAt": "2026-09-19T10:00:00.000Z", "hasRefreshToken": true, "associatedUser": { "id": 42, "email": "merchant@example.com" } }shopify store auth listText
JSON (
--json){ "sessions": [ { "subdomain": "shop", "connected": "Sep 18, 2026", "store": "shop.myshopify.com", "userId": "42", "scopes": [ "read_products" ], "acquiredAt": "2026-09-18T10:00:00.000Z", "expiresAt": "2026-09-19T10:00:00.000Z", "associatedUser": { "id": 42, "email": "merchant@example.com" } } ] }The hidden
store stripe-authcommand uses the same auth result schema.How to manually test your changes?
Checklist