Problem/Motivation

Since #3608330, gacGetFeed() throws a RuntimeException when the credentials JSON path is empty, while 4.0.8 let google/auth fall back to Application Default Credentials (gcloud ADC file, GCP metadata server). With an empty path, we should skip both the exception and putenv(), so the SDK can use ADC again.

Since #3608330, the auth form and hook_requirements() only accept credentials JSON files with "type": "service_account", which rejects authorized_user, external_account and other types that google/auth supports and that worked in 4.0.8. Validation should accept any valid JSON file with a non-empty "type" key.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

kaszarobert created an issue. See original summary.

  • kaszarobert committed 6e52677e on 4.0.x
    Issue #3630173: Empty credentials path behavior regression fix and...
kaszarobert’s picture

Version: 4.0.9 » 4.0.x-dev
Assigned: kaszarobert » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.