Skip to content

Common code for integrating SPID authentication

License

Notifications You must be signed in to change notification settings

fabriziopapi/io-spid-commons

 
 

Repository files navigation

io-spid-commons

This repo contains:

  • a passport-strategy that implements SPID authentication
  • a method that configures an express endpoint to serve Service Provider metadata
  • a scheduled procedure that refreshes IDP metadata from the SPID registry
  • a redis cache provider to validate SAML InResponseTo field

You may use this package if you're going to implement a SPID Service Provider with a NodeJS express server.

Upgrading passport-saml

Beware that any changes to the method signatures of SAML.prototype.generateAuthorizeRequest and SAML.prototype.validatePostResponse must be reflected inside the CustomSamlClient class.

That's why the version of passport-saml in package.json is currently fixed at 1.2.0.

About

Common code for integrating SPID authentication

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.6%
  • Other 1.4%