71

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

Thanks,
Hao.

agate
  • 956
  • 1
  • 7
  • 13
  • See my impl `"oauth2-server": "^3.0.0-b2"` https://github.com/manjeshpv/node-oauth2-server-implementation – Manjesh V May 15 '16 at 06:28

4 Answers4

73

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.

Jared Hanson
  • 15,940
  • 5
  • 48
  • 45
  • 6
    Thumbs up! Very neat and versatile implementation. – Harri Siirak Jul 05 '12 at 09:51
  • This project has gone stale in 2012. As of July 2013, this project is still current https://github.com/nightworld/node-oauth2-server – jnovack Aug 08 '13 at 14:50
  • 12
    Why do you say its gone stale? It fully implements the spec and there are no critical bugs. It doesn't get regular commits, because it doesn't need them. It's mature, deployed many places. Not stale. – Jared Hanson Aug 08 '13 at 15:00
  • @JaredHanson you really are so much awesome !!! I owe you a few work days :-) – ShrekOverflow Oct 12 '13 at 09:01
  • Just my .02 here but have chatted with @JaredHanson a couple times. Quality dev, used OAuth2orize and ver 1.0 on sever production apps. rock solid. Not sure where the "stale" talk is coming from but that's ridiculous. sorry had to comment. – origin1tech Jan 09 '14 at 02:37
10

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:

Tauren
  • 26,795
  • 42
  • 131
  • 167
  • Thank you Tauren, But I just need to support OAuth 1.0A server right now. I think I might use these module later :D – agate Jul 30 '11 at 06:14
  • Just to save you all some time, all of these projects have their latest commits as being sometime in 2010 or 2011. – HeadCode Aug 16 '16 at 22:05
8

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.

Alfred
  • 60,935
  • 33
  • 147
  • 186
3

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

KimKha
  • 4,370
  • 1
  • 37
  • 45