Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Expose Project ID from ServiceAccountCredentials #117

Closed
hiranya911 opened this issue Aug 7, 2017 · 1 comment
Closed

FR: Expose Project ID from ServiceAccountCredentials #117

hiranya911 opened this issue Aug 7, 2017 · 1 comment
Assignees
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@hiranya911
Copy link
Contributor

Currently the com.google.auth.oauth2.ServiceAccountCredentials class does not handle the project_id field available in Google service account JSON files. It would be useful if the credential can read this field, and expose it via a new getProjectId() method.

Usecase: We want to use this library within some Firebase SDKs, and we (in some situations) need to know the project ID along with the credential.

@chingor13
Copy link
Contributor

Fixed in #118 and available since 0.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants