This example demonstrates how to use Express 3.x and Passport to authenticate users via OpenID. Use this example as a starting point for your own web applications.
To install this example on your computer, clone the repository and install dependencies.
$ git clone git@github.com:passport/express-3.x-openid-example.git
$ cd express-4.x-openid-example
$ npm install
Open a web browser and navigate to http://localhost:3000/
to see the example in action. Logging in requires an OpenID identifer. If you
have a Yahoo! account, your identifier takes the form of https://me.yahoo.com/{username}
.