Skip to content

Commit

Permalink
fix(github): fix github enterprise authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabertelli committed Oct 25, 2023
1 parent 079832c commit 1723885
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion middlewares/provider.middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit 1723885

Please sign in to comment.