chore(oidc): trace consent grant/gate decisions to diagnose the first-time consent loop (BUNYIP-234) #262
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
psa-systems/bunyip!262
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-234-consent-loop-diagnostics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Diagnostic-only. The reported symptom (clicking Allow on /oauth2/consent leaves the user stuck on the same page; going back and re-clicking Mokosh works) is consistent with three possible root causes that the existing code-path tracing can't discriminate between:
Three targeted tracing::info lines:
Correlate the three by user_id across one repro and the root cause falls out:
No behaviour change. Next session deploys, reproduces, reads logs, and ships the targeted fix from a known root cause.
#BUNYIP-234