Problem: HTTP 500 on malformed authorization codes
Problem: HTTP 500 on malformed authorization codes: a task in LegoFlow-SWE (Harbor dataset). The OAuth provider’s token endpoint returns 500 Internal Server Error when it processes authorization codes that contain malformed or structurally invalid verification values. Instead of a proper OAuth…
The task
The OAuth provider’s token endpoint returns `500 Internal Server Error` when it processes authorization codes that contain malformed or structurally invalid verification values. Instead of a proper OAuth error response, the server crashes or returns an unexpected error.
Part of Lego-X/LegoFlow-SWE.