Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14212

Fetch error response when hitting public OAuth/OIDC provider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.0, 3.3.2
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              smjn Sushant Mahajan
              smjn Sushant Mahajan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: