DefaultCredentialProvider should detect GAE Standard #1231
Labels
priority: p4
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
This is the same issue as #1083, which has been fixed with #1109. However, the PR's changes but got reverted shortly after with #1123.
Now, I'm running into issues using the Cloud Endpoints framework on App Engine Standard with Java 8. I've registered a
ControlFilter
to publish API metrics to the Service Management API. This process uses theDefaultCredentialProvider
to obtain credentials to authenticate against the Service Management API.The flushing of these metrics will get executed in a different thread, so the error shown below (see stacktrace) is thrown. I would expect that no App Identity credential will be used in GAE Standard Java 8, instead the Metadata Server should be queried for a token (Compute Engine credential).
Environment details
Steps to reproduce
endpoints-management-control
libraryControlFilter
to theEndpointsServlet
Stacktrace
The text was updated successfully, but these errors were encountered: