-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Im looking to sign an assertion. Trying out this lib like the readme suggest returns in undefined?
var saml = require('saml').Saml20; // or Saml11
var options = {
cert, // from my X.509 certificate
key, // from my X.509 certificate
issuer: 'urn:issuer',
lifetimeInSeconds: 600,
audiences: 'urn:myapp',
attributes: {
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress': '[email protected]',
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name': 'Foo Bar'
},
nameIdentifier: 'foo',
sessionIndex: '_faed468a-15a0-4668-aed6-3d9c478cc8fa'
};
var signedAssertion = saml.create(options);
console.log(signedAssertion) // undefined (?!)Metadata
Metadata
Assignees
Labels
No labels