Replies: 2 comments 2 replies
-
The oauth token comes from UAA as mentioned in the authentication docs you linked. You should check out the linked UAA docs to understand how to get an oauth token https://docs.cloudfoundry.org/api/uaa/version/76.6.0/index.html#token |
Beta Was this translation helpful? Give feedback.
-
I discussed the topic in CAPI Open Office Hour and in the ARD Working Group Meeting. There was no objection to document the UAA client I opened cloudfoundry/docs-cloudfoundry-concepts#182 Not sure if this is the perfect place in the documentation but it seems to me a good starting point. Later, it can be additionally documented in e.g. https://v3-apidocs.cloudfoundry.org/index.html#authentication |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
we want to programatically access cf apis:
https://v3-apidocs.cloudfoundry.org/version/3.132.0/index.html#authentication
Our question is related to authentication. We are using below request for getting the oauth token. But we could not find any documentation on this client_id ("cf"). Is there any documentation available? Are there other options to get the oauth token without installing the CLI?
Thanks in advance &
Best regards,
Manuel
We get the token via HTTP request:
POST https://login.cf./oauth/token
grant_type=password
client_id = cf
client_secret=
username=[email protected]
passowrd=...
Beta Was this translation helpful? Give feedback.
All reactions