Skip to content

Conversation

@BrodBlox09
Copy link

@BrodBlox09 BrodBlox09 commented Nov 28, 2025

Throw error in the case the user-provided credentials file does not include keys "installed" or "web" to prevent unclear "Cannot read properties of undefined (reading 'redirect_uris')" error. #950 (comment) no longer seems to be accurate, since the code does not seem to allow for service account JSON key files.

Amends #950 partially (makes error more clear)

  • npm run test succeeds.
  • npm run lint succeeds.
  • Appropriate changes to README are included in PR.

@google-cla
Copy link

google-cla bot commented Nov 28, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@BrodBlox09
Copy link
Author

I signed the CLA using my Google account, but I'm not sure it will work since I made the commit with 99990717+BrodBlox09​@users.noreply.github.com.

Throw error in the case the user's credential file does not include keys "installed" or "web" to prevent "Cannot read properties of undefined (reading 'redirect_uris')" error.
@BrodBlox09
Copy link
Author

Attempted to update author email to the one I signed the CLA with

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant