Cordoba app google OAuth2 invalid cookiePolicy

Business:
Develop an iOS / Android app with Cordova where you can log in using your Google account using OAuth2 .

Problem:
When I run the application in localhost:3000 I can log in to my google account as usual, but when I try to start the Cordoba application with cordova run ios , it will work.

The error that Cordoba gives is:

enter image description here

As I mentioned, I use OAuth2 to log in to my google account, the following settings that I use in my application: enter image description here

For some reason, I think the problem is with the oAuth2 link, because the error I start with starts with a break. auth2

+5
source share
1 answer

On your phone, go to the device "Settings → Safari → Block cookies." There, the allowed setting should be either "Always allow" or "Allow websites I visit" in order to log in to Google to work

+3
source

Source: https://habr.com/ru/post/1259395/


All Articles