Search code examples
javascriptnode.jsauthenticationoautheveryauth

Authenticating via Github (using everyauth)


I'm using everyauth, and am having trouble authenticating it with github. It seems like all of the steps I've followed thus far are correct, but it keeps telling me it cannot GET /auth/github when clicking the "connect with github" link.

Here's a gist with my code: https://gist.github.com/2641260

Any help would be greatly appreciated!


Solution

  • I know its probably too late to answer, but I just had the same problem and figured out the solution.

    Its really simple.

    Place the EveryAuth code before the app.configure() code.

    This way: Fork of your Gist