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
{{ message }}
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
AuthShop should be able to validate requests with ids parameter which gets set when using bulk actions from Shopify (ie. selecting multiple products -> actions -> "custom bulk action")
Current Behavior
Authentication fails because only id parameter is processed.
Failure Information
See OhMyBrew\ShopifyApp\Middleware\AuthShop::getQueryDomain()
$id = $request->input('id') ?? null;
foreach (compact('code', 'locale', 'state', 'id') as $key => $value) {
if ($value) {
$verify[$key] = $value;
}
}
fixed:
// 2019-10-01 There is ids (array) parameter when receiving request from bulk operations
$ids = $request->input('ids') ?? null;
For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
AuthShop should be able to validate requests with ids parameter which gets set when using bulk actions from Shopify (ie. selecting multiple products -> actions -> "custom bulk action")
Current Behavior
Authentication fails because only id parameter is processed.
Failure Information
See OhMyBrew\ShopifyApp\Middleware\AuthShop::getQueryDomain()
$id = $request->input('id') ?? null;
foreach (compact('code', 'locale', 'state', 'id') as $key => $value) {
if ($value) {
$verify[$key] = $value;
}
}
fixed:
// 2019-10-01 There is ids (array) parameter when receiving request from bulk operations
$ids = $request->input('ids') ?? null;
foreach (compact('code', 'locale', 'state', 'id', 'ids') as $key => $value) {
if ($value) {
$verify[$key] = is_array($value) ? '["' . implode('", "', $value) . '"]' : $value;
}
}
Same fix should be in all getXXXDomain() methods where validation occurs.
Steps to Reproduce
Add bulk action on products page
select multiple products and choose your bulk action
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs
Unable to verify signature.
The text was updated successfully, but these errors were encountered: