Skip to content

Commit 1ad5abc

Browse files
Update the url to application default credentials (googleapis#470)
1 parent 4298fa3 commit 1ad5abc

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ See [CONTRIBUTING][contributing].
346346

347347
This library is licensed under Apache 2.0. Full license text is available in [LICENSE][copying].
348348

349-
[Application Default Credentials]: https://developers.google.com/identity/protocols/application-default-credentials#callingnode
349+
[Application Default Credentials]: https://cloud.google.com/docs/authentication/getting-started
350350
[apptype]: https://user-images.githubusercontent.com/534619/36553844-3f9a863c-17b2-11e8-904a-29f6cd5f807a.png
351351
[authdocs]: https://developers.google.com/accounts/docs/OAuth2Login
352352
[axios]: https://github.com/axios/axios
@@ -367,6 +367,4 @@ This library is licensed under Apache 2.0. Full license text is available in [LI
367367
[snyk-image]: https://snyk.io/test/github/google/google-auth-library-nodejs/badge.svg
368368
[snyk-url]: https://snyk.io/test/github/google/google-auth-library-nodejs
369369
[stackoverflow]: http://stackoverflow.com/questions/tagged/google-auth-library-nodejs
370-
[stream]: http://nodejs.org/api/stream.html#stream_class_stream_readable
371370
[devconsole]: https://console.developer.google.com
372-
[cloudplatform]: https://developers.google.com/cloud/

src/auth/googleauth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export class GoogleAuth {
259259
if (!isGCE) {
260260
// We failed to find the default credentials. Bail out with an error.
261261
throw new Error(
262-
'Could not load the default credentials. Browse to https://developers.google.com/accounts/docs/application-default-credentials for more information.');
262+
'Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.');
263263
}
264264

265265
// For GCE, just return a default ComputeClient. It will take care of

0 commit comments

Comments
 (0)