GoogleCloudPlatform / express-oauth2-handlers

Apache License 2.0
22 stars 14 forks source link

[google-auth-library:DEP007] DeprecationWarning: The `refreshAccessToken` method has been deprecated #10

Open eastern-pankaj opened 4 years ago

eastern-pankaj commented 4 years ago

I am getting below error with this library version 0.1.2

[google-auth-library:DEP007] DeprecationWarning: The refreshAccessToken method has been deprecated, and will be removed in the 3.0 release of google-auth-library. Please use the getRequestHeaders method instead.

ahmaxed commented 4 years ago

@ace-n, @jkwlui, @grant any updates on this? :)

ahmaxed commented 4 years ago

@eastern-pankaj, were you able to resolve the error?

ace-n commented 4 years ago

Hey folks,

First of all, @eastern-pankaj thanks for flagging this issue.

Unfortunately (as per the README), this launched as an "experimental" project. Since then, it's been abandoned to some degree due to lack of sufficient usage compared to some of our other "benchmark" libraries. As such, we can't promise to follow up on these issues.

If you'd like to continue using this repo (and are willing to maintain it going forward), I'd suggest forking it and using that fork going forward. (If you'd like to publish your forked version on NPM, create an issue on that GitHub repo and CC me or email me directly, and I'll confirm that publishing such a fork is OK with our legal folks.)