zhjwpku opened a new pull request, #1079: URL: https://github.com/apache/iceberg-cpp/pull/1079
OAuth token response validation includes an unsupported `token_type` value in the returned error, allowing response-provided data to reach application logs. Omit that value while preserving the validation error kind and the allowed-type diagnostic. JSON parse errors already omit response values. Add regression coverage through both client-credentials and token-exchange requests for malformed JSON, missing fields, wrong field types and invalid token types. The regression fails before the fix through both request paths. Validation: REST suite (499 passed, 1 skipped), pre-commit, and clang-tidy on changed lines. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
