I am trying to authenticate to NiFi using the api and curl. I understand the concept (I've traced it using Chrome) :
I curl the "https://myhost:8443/nifi-api/access/oidc/request" using the command :
curl -v 'https://mynifiserver.mydomain.com:8443/nifi-api/access/oidc/request' \ -X GET \ -H 'Connection: keep-alive' \ -H 'Referer: https://mynifiserver.mydomain.com:8443/nifi-api/'; \ -H 'Accept-Encoding: gzip, deflate, br' \ -H 'Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7' \ --compress --insecure \ -L -j -c cookies.jar.txt \ > curl.request.txt
Since I've traced the request I can see that :
Where did I go wrong ?