Validation of the API secret key for the Shopify custom app on store admin

Being a Shopify developer I’m creating an integration app that requires a private app on the merchant’s Shopify store admin. So, I’m taking the Access token, API Key, and API secret key to access the API and the handling of the webhook. Sometimes merchants provide invalid credentials, so I need to validate all the 3 credentials. In I’m able to validate the API key and Access token but is there any way to validate the API secret key at the initial level so that client webhooks will not fail in the future?

2 Likes

Same problem. You haven’t found a solution?

No, not yet @PavelKutsenko

Also facing one more problem If I want to uninstall the private app via Admin API from the Shopify store then get {“errors”: “Forbidden”}

CURL used -
curl -X DELETE “https://{shop}.myshopify.com/admin/api_permissions/current.json”
-H “Content-Type: application/json”
-H “Accept: application/json”
-H “Content-Length: 0”
-H “X-Shopify-Access-Token: {access_token}”