← Back to portfolio

SSO Troubleshooting Tracer

Status

Design and Prototype

Maturity

Browser extension concept with documented flow

Evidence

Flow documentation complete · Repo pending · Demo video pending

Next

Build Chrome extension MVP

Architecture

Browser
Service Provider
Identity Provider
Assertion / Token
Diagnostic Report

Problem Statement

SSO failures are opaque by design — assertions are base64-encoded, tokens are JWT-encoded, and error messages from service providers are deliberately vague. Enterprise support teams spend significant time diagnosing federation failures that could be resolved in minutes with the right tooling. MTTR for SSO outages is disproportionately high relative to the underlying complexity of most failures.

What Was Built

A structured SSO troubleshooting workflow with a documented failure pattern library covering SAML 2.0 and OIDC. The design targets a browser extension that captures SSO traffic, decodes payloads, redacts sensitive fields, and maps observed symptoms to known failure patterns with resolution steps.

The current artefact is the documented workflow and failure pattern library. The browser extension implementation is the next milestone.

Supported Protocols

SAML 2.0

  • · POST binding trace and decode
  • · Assertion structure inspection
  • · Signature and certificate validation
  • · Attribute mapping verification
  • · Conditions: NotBefore, NotOnOrAfter, AudienceRestriction

OIDC / OAuth 2.0

  • · Authorization code flow analysis
  • · PKCE: code_challenge and code_verifier verification
  • · Token exchange inspection
  • · Redirect URI validation
  • · Cookie and session state analysis

SSO Failure Pattern Library

Failure PatternProtocolSymptomDetectionResolution
Clock skewSAMLNotBefore/NotOnOrAfter rejectedCompare IdP and SP system timesSync NTP; allow 5-min skew
Wrong ACS URLSAMLSP rejects assertion destinationCompare Destination vs SP ACS URLCorrect SP metadata or IdP config
Expired signing certSAMLSignature validation failureCheck IdP cert expiry vs SP metadataRenew cert, update SP metadata
Missing attributeSAMLSP returns access deniedInspect assertion attributesAdd attribute mapping in IdP
Missing PKCE verifierOIDCToken endpoint returns invalid_grantCheck code_verifier and hashImplement PKCE correctly
SameSite cookie issueOIDCSession cookie not set after redirectInspect Set-Cookie headersSet SameSite=None; Secure
Wrong redirect URIOIDCAuth server returns invalid_requestCompare registered vs actual redirect_uriRegister correct URI in IdP

Employer Value

Risk reduced

Prolonged SSO outages due to opaque failure diagnosis

Operational value

Structured diagnostics reduce MTTR for federation issues

IAM domain

SAML 2.0, OIDC, federation troubleshooting

Seniority signal

Tooling design for enterprise support — not just protocol knowledge

Evidence

Failure pattern library

[ Documented above ]

Browser extension prototype

[ Repo pending ]

Demo video

[ Demo video pending ]

SAML decode walkthrough

[ Screenshot pending ]