Is there a Node OAuth Server Implementation [close

2019-01-16 05:18发布

问题:

I only found the oauth client library for nodejs. Does anybody know where I can find a server implementation?

Thanks,
Hao.

回答1:

I've just released OAuthorize, which is a suite of middleware for implementing an OAuth 1.0a server. It is highly modular, letting you tune it to meet your requirements. It integrates seamlessly with Passport for authentication, using passport-http-oauth to protect APIs using access tokens.

Update: OAuth2orize is now available. It follows similar patterns, but implements support for OAuth 2.0.



回答2:

Pierre Ruyssen has a few OAuth2 projects. I've never used them nor do I know how far along they are, but you could check them out:

  • https://github.com/AF83/oauth2_server_node
  • https://github.com/AF83/oauth2_client_node
  • https://github.com/AF83/auth_server


回答3:

Searching http://search.npmjs.org I found https://github.com/selead/oauth-server, but it uses OAuth 1.0A protocol and last commit was at April 19, 2011. But then again I guess you should just have look and it might just fit your needs.



回答4:

I found another one: https://github.com/ammmir/node-oauth2-provider. It use Connect and ExpressJS.



标签: node.js oauth