on 2023 Sep 27 3:32 PM
Hello experts, it's me again with a question. I find it interesting and puzzling that I can log in to https://login.cf.us10-001.hana.ondemand.com and https://uaa.cf.us10-001.hana.ondemand.com through a web browser with my credentials (email and password). However, when I attempt to access https://login.cf.us10-001.hana.ondemand.com/oauth/token and https://uaa.cf.us10-001.hana.ondemand.com/oauth/token, I don't have authorization with the same credentials. On the other hand, when I use CF CLI, I can log in to https://api.cf.us10-001.hana.ondemand.com with these credentials and easily obtain the token using the cf oauth-token command. But the goal is to access the token through https://uaa.cf.us10-001.hana.ondemand.com/oauth/token to use it in a CPI IFlow.







Thank you for your support!
Request clarification before answering.
Hi,
from my understanding the "Token Endpoint" is used by (OAuth-) clients that have been registered beforehand.
See spec at https://www.rfc-editor.org/rfc/rfc6749#section-3.2.1
To access CPI iFlow, you can use Basic Authentication with your real user, the CPI framework will do the OAuth flow "password" under the hood.
Alternatively, create your service instance of CPI and then a service key, to get the clientid/secret from it
Maybe you find these blog posts interesting:
from the links section, this docu link you should read:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.