Hi All,

We have nifi 1.9.2 & configured with oidc for authentication and trying to 
access the REST API via curl but not able to find documentation for the same.

I tried with below commands, but it is failing with an error "Username/Password 
login not supported by this NiFi."
curl 'https://192.168.112.49:9443/nifi-api/access/token' -H 'Accept-Encoding: 
gzip, deflate, br' -H 'Content-Type: application/x-www-form-urlencoded; 
charset=UTF-8' -H 'Accept: */*' --data 'username=nifi&password=Nifi123!' 
--compressed -k

Can someone pls help ? pointing to doc or any other pointers?
I have gone through an old issue 
http://apache-nifi.1125220.n5.nabble.com/Nifi-REST-API-access-to-OpenID-connect-secured-instance-td20644.html
 but no proper answer.

Thanks & Regards,
Hemantha

Reply via email to