I am inside the SAP Business Application Studio, inside the terminal, when I put the CF login command I enter my credentials and this appears
Authenticating... {"error":"invalid_grant","error_description":"User authentication failed: Unauthorized"}
Could you please help me
The solution on my side is to use the
--ssooption.cf login --sso -a https://api.cf.us10.hana.ondemand.comAfterwards you will be prompted to get a passcode from this url:
https://login.cf.us10.hana.ondemand.com/passcodeHowever, for me this failed several times. The key is to use alternative identity provider on the login screen and enter
sap.idsas provider when you already have an SAP Universal loginSadly, this does not work when using trial version in API endpoint
https://api.cf.us10-001.hana.ondemand.com. I already opened a support request.