Skip to Content
Apr 19, 2022 at 12:58 AM

Not Able to run cf login


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