@radzor/saml-auth
SAML 2.0 SSO authentication for Service Provider-initiated flows. Generates login URLs, validates SAML responses, and extracts user attributes. Uses node:crypto for XML signing.
Install
View source on GitHub →Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| entityId* | string | — | Service Provider entity ID (your application identifier).SAML_ENTITY_ID |
| acsUrl* | string | — | Assertion Consumer Service URL where the IdP sends SAML responses.SAML_ACS_URL |
| idpLoginUrl* | string | — | Identity Provider SSO login endpoint URL.SAML_IDP_LOGIN_URL |
| idpCert* | string | — | Identity Provider's X.509 certificate for signature validation (PEM format).SAML_IDP_CERT |