You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
).rejects.toThrow('OAuth callback store does not match the requested store.')
175
+
).rejects.toMatchObject({
176
+
message: 'OAuth callback store does not match the requested store.',
177
+
tryMessage:
178
+
'Shopify returned other-shop.myshopify.com during authentication. Re-run shopify store auth --store other-shop.myshopify.com --scopes <comma-separated-scopes> using the permanent store domain instead of an alias or vanity domain.',
179
+
})
176
180
})
177
181
178
182
test('waitForStoreAuthCode rejects when Shopify returns an OAuth error',async()=>{
'OAuth callback store does not match the requested store.',
213
+
`Shopify returned ${normalizedReturnedStore} during authentication. Re-run ${outputToken.genericShellCommand(`shopify store auth --store ${normalizedReturnedStore} --scopes <comma-separated-scopes>`).value} using the permanent store domain instead of an alias or vanity domain.`,
0 commit comments