The v2 of the App Bridge was released yesterday:
However, the documentation claims that a `host` parameter will be passed as part of the query string in the request back to my API during the OAuth handshake.
The issue is that this is not the case. The query string only contains these parameters:
* state (a.k.a. the nonce)
Even the OAuth documentation doesn't mention this new parameter: https://shopify.dev/tutorials/authenticate-with-oauth#step-3-confirm-installation
I have written a test in `shopify-nextjs-toolbox` to prove that all query string parameters are passed correctly. The query string simply just doesn't have the `host` parameter that's needed to instantiate the AppBridge v2 in the frontend.
Can we have an explanation for this? Is there a special parameter we need to set at the start of the OAuth flow to tell Shopify's API that this is flow needs a `host` parameter?
Update to everyone else following this thread.
I've spoken with a Shopify rep and they're working to fix the issue. Will update here when I have a response and confirm the fix.
Hi everyone, thank you for your patience and being one of the first to jump into upgrading. Really appreciate the fast reporting of this issue.
The fix for the missing `host` search param during auth is in and it's currently being rolled out. Some apps should start seeing it today, and more in the next couple of days.