ibm-cloud-docs / appid

IBM Cloud App ID documentation
https://cloud.ibm.com/docs/services/appid?topic=appid-gettingstarted#gettingstarted
6 stars 24 forks source link

URL uses localhost instead of using the public Endpoint #395

Closed dventurait closed 1 year ago

dventurait commented 1 year ago

In this Doc https://cloud.ibm.com/docs/appid?topic=appid-app&interface=ui

The curl command in the bottom of the doc is:

curl -X POST http://localhost:6002/oauth/v4/39a37f57-a227-4bfe-a044-93b6e6060b61/token    -H 'Authorization: Basic base64Encoded{clientId:secret}'    -H 'Content-Type: application/x-www-form-urlencoded'    -d grant_type=client_credentials

This is wrong since is using localhost and a specific tenant id.

Please update it using this curl command:

curl -X POST https://<region>.appid.cloud.ibm.com/oauth/v4/<tenantID>/token -H 'Authorization: Basic base64Encoded{clientId:secret}' -H 'Content-Type: application/x-www-form-urlencoded' -d 'grant_type=client_credentials'
h-romeus commented 1 year ago

Hello @dventurait, thank you for opening this issue! I've addressed your feedback and reviewed with the development team. The update is now available. Please don't hesitate to open additional feedback in the future. - Hadassa