peburrows / goth

Elixir package for Oauth authentication via Google Cloud APIs
http://hexdocs.pm/goth
MIT License
284 stars 108 forks source link

Fetch credentials from default path if available #79

Closed eamontaaffe closed 3 years ago

eamontaaffe commented 3 years ago

Fixes #77

wojtekmach commented 3 years ago

Thank you for the PR!

We're moving forward with Goth redesign where we replace global configuration with a more explicit approach and we'd prefer to add new functionality to the new API. Currently we don't support ADC at all, but fwiw the user might manually read the credentials file and pass down the options. If we were to have better support for ADC, it would most likely be as an explicit parameter, similar to how we configure it to use metadata service in https://github.com/peburrows/goth/pull/85.

If you'd like to work on supporting in ADC in the new design, please start a discussion on #82 (or a new issue) how this would look like.