The current documentation is pretty bad - not bad as much as choppy and inaccurate in important ways. A version is at https://github.com/perl-net-saml2/perl-Net-SAML2/wiki/Adding-Net::SAML2-to-your-Web-App