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.
npm install openid-request
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
You have to set this environments variables on your system
HTTP_PROXY=http://myproxy.net:8080
HTTPS_PROXY=https://myproxy.net:8080