Closed frxstrem closed 7 years ago
Hi @frxstrem, thanks for the detailed bug report!
Grant supports Koa2.x, I used this example with your dependency versions.
Your app.listen(8000);
line looks out of place, it's a good idea to put it at the bottom. Let me know if it works that way.
Thanks, putting that line at the bottom seemed to work!
Grant is incompatible with Koa 2 (which is the current version of Koa).
This is the code I'm using to test:
When using old versions of the dependencies (
koa@1
,koa-mount@1
,koa-session@1
), this code works as expected when accessing/connect/github
, but when using the newest versions of each dependency, I only get the messageNot Found
(as if Koa ignores the Grant completely).I've tried replacing
github
with other providers (such asfacebook
), to no avail.Here's the complete list of versions: