Hello all!
I’ve got a problem while trying to use the Expo.Google.logInAsync function.
When the function executes, the app opens Safari but, I get the Safari error: “Safari cannot open the page because it could not establish a secure connection to the server”.
I’m using the expo IOS simulator and this is my code:
I just added the iosStandaloneAppClientId and the webClientId and didn’t solve the problem.
I think my problem is different from the one you mention because I never get the google response. Safari opens up and shows the mentioned error (connection not secure) so I never get to authorize the app.
Also, I have discovered that Safari, while opening the browser to authorize the app, is taking an old iOS client id. I don’t know why or where is it taking it from. My code is using the new one. I read docs and it says that the web interface uses your device stored data so, should I clean up my PCs Safari cache and stuff?
Also, I have made a post request using the correct clientId using the python requests library and the request was successful and I got the authorization page as a result.
How do I make Expo to “forget” the old client Id? Do I have to rebuild the project?