From 21b76327ecd13670e5662e5ba0d9600333cafbdb Mon Sep 17 00:00:00 2001 From: lucabertelli Date: Wed, 25 Oct 2023 17:24:59 +0200 Subject: [PATCH] fix(github): fix github enterprise authentication --- controllers/auth/read.auth.controller.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/controllers/auth/read.auth.controller.js b/controllers/auth/read.auth.controller.js index 9031ade..dde246d 100644 --- a/controllers/auth/read.auth.controller.js +++ b/controllers/auth/read.auth.controller.js @@ -118,7 +118,15 @@ router.get( const userInfo = {} logger.debug('----> new UserInfo') - + logger.debug( + tokenURL + + '?client_id=' + + clientId + + '&client_secret=' + + clientSecret + + '&code=' + + grantCode + ) let accessToken = null fetch(