[
https://issues.apache.org/jira/browse/KAFKA-14212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17605608#comment-17605608
]
Sushant Mahajan commented on KAFKA-14212:
-----------------------------------------
Hi Kirk, yes I will submit the PR in a few days.
> Fetch error response when hitting public OAuth/OIDC provider
> ------------------------------------------------------------
>
> Key: KAFKA-14212
> URL: https://issues.apache.org/jira/browse/KAFKA-14212
> Project: Kafka
> Issue Type: Improvement
> Reporter: Sushant Mahajan
> Assignee: Sushant Mahajan
> Priority: Minor
>
> The class
> org.apache.kafka.common.security.oauthbearer.secured.HttpAccessTokenRetriever
> is used to send client creds to public OAuth/OIDC provider and fetch the
> response, possibly including the access token.
> However, if there is an error - the exact error message from the provider is
> not currently being retrieved.
> The error message can help the client easily diagnose if failure to fetch
> token is due to some misconfiguration on their side.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)