如何配置github oauth2 passport.js?
我使用github oauth2 passport.js。第一次登录我的应用自动登录后。我认为此问题此问题提示
config。但这是不起作用的。 这是我的代码:
router.get('/auth/github',
passport.authenticate('github',{
scope: [ 'user:email' ],
prompt: 'select_account'
}));
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'
}));
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论