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

Cloud Foundry Login Error

anmolsinha01
Explorer
11,986

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
dvankempen
Product and Topic Expert
Product and Topic Expert
anmolsinha01
Explorer

Thankyou Very muchdenys.kempen

kjyothiraditya
Participant
0 Likes

Hi denys.kempen dinu.pavithran tobias.griebe ,

I tried Terminal to generate SSO. It opens the URL https://login.cf.us10.hana.ondemand.com/passcode. It logins into this endpoint however my endpoint is https://api.cf.us10-001.hana.ondemand.com/ and login to this fails with both password and SSO. Seems like passwords are not synced. Could anyone please help me as well ?

Regards,

Aditya

0 Likes

Please post a new question when you are not commenting on the original question. This will help community offer better support.

You need to set the api for CLI first with

cf api https://api.cf.us10-001.hana.ondemand.com/

Then the cf login -sso will print the correct URL for login.