Skip to content

AppDistribution - Support 'external_account' WIF service account credentials - Gradle #6936

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

Open
alexanderjohn opened this issue May 5, 2025 · 1 comment

Comments

@alexanderjohn
Copy link

What feature would you like to see?

Google strongly recommends using WIF credentials instead of legacy service-account credentials.json keys. We have followed that rule religiously across all of our CI integrations with GCP. This is the first tool that does not support WIF credentials.

> Task :app:appDistributionUploadProdRelease FAILED
Using APK path specified by the artifactPath parameter in your app's build.gradle: /home/circleci/project/app/build/outputs/apk/prod/release/app-prod-release.apk.
Uploading APK to Firebase App Distribution...
Using credentials file specified by environment variable GOOGLE_APPLICATION_CREDENTIALS: /home/circleci/.gcp_wif_credentials.json

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:appDistributionUploadProdRelease'.
> Service credentials file does not exist. Please check the service credentials path and try again: Error reading credentials from stream, 'type' value 'external_account' not recognized. Expecting 'authorized_user' or 'service_account'.
@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants