简体   繁体   English

Passport是否支持新的Google+登录功能?

[英]Does Passport support the new Google+ Sign-in Feature?

I'm preparing to build an app in which I want to enable authentication to several third-parties including Google. 我正准备构建一个应用程序,我想在其中启用包括Google在内的多个第三方的身份验证。 The project will be written in NodeJS so I've decided to use Passport for my authentication module. 该项目将在NodeJS中编写,因此我决定使用Passport作为我的身份验证模块。

I know that Google recently released the Google+ sign-in feature which provides additional functionality. 我知道Google 最近发布Google+登录功能,该功能提供了额外的功能。 I would like to take advantage of these features using Passport if it is provided. 如果提供Passport我想利用这些功能。

The problem is: In reading the Passport documentation I see nothing which leads me to believe that Passport supports or does not support the new Google+ sign-in. 问题是:在阅读Passport文档时,我发现没有什么能让我相信Passport支持或不支持新的Google+登录。 Anyone out there with knowledge about this? 有人知道这个吗?

Note: I recognize that I could just authenticate directly, but because I'm providing authentication to several other third-parties I would like to keep everything in one place. 注意:我认识到我可以直接进行身份验证,但因为我要向其他几个第三方提供身份验证,所以我希望将所有内容保存在一个地方。 Thanks! 谢谢!

Turns out this is not yet supported. 事实证明这还不支持。 I have submitted a feature request on GitHub. 我已经在GitHub上提交了一个功能请求 Hopefully it will be included soon. 希望它很快就会被包括在内。

只是为了搜索这个并访问此页面的人,请点击此处: https//github.com/jaredhanson/passport-google-oauth

Google+ Sign-In is supported in https://www.npmjs.org/package/passport-google-plus https://www.npmjs.org/package/passport-google-plus支持Google+登录

The project includes several working examples, which worth looking at. 该项目包括几个值得关注的工作示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM