App reviews, troubleshooting, and recommendations
Trying to figure out how my custom app with proxy endpoint could validate incoming request from shop web page. For example my request contains such headers after app proxy forwarder request to custom server:
"x-request-id":"3e1a07a6-5eae-4602-a2fe-6cc023c4ca67","x-request-id-sig":"pZCC94wJi96k2NVo84H3NiayWHs="
so could you please help me figure out how my app could recalculate signature for x-request-id header to check authenticity ?
"pZCC94wJi96k2NVo84H3NiayWHs=" === sign("3e1a07a6-5eae-4602-a2fe-6cc023c4ca67")
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hello
You want use some header, but all data to calculate signature live in get in URL query parameters.
You should use this guide to calculate signature.
https://shopify.dev/apps/online-store/app-proxies#calculate-a-digital-signature
This is an accepted solution.
Hello
You want use some header, but all data to calculate signature live in get in URL query parameters.
You should use this guide to calculate signature.
https://shopify.dev/apps/online-store/app-proxies#calculate-a-digital-signature
BorisD,
I did miss it 😅
thanks a lot!
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024