How darrenjrobinson/entraauthtracer works
Entra Auth Tracer is a Chromium extension that captures authentication traffic, analyzes protocol-specific requests, and presents a searchable timeline with detailed findings and export options. The main path runs from browser network events through the background capture service into the popup, where requests can be inspected, correlated, and exported. The README also documents broad OAuth/OIDC, SAML/WS-Federation, FIDO2, Entra claims, and Verified ID capabilities. Some wiring is established only by documented behavior or module references; those limits are reflected by omitted or unverified edges.
Main entry points: ui.js Popup Interface · SAMLTrace.js Request Capture · background.js Background Service · Exporters.js Report Exporters
Components 15
Capture & State
- Background Service
src/background.js - Request Capture
src/SAMLTrace.js
Protocol Analysis
- OAuth Analysis
src/OAuthDecoder.js - SAML Detection
src/SAMLTrace.js - SAML Decoder
src/SamlDecoder.js - FIDO2 Decoder
src/Fido2Decoder.js - Verified ID Analysis
src/VerifiedIdDecoder.js - Entra Claims
src/EntraClaimsDecoder.js
Inspection & Reporting
- Flow Correlation
src/FlowCorrelator.js - Popup Interface
src/ui.js - UI Entry
src/ui.main.js - Report Exporters
src/Exporters.js
Shared Safety
- Redaction Helpers
src/Sanitize.js
Other components
- Browser Traffic
- Extension User
Connections 16
- Browser Traffic → Request Capture: sends events
src/SAMLTrace.js - Background Service → Request Capture: initializes
src/background.js - Request Capture → SAML Detection: detects traffic
src/SAMLTrace.js - Request Capture → OAuth Analysis: analyzes OAuth
src/SAMLTrace.js - Request Capture → FIDO2 Decoder: analyzes FIDO2
src/SAMLTrace.js - Request Capture → Verified ID Analysis: analyzes DID
src/SAMLTrace.js - Extension User → Popup Interface: opens
README.md - Popup Interface → Background Service: requests state
- UI Entry → Popup Interface: loads
src/ui.main.js - Popup Interface → Entra Claims: decodes claims
src/ui.js - Popup Interface → OAuth Analysis: renders analysis
src/ui.js - Popup Interface → SAML Decoder: renders SAML
src/ui.js - Popup Interface → Flow Correlation: groups requests
src/ui.js - Popup Interface → Report Exporters: builds reports
src/ui.js - Popup Interface → Redaction Helpers: redacts display
src/ui.js - Report Exporters → Redaction Helpers: redacts exports
src/Exporters.js