Skip to content

Instantly share code, notes, and snippets.

@AndrejGajdos
Created June 24, 2018 11:34
Show Gist options
  • Select an option

  • Save AndrejGajdos/4fadedb8ac1f504c6a54775b18b77beb to your computer and use it in GitHub Desktop.

Select an option

Save AndrejGajdos/4fadedb8ac1f504c6a54775b18b77beb to your computer and use it in GitHub Desktop.

Revisions

  1. AndrejGajdos created this gist Jun 24, 2018.
    4 changes: 4 additions & 0 deletions server.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    const passport = require('koa-passport');

    app.use(passport.initialize());
    app.use(passport.session());