You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im looking to sign an assertion. Trying out this lib like the readme suggest returns in undefined?
varsaml=require('saml').Saml20;// or Saml11varoptions={
cert,// from my X.509 certificate
key,// from my X.509 certificateissuer: 'urn:issuer',lifetimeInSeconds: 600,audiences: 'urn:myapp',attributes: {'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress': 'foo@bar.com','http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name': 'Foo Bar'},nameIdentifier: 'foo',sessionIndex: '_faed468a-15a0-4668-aed6-3d9c478cc8fa'};varsignedAssertion=saml.create(options);console.log(signedAssertion)// undefined (?!)
The text was updated successfully, but these errors were encountered:
Im looking to sign an assertion. Trying out this lib like the readme suggest returns in undefined?
The text was updated successfully, but these errors were encountered: