An open API service indexing awesome lists of open source software.

https://github.com/passport/express-3.x-openid-example

Express 3.x app using Passport for authentication via OpenID.
https://github.com/passport/express-3.x-openid-example

Last synced: 8 months ago
JSON representation

Express 3.x app using Passport for authentication via OpenID.

Awesome Lists containing this project

README

          

This example demonstrates how to use [Express](http://expressjs.com/) 3.x and
[Passport](http://passportjs.org/) to authenticate users via OpenID. Use this
example as a starting point for your own web applications.

## Instructions

To install this example on your computer, clone the repository and install
dependencies.

```bash
$ 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/](http://127.0.0.1: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}`.