Created 05-20-2021 06:27 AM
Can somebody show me how to implement controller (OAuth2TokenProviderImpl) in Nifi Flow or provide any example with template.
Created 05-20-2021 01:57 PM
@midee
I am not sure you have provide enough detail on what it is you are trying to accomplish.
Are you trying to setup your NiFi securely and use oath 2 based provider to authenticate your users in to NiFi? If so, you may find this helpful:
https://bryanbende.com/development/2017/10/03/apache-nifi-openid-connect
If you are trying to interface with an oath2 compliant endpoint via a NiFi dataflow, this may be helpful:
https://pierrevillard.com/2017/01/31/nifi-and-oauth-2-0-to-request-wordpress-api/comment-page-1/
If this helped you with your query, please take a moment to login and click accept on this solution.
Thank you,
Matt
Created 05-21-2021 04:47 AM
Hi @MattWho ,
Thanks for reply.
However, I am looking how to implement controller (OAuth2TokenProviderImpl) in nifi. Like how to use this controller with processer and let me know which processer will link with this controller.
Thanks
Created 08-23-2021 06:18 AM
Created 08-24-2021 09:46 AM
@midee @guima
The OAuth2TokenProviderImpl controller service was added to NiFi around the 1.13 release timeframe.
At the time of its creation, there were no processors within NiFi yet that use it natively.
It's only usable in scripted processors that customers would use. However the Apache NiFi community is working on ways to leverage this controller service in processors such as InvokeHTTP in the future.
You are encourage to participate and contribute to the Apache NiFi product.
Hope this helps,
Matt
Created 01-03-2022 09:07 AM
We have started using 1.13 version. Any example or documentation using the OAuth2TokenProviderImpl controller service is much appreciated.