Answer the question
In order to leave comments, you need to log in
Authorization Google API AUTH2.0, everything works, but errors remain?
I perform authentication through passport, everything seems to be working fine. I get user data from Google, but errors remain, CORS is set to true just in case
res.header('Access-Control-Allow-Credentials', true);
res.header('Access-Control-Allow-Origin', true);
res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE');
res.header('Access-Control-Allow-Headers', 'X-Requested-With, X-HTTP-Method-Override, Content-Type, Accept')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question