Ask a Question

Enabling OAuth2 for Kafka topics

Enabling OAuth2 for Kafka topics

It would really be helpful if OAuth2 authentication would be enabled for  Kafka topics just like for Rest APIs. Tokens would be dynamically generated and then put a reference to it into the connection settings. 

 

This feature would enable automating Kafka topics using OAuth2 as tokens expire after a given period (60 minutes or less usually)

 

2 Comments
RusselViola
Staff

You can use OAuth2 Profiles for your Kafka requests in the current version of ReadyAPI.

If you set up an OAuth profile in the Auth Manager: https://support.smartbear.com/readyapi/docs/requests/auth/index.html?sbsearch=Auth%20Manager

You should be able to use that Auth Profile in your API Connection step for your Kafka request:

RusselViola_0-1638825349191.png

 

jfnumainville
New Contributor

Thanks for your help @RusselViola !

 

I tried that, however the dropdown does not allow me to pick any OAuth2 profiles I created in my project, it only allows me to pick basic auth profiles. 😔

 

J-F

Announcements
Welcome to the ReadyAPI Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here