fix: handles MissingStateCookieError error during auth#2843
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated the Auth0 callback handler to adjust logging and error flow: added a file-level v8 ignore header, include the caught error in the missing-state-cookie log, and stop throwing on general callback errors—returning HTTP 500 JSON instead—while preserving error reporting and the redirect-to-/login for missing state. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
ce15108 to
247e620
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2843 +/- ##
==========================================
- Coverage 57.19% 56.50% -0.69%
==========================================
Files 1020 982 -38
Lines 23766 22826 -940
Branches 5863 5724 -139
==========================================
- Hits 13593 12898 -695
+ Misses 8859 8630 -229
+ Partials 1314 1298 -16
*This pull request uses carry forward flags. Click here to find out more. 🚀 New features to boost your workflow:
|
247e620 to
94b3426
Compare
Why
Ref #2464
What
Summary by CodeRabbit