Use this as a starting point to do SSO with your SAML IdP - this example has been configured to talk to AD FS out of the box, but passport-saml
supports most SAML providers.
'Login Host' endpoint.
'Login Host' endpoint.
-
Request (application/json)
- Body { }
-
Response 200 (application/json)
- Body { "host": "https://example.com/login?token=deviceId" }
Session is valid endpoint.
Session is valid endpoint.
-
Request (application/json)
- Body { "token": "c55a8b1b52a63f17", "service": "saml" }
-
Response 200 (application/json)
- Body { "status": "ok" }
-
Response 401 (application/json)
- Body { "status": "expired" }