Skip to content

Remove dependency on google-auto-auth and use google-auth-library #832

Description

@anthmgoogle

google-auth-library is where auth-related functionality should go. Add whatever features are required from google-auto-auth to it, and switch the dependency back to google-auth-library-nodejs.

Activity

  1. stephenplusplus commented on Aug 28, 2015

    @stephenplusplus
    Contributor

    google-auto-auth uses google-auth-library-nodejs -- auto-auth doesn't do anything other than make auth-library easier to use and adds convenience methods (like getCredentials and getToken).

    I only made it into its own module to restrict gcloud from taking on more responsibility than it needs. I also needed to use it from another module: https://github.com/stephenplusplus/gce-images (that is in turn used by gcloud).

    I would like to switch back to auth-library and deprecate auto-auth, but is it possible to wait to see if googleapis/google-auth-library-nodejs#54, googleapis/google-auth-library-nodejs#55, and googleapis/google-auth-library-nodejs#56 re-shape the library to make it easier for us to consume first?

  2. stephenplusplus commented on Aug 28, 2015

    @stephenplusplus
    Contributor

    Sorry, I missed the second part saying just what I was asking for in my reply. Hard to believe I couldn't read two sentences properly... I'll make an issue to get me a pair of glasses.

  3. changed the title [-]Remove dependency on auth-auth and use google-auth-library[/-] [+]Remove dependency on google-auto-auth and use google-auth-library[/+] on Sep 17, 2015
  4. stephenplusplus commented on Aug 26, 2016

    @stephenplusplus
    Contributor

    I think this issue can be tracked on google-auth-library (googleapis/google-auth-library-nodejs#54, googleapis/google-auth-library-nodejs#55, googleapis/google-auth-library-nodejs#56). We'll be aware if and when changes are made there and happily use google-auth-library as our dependency here.

  5. added a commit that references this issue on Nov 11, 2022
  6. added a commit that references this issue on Jul 23, 2025
  7. 4 remaining items

  8. added a commit that references this issue on Jan 28, 2026
  9. added a commit that references this issue on Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

corestatus: blockedResolving the issue is dependent on other work.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions