A
A
Apogeios2017-04-07 13:28:10
Google
Apogeios, 2017-04-07 13:28:10

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')

Some kind of errors between redirects in Google itself
6eb7de6b9a0149c4a45344b9ecec82ed.png
, upon re-authentication, the window with information to which the application will have access disappears, a message of this kind appears in its place.
acf7f617eeb641069dbb8ea75ecb01fc.png
Maybe someone will tell you where to dig, for the first time I work with this technology. What else needs to be shown?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question