Hi there,
We are using passport.js to authenticate people with their Google account. And I'm receiving emails from Google last days that we are using something that's going to be fully deprecated. Screenshot of the email below:

Here is the code we have for authentication:
const options = {
authType: "rerequest",
state: JSON.stringify(data),
session: false,
failureRedirect: "/login",
scope: ["profile", "email"],
};
passport.authenticate("google", options)(req, res, next);
Are you going to update the api you are making requests to? Or should I update something in my code?
Same problem.
@ginovski You can use forked package for now: https://github.com/builderbook/builderbook/issues/195
EDIT: solution suggested by @archiebaer does look simpler : https://stackoverflow.com/a/54112673/10124491
@jaredhanson Are you going to review this PR?
https://github.com/jaredhanson/passport-google-oauth2/pull/51
You may find this useful: https://stackoverflow.com/a/54112673/10124491
Any update on the PR ? would be nice to pull the trigger on it
[email protected] has been published to npm. More information here: https://medium.com/passportjs/google-api-shutdown-330c3b47e3df
Most helpful comment
You may find this useful: https://stackoverflow.com/a/54112673/10124491