This Meteor package implements SAML2 authentication. It is a wrapper for the node passport-saml
module. It provides middleware routes for processing login, callback, and metadata requests.
meteor add ritstudentgovernment:accounts-saml2
Supply passport-saml SAML properties in the Meteor settings.json
like so:
{
"saml": {
"loginUrl": "/login",
"callbackUrl": "/login/callback",
// Supply remaining passport-saml options here.
}
}
For file options, specify a canonical path.
For URL options, specify a relative path which will be resolved.
There are extra (non passport-saml) options that be provided. They are:
serviceProviderCert
: Path to the Service Provider certificate file.metadataUrl
: URL which metadata can be read from.
See the Usage section of passport-saml documentation for options that can be specified.