Shopify / koa-shopify-auth

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

InternalServerError: Missing Bearer token in authorization header is thrown after being redirected to /auth/callback #126

Closed Israel002 closed 1 year ago

Israel002 commented 3 years ago

Issue summary

After setting up the code as shown in the example of this repository. I ran the app, visit [APP_DOMAIN]/auth, the app redirected to the auth callback url and an error was thrown: "Missing Bearer token in authorization header".

Expected behavior

The library shouldn't throw an error.

Steps to reproduce the problem

  1. Copy the code example from this repository
  2. Run the app
  3. Visit [APP_DOMAIN]/auth?shop=[SHOP_URL]
github-actions[bot] commented 1 year ago

Note that this repo is no longer maintained and this issue will not be reviewed. Prefer the official JavaScript API library. If you still want to use Koa, see simple-koa-shopify-auth for a potential community solution.