You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Please update the quickstart guide with an example using google-auth-library-java #7388
Problem
The example in the quickstart guide 'Running a Search Console App in Java' is still using the deprecated googleapis.auth.oauth2.GoogleCredential. I understand that googleapis.google-auth-library-java.credentials should be used instead.
Solution
I'd like to see an updated example in the quickstart-guide where the google-auth-library-java is used.
Additional context
I've asked this question on several places, but nobody seems to be able to come up with an example.
Activity
haimraman commentedon Mar 29, 2021
I was missing this documentation as well, what I was able to figurer out from the project README
https://github.com/googleapis/google-auth-library-java#google-auth-library-credentials was this.
Credentials were generated as a service account from https://console.cloud.google.com/
with Enable G Suite domain-wide delegation
Although it works for me I sill missing official examples and a bit lost between all the token types and when should I use IAM