When I authenticate with an API Key or with OAuth the site in development generates the message below. I tried three API and this happens only with the Text-to-speech API. With the Google Sheets API and the Google Books APIs this doesn't happen.
I can solve in the following two alternative methods:
By creating a environment variable with a reference to the key. But this is now what I want, because this method is not always supported in the production environment.
By manually performing the authentication using PHP curl (without using the Google APIs Client Library for PHP)
Why Google Cloud is asking me to configure ADC if I have already provided this information during the authentication with PHP?
When I authenticate with an API Key or with OAuth the site in development generates the message below. I tried three API and this happens only with the Text-to-speech API. With the Google Sheets API and the Google Books APIs this doesn't happen.
I can solve in the following two alternative methods:
Why Google Cloud is asking me to configure ADC if I have already provided this information during the authentication with PHP?