* Initial plan
* Initial analysis of inline chat moderation 500 error issue
Co-authored-by: gabek <414923+gabek@users.noreply.github.com>
* Fix inline chat moderation 500 errors by supporting Authorization header tokens
- Modified RequireUserModerationScopeAccesstoken middleware to check both Authorization header (Bearer tokens) and URL query parameters
- This fixes the issue where inline chat moderation from the web UI was failing with 500 errors
- Maintains backward compatibility with existing code that uses query parameter tokens
- The fix aligns the chat endpoint behavior with the integrations endpoint which already supported Bearer tokens
Addresses the wiring issue between OpenAPI spec and API implementation identified in issue comments.
Co-authored-by: gabek <414923+gabek@users.noreply.github.com>
* Fix inline chat moderation 500 errors by adding nil pointer checks
Co-authored-by: gabek <414923+gabek@users.noreply.github.com>
* Fix nil pointer vulnerabilities across all OpenAPI endpoints
Co-authored-by: gabek <414923+gabek@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gabek <414923+gabek@users.noreply.github.com>