Sushant Mahajan created KAFKA-14212:
---------------------------------------

             Summary: 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


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)

Reply via email to