-
Notifications
You must be signed in to change notification settings - Fork 4k
[fix] Reclassify Auth Callback Error -> Warning #13127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] Reclassify Auth Callback Error -> Warning #13127
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
✅ PR preview is ready!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR improves error handling for OAuth callback scenarios by reclassifying a log message from error to warning severity. The change addresses situations where OAuth callbacks are received without a valid provider, which typically occurs from stale or replayed requests (e.g., browser back/forward navigation) rather than genuine errors.
Key Changes
- Changed log severity from
errortowarningfor missing OAuth provider scenarios - Enhanced the log message to provide helpful context about the likely cause (stale/replayed callbacks)
- Added a reference comment linking to the related GitHub issue #13101
lukasmasuch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍

Describe your changes
Improved the error message when a provider is missing for an OAuth callback. Changed the log level from
errortowarningand added more context to the message, explaining that this often indicates a stale or replayed callback (e.g., from browser back/forward navigation).GitHub Issue Link (if applicable)
Fixes #13101
Testing Plan
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.