cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cloud Foundry Login Error

anmolsinha01
Explorer
11,987

SAP HANA CLOUD - SAP Business Application Studio

when i am creating a project from template i am not able to login in Cloud Foundry, nor i am able to login from Cloud Foundry: target > services.i am new to this HANA Cloud can you please help me how to solve this error.Every time i try to log in with my login credential i am not able to login it give me this Authentication failed Error
can anyone tell me how to do cf login
...
Authentication failed: API endpoint: https://api.cf.us10.hana.ondemand.com Authenticating... Password: API endpoint: https://api.cf.us10.hana.ondemand.com API version: 3.113.0 Not logged in. Use 'cf login' or 'cf login --sso' to log in. FAILED

View Entire Topic

Please try the Step 2 from Tutorial Configure SAP Business Application Studio Development for SAP HANA Development | Tutorials for SAP D...

If login fails, try the following:

Open a terminal by going to Terminal > New Terminal

In the terminal type the following:

cf login --sso

You will see a prompt:

API endpoint: https://api.cf.us10.hana.ondemand.com

Temporary Authentication Code ( Get one at https://login.cf.us10.hana.ondemand.com/passcode ):

Then, open the URL (ends with /passcode) in browser. You will be prompted to authenticate.

After authentication the browser will display a "Temporary Authentication Code".

Copy the code. You may use the copy icon.

Paste that code at the prompt in the terminal.

If authentication is successful, you will see:

Authenticating...
OK

If prompted to select an Org, type the number of the Org from the list. Do the same for Space.

anmolsinha01
Explorer
0 Likes

yes i got it yesterday i was new in this field so its been difficult to find solution so..Anyways i got the solution so thank you very much for your help dinu.pavithran