How to config github oauth2 passport.js?

101 Views Asked by At

I use github oauth2 passport.js. After first time logged in my app auto logged in. I think this problem this prompt config. But it is not worked. Here my code:

router.get('/auth/github', 
passport.authenticate('github',{ 
    scope: [ 'user:email' ], 
    prompt: 'select_account' 
}));
0

There are 0 best solutions below