Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 775 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 775 Bytes

OpenID-Request -- OpenID Node.js client v0.1.4

Openid-request takes as baseline the project node-openid (https://github.com/havard/node-openid) (0.5.9) and refactors the http.get and http.post to handle the proxy request with (mikeal/request).

All rights reserved to the owners of each project.

Install

npm install openid-request

Use/Example

Run the sample.js file

node sample.js

Go to

http://localhost:8888/authenticate?openid_identifier=https://login.launchpad.net //change the value of openid_identifier for your favorite OpenID provider

Use through proxy

You have to set this environments variables on your system

 HTTP_PROXY=http://myproxy.net:8080
 HTTPS_PROXY=https://myproxy.net:8080