Skip to content

ritstudentgovernment/accounts-saml2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

accounts-saml2

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.

Install

meteor add ritstudentgovernment:accounts-saml2

Config

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.

About

Meteor package for SAML authentication.

Resources

License

Stars

Watchers

Forks

Packages

No packages published