Passport-SAML Library
We will be using Passport-SAML to configure SSO for our application. There are alternatives such as SAML2-JS and SamlifyJS which we could use.
There are libraries that assist with SAML-based SSO in other programming languages. There is, for instance, Pack4j for servers running on Java, flask-saml2 for servers running on Python and Flask, etc.
Go to terminal and run the following command to add Passport-SAML as a dependency to our app
npm install --save passport passport-saml