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 a181bb2 commit ed9914d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/auth/read.auth.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ router.get('/guest', async (req, res, next) => {

router.get('/github', passport.authenticate('github', { scope: ['read:user'] }))

router.get('/github/callback', async (req, res, next) => {
router.get('/githubcallback', async (req, res, next) => {
try {
// if (res.locals.provider.spec.strategy === 'guest') {
const user = {
Expand Down

0 comments on commit ed9914d

Please sign in to comment.