Skip to content

basalt / auth-saml/src / samlRoutes

Function: samlRoutes() ​

> samlRoutes(options?): BasaltRoute[]

Defined in: auth-saml/src/index.ts:735

Ready-made SAML routes:

  • GET /auth/saml/:provider/login → 302 to the IdP.
  • POST /auth/saml/:provider/acs → validate the assertion and log in.
  • GET /auth/saml/:provider/metadata → SP metadata XML.

Parameters ​

options? ​

SamlRoutesOptions = {}

Returns ​

BasaltRoute[]

Released under the MIT License.