On Google cloud, when no credentials files exist, without explicit configuration or with source set to :metadata, an impersonated token can be created with Goth.Token.for_scope("https://www.googleapis.com/auth/gmail.send", "info@domain.com"), but that is deprecated
I cannot find a way to configure Goth so that Goth.fetch returns an impersonated token
On Google cloud, when no credentials files exist, without explicit configuration or with source set to
:metadata, an impersonated token can be created withGoth.Token.for_scope("https://www.googleapis.com/auth/gmail.send", "info@domain.com"), but that is deprecatedI cannot find a way to configure Goth so that Goth.fetch returns an impersonated token