ReadonlyacsThe absolute assertion consumer service URL the IdP posts to. Its path
must end with <basePath>/<name>/acs; the assertion's Recipient and the
response's Destination must equal it.
ReadonlyentityThis application's SP entity id. Sent as the AuthnRequest Issuer,
required as the assertion's Audience, and published in the metadata.
Optional ReadonlyfailureRedirect here with a fixed ?error= code instead of answering 401.
Same-origin absolute path.
ReadonlyidpThe identity provider.
Readonlycerts: readonly string[]The IdP's signing certificates, PEM. More than one lets a key rotation overlap; an assertion signed by any of them verifies.
ReadonlyentityId: stringThe IdP's entity id; the assertion Issuer must equal it exactly.
ReadonlyssoUrl: stringThe IdP's single-sign-on URL for the HTTP-Redirect binding.
ReadonlykindDiscriminant.
Optional ReadonlymoduleAn injected SAML library module; skips the lazy
@node-saml/node-saml import.
ReadonlynameKebab-case name, used in the route paths (/auth/<name>/login).
Optional ReadonlystorePending-request and assertion-replay store. Defaults to a
MemorySamlRequestStore, which is correct for ONE replica only.
Maps the verified profile to a principal; return null to refuse the
sign-in with 403. A NameID is unique only within its issuer, so an
application with several identity sources must namespace the id.
A SAML 2.0 identity provider, for which this application acts as the service provider (M100f).
Login is SP-initiated over the HTTP-Redirect binding and the response returns to the assertion consumer service over HTTP-POST. Assertions must be signed; IdP-initiated (unsolicited) responses, encrypted assertions and single logout are refused or not offered.
Since
0.8.0