[
https://issues.apache.org/jira/browse/KAFKA-14212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17605566#comment-17605566
]
Kirk True commented on KAFKA-14212:
-----------------------------------
Thanks for finding this, Sushant! I see this Jira is assigned to you. Do you
plan to submit a PR?
> 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)