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) })