Mean.IO - 如何实现额外的 OAuth 提供者

Mean.IO - how to implement additional OAuth providers

mean.io 在实施许多开箱即用的 Oauth 提供程序方面做得很好,不幸的是我想使用 Spotify,它不是其中之一。

Mean.io 使用 passport 这意味着它应该像实现 passport-spotify npm 模块一样简单。但是,我很难理解 mean.io 的 Oauth 是如何组合在一起的。我也很难找到有关其工作原理的相关信息。

我可以看到在配置 Oauth 提供程序的配置文件夹中有一个配置文件,但我不知道那里发生了什么。

有没有人能为我指明正确的方向,告诉我如何使用 mean.io 实施额外的 OAuth 提供程序?

Strategies

Passport has a comprehensive set of over 140 authentication strategies covering social networking, enterprise integration, API services, and more. The complete list is available on the wiki.

您可能对此感兴趣:

https://github.com/JMPerez/passport-spotify