Google streamlines OAuth2 experiences on its Cloud Platform services.
In our digital age, lapses, bottlenecks, disruptions
and downtimes are not tolerated.
Those who use OAuth2, the global standard for
authorization, know that, OAuth2 has traditionally
been hard to use. It requires specialized knowledge.
With Application Default Credentials (ADC), Google is making things exciting. Henceforth all you need is a single line of auth code in your app:
Credential credential =
GoogleCredential.getApplicationDefault();
If you're not already familiar with auth concepts,
including 2LO, 3LO, and service accounts, this introduction is handy. You can also
find more about Google Application Default Credentials here.