Skip to content

Keep direct login smoke free of embedded bootstrap errors - #203

Merged
OziinG merged 1 commit into
mainfrom
codex/fix/direct-login-app-bridge
Aug 19, 2026
Merged

Keep direct login smoke free of embedded bootstrap errors#203
OziinG merged 1 commit into
mainfrom
codex/fix/direct-login-app-bridge

Conversation

@OziinG

@OziinG OziinG commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Closes #202

What changed

  • skips the Shopify App Bridge bootstrap only for the context-free /auth/login guidance document
  • keeps App Bridge enabled for embedded routes and login requests carrying a Shopify store
  • adds behavior coverage for direct, store-context, and embedded URLs

Why

The final production smoke rendered correctly but logged a missing shop App Bridge configuration and React hydration recovery errors when opened outside Shopify Admin.

Validation

  • 520/520 tests
  • lint
  • typecheck
  • production build
  • public URL guard

Constraint: App Bridge still loads for embedded and store-context requests.

Rejected: Suppress hydration warnings | hides the invalid no-shop bootstrap instead of removing it

Confidence: high

Scope-risk: narrow

Directive: Do not load App Bridge on the context-free auth guidance document.

Tested: 520 app tests; lint; typecheck; production build; public URL guard.

Not-tested: Authenticated Shopify Admin browser flow; verified after deployment.
@OziinG
OziinG merged commit 99d31e4 into main Aug 19, 2026
2 checks passed
@OziinG
OziinG deleted the codex/fix/direct-login-app-bridge branch August 19, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid App Bridge errors on direct login smoke

1 participant