mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 09:10:58 +01:00
1.3 KiB
1.3 KiB
SAML SSO Provider Lifecycle
Objective
Validate the full SAML SSO provider lifecycle: create a SAML provider, verify it appears in the provider list, check SP metadata generation, test-connection validation, enable/disable toggling, and cleanup via delete.
Steps
- Log in as admin.
- GET
/api/security/sso/providers— verify the endpoint responds (200 or 402). - POST
/api/security/sso/providers— create a SAML provider with stub IdP metadata. - GET
/api/security/sso/providers— verify the new provider appears. - GET
/api/saml/{providerID}/metadata— verify SP metadata XML is returned. - POST
/api/security/sso/providers/test— validate the IdP metadata. - Navigate to
/settings/security-sso— verify the SSO settings page renders. - PUT
/api/security/sso/providers/{id}— disable the provider, verify disabled. - PUT
/api/security/sso/providers/{id}— re-enable, verify enabled. - DELETE
/api/security/sso/providers/{id}— delete and verify removal.
Expected Outcomes
- Provider CRUD works end-to-end when
advanced_ssois licensed. - 402 paywall response is correct when not licensed.
- SSO settings page renders SSO-related content or upgrade messaging.
Environment Variables
PULSE_E2E_SAML_IDP_METADATA_URL— optional live IdP metadata URL.