hmac validation for oauth (cli three)
daveagill opened this issue · 2 comments
daveagill commented
This template does not validate the hmac parameter provided by Shopify during the initial request to initiate the OAuth flow.
The hmac should be validated at that point according to the documentation: https://shopify.dev/apps/auth/oauth/getting-started#step-2-verify-the-installation-request
Adding hmac validation here is further complicated because verify-request.js
and useAuthenticatedFetch.js
both redirect to the oauth endpoint without providing an hmac.
cquemin commented
@daveagill this has been fixed at the API level which is used by the template. So I will close this one.