10

What are the differences between those those two libraries? Which one should I use for authentication?

for example: I saw that while one include the setCredentials, the other doesn't support it. and have credentials as a property

rabashani
  • 1,443
  • 2
  • 14
  • 22

1 Answers1

2

So, it appears that the first one is indeed in alpha. Also, the second one is official release and maintained by google fellows, and yesterday was released it 1.0.0 version. see it here as well -> https://github.com/google/google-auth-library-nodejs/issues/241

rabashani
  • 1,443
  • 2
  • 14
  • 22
  • I had the same question. I gonna go for https://github.com/google/google-auth-library-nodejs too because it's the one documented in the doc, for example https://developers.google.com/identity/sign-in/web/backend-auth – David Dal Busco Mar 23 '18 at 11:42