Skip to content

Open auth browser without keypress prompt#7666

Closed
gonzaloriestra wants to merge 1 commit into
mainfrom
codex/open-auth-browser-directly
Closed

Open auth browser without keypress prompt#7666
gonzaloriestra wants to merge 1 commit into
mainfrom
codex/open-auth-browser-directly

Conversation

@gonzaloriestra
Copy link
Copy Markdown
Contributor

@gonzaloriestra gonzaloriestra commented May 29, 2026

WHY are these changes introduced?

The login flow currently pauses in interactive terminals and asks users to press a key before Shopify CLI opens the browser. We want authentication to start directly by opening the browser, making it easier for agents.

WHAT is this pull request doing?

  • Removes the keypress() wait and "Press any key" message from the interactive device auth flow.
  • Keeps the existing manual-link fallback when the browser can't be opened.

How to test your changes?

shopify auth login

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing — I've identified the correct bump type (patch for bug fixes · minor for new features · major for breaking changes) and added a changeset with pnpm changeset add

@github-actions github-actions Bot added the no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. label May 29, 2026
@gonzaloriestra
Copy link
Copy Markdown
Contributor Author

/snapit

@gonzaloriestra gonzaloriestra force-pushed the codex/open-auth-browser-directly branch from a382654 to 45d21ad Compare May 29, 2026 09:43
@github-actions github-actions Bot added Area: @shopify/cli @shopify/cli package issues and removed no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. labels May 29, 2026
@github-actions

This comment was marked as outdated.

@gonzaloriestra gonzaloriestra force-pushed the codex/open-auth-browser-directly branch from 45d21ad to 71132c0 Compare May 29, 2026 09:56
@gonzaloriestra
Copy link
Copy Markdown
Contributor Author

/snapit

@github-actions
Copy link
Copy Markdown
Contributor

🫰✨ Thanks @gonzaloriestra! Your snapshot has been published to npm.

Test the snapshot by installing your package globally:

pnpm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20260529095708

Caution

After installing, validate the version by running shopify version in your terminal.
If the versions don't match, you might have multiple global instances installed.
Use which shopify to find out which one you are running and uninstall it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: @shopify/cli @shopify/cli package issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant