try using this curl command in the terminal to get access token. "curl -X POST "https://localhost:8443/nifi-api/access/token" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" --data "username=&password=" --insecure"