We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app.get("/auth/google", passport.authenticate('google',{ scope: ["profile"] }), function(req, res) { // Successful authentication, redirect to secrets. res.redirect("/auth/google/secrets"); });
Instead of: passport.serializeUser(User.serializeUser()); passport.deserializeUser(User.deserializeUser());
The text was updated successfully, but these errors were encountered:
thank you
Sorry, something went wrong.
i am getting Access blocked: Authorization Error after registering through google email id.
Hey , check my repo to see if you found the solution , my code works
Thank you so much. i have been looking for this answer since 3 days and finally i get my answer by this post. thank you so much once again.
No branches or pull requests
app.get("/auth/google",
passport.authenticate('google',{ scope: ["profile"] }),
function(req, res) {
// Successful authentication, redirect to secrets.
res.redirect("/auth/google/secrets");
});
passport.serializeUser((user, done) => done(null, user));
passport.deserializeUser((user, done) => done(null, user));
Instead of:
passport.serializeUser(User.serializeUser());
passport.deserializeUser(User.deserializeUser());
userProfileURL :"https://www.googleapis.com/oauth2/v3/userinfo" from GoogleStrategy. It is no longer needed.
Google Auth popup must work now.
The text was updated successfully, but these errors were encountered: