peburrows / goth

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

Add default source with ADC support #94

Closed bbhoss closed 3 years ago

bbhoss commented 3 years ago

As mentioned in #77, Goth should support ADC. Additionally Goth should Just Work™️ out of the box without needing to provide an explicit source in the case that default credentials exist. I propose we mirror the google-auth Python library that I suspect most GCP users have experience with. They have the order of defaults to use documented here. I propose we mirror this order where Goth supports the auth methods (it's unclear the GAE method is supported).

wojtekmach commented 3 years ago

We don't plan to tackle this so I'm going to close this for now but a PR will be very welcome, thanks!