cancel
Showing results for 
Search instead for 
Did you mean: 

Not Able to run cf login

rupambecs999
Explorer
0 Kudos

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

View Entire Topic
JürgenAdolf
Product and Topic Expert
Product and Topic Expert

Hello,

Probably the user has a password in Universal ID, but none / not the correct one in SAP ID Service. See https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/7a37d66c2e7d401db4980db0cd74aa6b.html...

See the Note at the end of pt. 4 -> For more information, see SAP Note 3085908

Set your password in IDS newly.

luanmatos
Explorer
0 Kudos

Hello juergen.adolf ,

Thank you very much. I managed to resolve my issue by resetting my password. This note from SAP solved my problem.

Thanks!