-
Notifications
You must be signed in to change notification settings - Fork 220
Proposal for porting @shopify/koa-shopify-auth to express #1502
Comments
Here's my repo: https://github.com/hgezim/express-shopify-auth |
@hgezim Do you happen to know if this Koa middleware can be directly adapted to Express without modification to the package? Seems like it should be possible given how Koa and Express middleware share a lot of the same DNA. |
@tbeseda 99% sure it can't be done without modifications. Koa uses context which has shorthands for request and response objects. The cookie library used by koa is different and has a different API. Koa and Express handle Did you try my package (https://github.com/hgezim/express-shopify-auth)? |
Hey, thanks for the issue. We don't support express. Feel free to fork and create your own package that supports express. |
@ismail-syed Feel free to read my messages. Already created my own package: |
Overview
I'm creating a port of @shopify/koa-shopify-auth for express.
Would you folks be interested in maintaining it?
The text was updated successfully, but these errors were encountered: