router
  .get('/auth/google/callback', function *(next) {
    const ctx = this
    yield passport.authenticate('google', {
      failureRedirect: '/login'