Ask a Question

Kafka topic using OAuth2 authentication

SOLVED
jfnumainville
New Contributor

Kafka topic using OAuth2 authentication

Hello,

 

Does anyone have an example of a work Kafka topic that is using OAuth2 authentication? 

 

Thank you in advance!

 

J-F 

4 REPLIES 4
sonya_m
SmartBear Alumni (Retired)

Hi @jfnumainville ! Thank you for the question. In theory, this should work. While there's no detailed instruction, I hope this document can be of some help!

https://support.smartbear.com/readyapi/docs/testing/kafka/auth.html#manual

 

I also recommend looking into Kafka documentation and searching there for parameters needed for OAuth 2.0.

 

 


Sonya Mihaljova
Community and Education Specialist

Thank you @sonya_m  for your reply. 😀

 

The main obstacle I have with adding custom authentication parameters to the Kafka event connection settings is that the OAuth2 token needs to be dynamically generated as it expires after 60 minutes. Would there be a way to generate the token and then put a reference to it into the connection settings?

 

J-F 

sonya_m
SmartBear Alumni (Retired)

Hi @jfnumainville ! Looks like this can't be done out of the box, unfortunately. We do have ways to automate tokens but it won't work for Kafka.

Looks like this is a great feature request material, please feel free to submit it here.


Sonya Mihaljova
Community and Education Specialist

Thank you @sonya_m for  your quick reply! I submitted the feature request, please don't hesitate to vote for it! 😉

 

https://community.smartbear.com/t5/Feature-Requests/Enabling-OAuth2-for-Kafka-topics/idi-p/226609

cancel
Showing results for 
Search instead for 
Did you mean: