Skip to content

OpenID

Openid connect can be used to login once, and visits multiple sites. OAuth is used to access resources from a third site without giving password credentials.

They are related, but do rather different things, authentication vs authorization.

For now i am interested in the openid connect (authentication) part.

openid request

For a client to make an openid request it needs the following info about the server.

  • client identifier

implementation

First attempt was with : this site

Just install with npm :

install openid-connect
npm install --save openid-connect

That's it ? HA NO: I did these one at a time because every time it complains about just one :

install with dependencies
npm install express express-session connect-redis extend morgan body-parser cookie-parser errorhandler method-override modelling sails-redis lodash q jwt-simple base64url clean-obj