Skip to content

Releases: node-saml/passport-saml

v0.5.0

01 Jul 04:04
Compare
Choose a tag to compare
  • Change interface of 'InResponseTo' custom caches to allow for ansynchronous serialization & deserialization.
    • Note that this is a breaking change for any custom caches (but it's a new feature, so probably not a big issue yet)
  • Export SAML module from passport-saml for anyone who wants to call individual SAML functions (no guarantees about interface stability, though) - #50
  • Add 'attributeConsumingServiceIndex' option -- #44
  • Support certificates that already have '---BEGIN CERTIFICATE' (or END) in them - #48
  • Support NameIDs without format attributes -- #45
  • Support 'Id' in addition to 'ID' as an attribute name in signatures - #47, #49

v0.4.0

20 Jun 18:33
Compare
Choose a tag to compare
  • Changing default samlFallback to login-request, since that is almost certainly the right thing and otherwise we are fairly broken by default -- #41
  • Tolerate missing format attribute in subject names -- #40
  • If callback protocol is not specified, use the protocol in the request -- #43, #42

v0.3.0

09 Jun 18:02
Compare
Choose a tag to compare

Significant changes, primarily around preventing replay attacks:

  • Check validity of NotBefore and NotOnOrAfter elements in assertions -- #35, #38
    • Note that this is on by default, so is a potentially breaking change.
  • Optionally, check inResponseTo ids to make sure each response matches a request, and that there is only one response to any request -- #37
  • Require latest xml-crypto, and stop monkey-patching xml-crypto
  • Documentation fix #39

v0.2.1

05 Jun 01:43
Compare
Choose a tag to compare

Add generateServiceProviderMetadata() function.

v0.2.0

03 Jun 00:21
Compare
Choose a tag to compare

Add EncryptedAssertion support, commonly needed for Shibboleth IDPs -- see issue #10.

v0.1.0

31 May 00:34
Compare
Choose a tag to compare

Many changes since last published:

  • Xpath fixes
  • Most changes from passport-saml-too fork (redirect changes not included since they don't have authentication)
  • Tolerate empty attribute sets (seen with OneLogin)
  • Tolerate alternate namespace prefixes (seen with Okta)
  • Add some tests
  • Use xmlbuilder library to construct xml
  • Upgrade library versions
  • Fixed security issues in signature parsing (see issue #19)

Since the test case suite is brand new, it seems likely that there are enough changes here to break some scenarios -- bug reports for scenarios that break welcomed.