Shopify / koa-shopify-auth

DEPRECATED Middleware to authenticate a Koa application with Shopify
MIT License
80 stars 63 forks source link

fix request used to check oauth #144

Closed JaKXz closed 2 years ago

JaKXz commented 2 years ago

WHY are these changes introduced?

Fixes #118

We were using a call to the metafields endpoint to verify the oauth token was correct. Unfortunately that call has been deprecated so this solution should resolve the app verification issues.

WHAT is this pull request doing?

This changes the path to the longer lived shop endpoint to solve our short-term issues.

@paulomarg @mllemango do we have an endpoint that's just a heartbeat / session check? I think this could be improved if we did.

Type of change

Checklist