Skip to content

Commit

Permalink
Update the url to application default credentials (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Sep 17, 2018
1 parent 4298fa3 commit 1ad5abc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -346,7 +346,7 @@ See [CONTRIBUTING][contributing].

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

[Application Default Credentials]: https://developers.google.com/identity/protocols/application-default-credentials#callingnode
[Application Default Credentials]: https://cloud.google.com/docs/authentication/getting-started
[apptype]: https://user-images.githubusercontent.com/534619/36553844-3f9a863c-17b2-11e8-904a-29f6cd5f807a.png
[authdocs]: https://developers.google.com/accounts/docs/OAuth2Login
[axios]: https://github.com/axios/axios
Expand All @@ -367,6 +367,4 @@ This library is licensed under Apache 2.0. Full license text is available in [LI
[snyk-image]: https://snyk.io/test/github/google/google-auth-library-nodejs/badge.svg
[snyk-url]: https://snyk.io/test/github/google/google-auth-library-nodejs
[stackoverflow]: http://stackoverflow.com/questions/tagged/google-auth-library-nodejs
[stream]: http://nodejs.org/api/stream.html#stream_class_stream_readable
[devconsole]: https://console.developer.google.com
[cloudplatform]: https://developers.google.com/cloud/
2 changes: 1 addition & 1 deletion src/auth/googleauth.ts
Expand Up @@ -259,7 +259,7 @@ export class GoogleAuth {
if (!isGCE) {
// We failed to find the default credentials. Bail out with an error.
throw new Error(
'Could not load the default credentials. Browse to https://developers.google.com/accounts/docs/application-default-credentials for more information.');
'Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.');
}

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

0 comments on commit 1ad5abc

Please sign in to comment.