diff --git a/controllers/auth/read.auth.controller.js b/controllers/auth/read.auth.controller.js index 36e4798..3a783b5 100644 --- a/controllers/auth/read.auth.controller.js +++ b/controllers/auth/read.auth.controller.js @@ -40,7 +40,7 @@ router.get('/guest', async (req, res, next) => { router.get('/github', passport.authenticate('github', { scope: ['read:user'] })) -router.get('/githubcallback', async (req, res, next) => { +router.get('/github/callback', async (req, res, next) => { logger.debug('inside callback') try { // if (res.locals.provider.spec.strategy === 'guest') {