on 03-02-2022 5:28 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thankyou Very muchdenys.kempen
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
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.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.