When I am running cf login and giving sudo cf login -a {API}" -o {Org} -s dev -u {user name} -p {password}
it is showing {"error":"invalid_grant","error_description":"User authentication failed: INVALID_AUTHORIZATION_HEADER_LENGTH"}
But using --sso it is working but I need without sso flag how to login by giving the password. I need this for CI CD