From 8ef6c0b0e009cc13f78160abcb244d47be8c3ed0 Mon Sep 17 00:00:00 2001 From: lucabertelli Date: Wed, 25 Oct 2023 16:35:45 +0200 Subject: [PATCH] fix(github): fix github enterprise authentication --- controllers/auth/read.auth.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {