When trying to retrieve a bearer token via curl, we get the following error:
{“fault”:{“faultstring”:“Unable to identify proxy for host: default and url: /jwt/token”,“detail”:{“errorcode”:“messaging.adaptors.http.configuration.ApplicationNotFound”}}}
The curl call being made is:
curl -i -X POST “http://$ORG.apigee.net/jwt/token” -d ‘{“grant_type”:“client_credentials”, “client_id”:“$KEY”, “client_secret”:“$SECRET”}’ -H “Content-Type: application/json”
When using the same $KEY and $SECRET with the ‘edgemicro token get’ command, the JWT token is sent as expected.
We are using version 1.1.0 of the Micro Gateway.