Shopify / koa-shopify-auth

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

Test Authentication with API request #94

Closed mllemango closed 3 years ago

mllemango commented 3 years ago

WHY are these changes introduced?

Fixes #90

WHAT is this pull request doing?

We need to ensure that oauth is fully functioning, so we can make a call to metafields to ensure oauth has succeeded. This was the approach that we used to implement https://github.com/Shopify/quilt/pull/940

*Need to fix tests

Type of change

Checklist

avocadoslab commented 3 years ago

Isn't there some lightweight ping pong like API which can confirm functionality? Occasionally I've seen huge latency with metafields fetch.

mllemango commented 3 years ago

Since we're testing authentication, no I don't believe so.