Skip to content

chore: add gated auth debug instrumentation for login and redirect flow#293

Open
braianj wants to merge 3 commits intomainfrom
chore/auth-debug-instrumentation
Open

chore: add gated auth debug instrumentation for login and redirect flow#293
braianj wants to merge 3 commits intomainfrom
chore/auth-debug-instrumentation

Conversation

@braianj
Copy link
Contributor

@braianj braianj commented Feb 24, 2026

Problem

Authentication redirect behavior was hard to debug because logs were scattered, inconsistent, and lacked end-to-end traceability between login attempts and final navigation decisions.

Solution

Added a gated authDebug instrumentation layer (?authDebug=1 or localStorage.dcl_auth_debug=1) with structured events, steps, attempt IDs, and sanitized payloads across login, session recovery, profile-check decisions, and redirect fallback paths.

@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auth Building Building Preview, Comment Feb 24, 2026 9:40pm

Request Review

Base automatically changed from refactor/login-email-flow-dedupe to fix/email-otp-thirdweb-session-alignment February 25, 2026 13:38
Base automatically changed from fix/email-otp-thirdweb-session-alignment to main February 25, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant