Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

Access nifi-api with Azure Active Directory Token

New Contributor

Is there any way to do authentication via REST calls (/nifi-api) on a NiFi instance protected by Azure Active Directory?

I have NiFi configured so that it is possible to successfully authenticate through the UI with Azure Active Directory redirection. However, I need my application to communicate directly with the NiFi API. I was able to authenticate to Azure AD and receive a Bearer token, but could not figure out how to exchange this valid Bearer token for a JWT from NiFi. Is there any way to interact with the '/access/oidc/exchange' endpoint? Is this the only way to access to the OIDC-secured API?