jaredhanson / passport-openid

OpenID authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-openid/?utm_source=github&utm_medium=referral&utm_campaign=passport-openid&utm_content=about
MIT License
98 stars 85 forks source link

express.createServer() is deprecated #23

Closed oitozero closed 9 years ago

oitozero commented 11 years ago

Warning: express.createServer() is deprecated, express applications no longer inherit from http.Server, please use:

var express = require("express"); var app = express();

jaredhanson commented 11 years ago

Thanks! Could you remove the extra var express = require("express"); (it's already done at the very top of the file).

jaredhanson commented 9 years ago

To reduce the noise of issues being filed against examples, I'm moving all examples to separate repositories. You'll find an Express 3.x example here: https://github.com/passport/express-3.x-openid-example