Skip to content

DefaultCredentialsProvider is broken for java8 app engine  #228

@igorbernstein2

Description

@igorbernstein2

This was reported by a bigtable customer:

I've traced through where it fails. In DefaultCredentialsProvider.getDefaultCredentialsUnsynchronized() it will only return the AppEngine credentials if the following evaluates to true:

this.isOnGAEStandard7()

I am on GAE Standard but am using Java 8 not 7, so this check is false and it does not return any valid credentials.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions