I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
Theme
Expected behavior
When I switch account with shopify auth logout and shopify auth login. Show new account’s content.
Actual behavior
Tries to show previous account’s content, but forbids as I am logged to the new account…
Reproduction steps
shopify auth logout
shopify auth login //using new account
shopify theme dev
Verbose output
╭─ error ─────────────────────────────────────────────────────────────────────────────╮
│ │
│ Looks like you don't have access this dev store: (g16hjv-jr) │
│ │
│ If you're not the owner, create a dev store staff account for yourself │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────╯
Operating system
Mac OS Sequoia
CLI version
3.7.84
Shell
zsh
Nodejs version
v24.7.0
What language and version are you using in your application?
Liquid