node.js - Saml Implementation Using NodeJS/Passport -


i want implement saml using passport module of node js using own idp. below links found using openidp/adfs/shibboleth etc.

https://github.com/bergie/passport-saml  https://github.com/lmarkus/passport-saml-encrypted  https://www.npmjs.com/package/saml2js 

i have created 2 localhost apps ,one functioning sp(service provider) ,other idp(identity provider) , while redirecting sp idp sending encrypted saml , validating user using passport ldap module,but need know whether certificates/public/private key needs present @ idp side ? how idp send response , in format ?

if signing authnrequest or encrypting token idp needs public keys.

the sp needs idp token signing public key.

the idp send authnresponse contains saml token contains assertions (claims).

the easiest way see use fiefox saml tracer add-on.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -