【发布时间】:2016-09-30 10:57:54
【问题描述】:
我正在开发 POC 作为技术改革的一部分。 为此,我使用 HAPI 开发了几个服务端点。我想使用 Oauth 2.0 机制来保护这些网络服务。 我有 2 个选项:
- Using the oauth2.0 support of npm which comes for express.
- Manually create the keys, share and then encrypt/decrypt.(node-rsa)
作为 Nodejs 的新手,我无法找到实现这一目标的可靠途径,并且有点怀疑。 任何帮助或示例都会非常有用。 -V
【问题讨论】:
标签: node.js web-services authentication oauth-2.0