From 1723885eacb7bf7710615ec0521bce986199e3ef Mon Sep 17 00:00:00 2001 From: lucabertelli Date: Wed, 25 Oct 2023 21:32:30 +0200 Subject: [PATCH] fix(github): fix github enterprise authentication --- middlewares/provider.middleware.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/middlewares/provider.middleware.js b/middlewares/provider.middleware.js index e455ff4..94e98e7 100644 --- a/middlewares/provider.middleware.js +++ b/middlewares/provider.middleware.js @@ -75,7 +75,9 @@ module.exports = async (req, res, next) => { (accessToken, refreshToken, profile, done) => { process.nextTick(() => { logger.debug('Access token from GitHub:' + accessToken) - logger.debug('Profile info from GitHub: ' + profile) + logger.debug( + 'Profile info from GitHub: ' + JSON.stringify(profile) + ) return done(null, profile) })