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!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024