Authorize Google API AUTH2.0, it works, but the error remained?

Perform authentication via passport, like all normally works. Google get user data, but the error remained, set CORS 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')


The mistakes of their kind between the redirects in the Google

6eb7de6b9a0149c4a45344b9ecec82ed.png

when re-authentication is already a window with information that will be access the application is lost, for a place of it comes a message of this kind
acf7f617eeb641069dbb8ea75ecb01fc.png
Can someone tell where to dig for the first time this technology work. And what else do you need to show?
June 27th 19 at 15:35

Find more questions by tags CORSExpress.jsGoogleJavaScriptNode.js