Content Deep Dive

Test SAML SSO Locally Without an Okta or Entra Tenant

Blog post from SSOJet

Post Details
Company
Date Published
Author
-
Word Count
2,053
Company Posts That Month
50
Language
English
Hacker News Points
-
Post removed?
No
Summary

SAML single sign-on can be tested entirely on localhost because the browser relays the IdP’s signed response to an application’s Assertion Consumer Service, eliminating the need for a public URL or tunnel. Available approaches include real vendor development tenants, which provide authentic behavior but have eligibility, expiration, and CI limitations; Keycloak in Docker, which offers a configurable local IdP but produces Keycloak-specific assertions; and SSOJet’s open-source mock-idp, which simulates provider-specific behaviors for Okta, Entra, AD FS, and others while supporting intentional SAML faults. The walkthrough explains how to run mock-idp, register an application, retrieve metadata and endpoint details, configure standard SP validation settings, perform SP- and IdP-initiated sign-ins, and inspect decoded SAML logs. It emphasizes testing security failures such as incorrect audiences, expired assertions, and signature-wrapping attacks, as well as validating signatures, issuers, destinations, time windows, and algorithms. For CI, mock-idp can generate signed responses through an API without a browser, enabling automated checks across simulated providers and failure scenarios.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Platform Engineering 48 2,014 399 102 +19%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.