PROTO: Add store auth info command#7184
Draft
dmerand wants to merge 1 commit intographite-base/7184from
Draft
Conversation
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
|
It might be good to start with a flag, eg |
This was referenced Apr 3, 2026
This was referenced Apr 3, 2026
5 tasks
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.

What
Add
shopify store auth infoto inspect the locally stored auth state for a store.The command shows the stored user, scopes, token status, and refresh-token metadata, and supports
--jsonfor scripts and agents.Why
shopify store authpersists useful local state, but there is no CLI surface to inspect it.That makes it harder to understand which user a stored token belongs to, which scopes were granted, whether the token is expired, and whether missing refresh-token expiry data is a CLI bug or just absent from Shopify's token response.
How
store auth infocommandstore authas a nested command tree sostore auth infois discoverablenot applicablewhen no refresh token is storednot provided by Shopifywhen the token response omittedrefresh_token_expires_inConsidered
store authinto a larger command-group redesign such asstore auth login. Deferred. This PR keeps the existing action command and only adds the nestedinfosubcommand.auth-infointostore/auth.ts. Rejected. The new command is read-only introspection over stored state, so keeping it separate avoids makingstore/auth.tsown even more concerns.store auth listor local logout/clear behavior. Deferred to follow-up work so this PR stays focused on inspection of a single stored auth session.How to test your changes?
not provided by Shopifyrather thanunknown.Measuring impact
How do we know this change was effective? Please choose one:
Checklist