invalid_audience: The audience client and the client need to be in the same project
To Native -> GoogleAuth signIn 5148673 2022-04-10 03:09:17.032506+0300 App[65022:5736328] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed ERROR MESSAGE: {"message":"invalid_audience: The audience client and the client need to be in the same project.","code":"-61440","errorMessage":"invalid_audience: The audience client and the client need to be in the same project."} ⚡️ [error] - {"message":"invalid_audience: The audience client and the client need to be in the same project.","code":"-61440","errorMessage":"invalid_audience: The audience client and the client need to be in the same project."} ⚡️ [error] - ERROR Error: Uncaught (in promise): Error: invalid_audience: The audience client and the client need to be in the same project. CapacitorException@capacitor://localhost/src_app_auth_login_login_module_ts.js:108:14
Hello Everyone! I've got an issue on ios... Help needed :(
Adding iosClientId, clientId and serverClientId in the Capacitor.config.json file fixed the problem.
"GoogleAuth": { "scopes": [ "profile", "email" ], "serverClientId": "YOUR_API_KEY.apps.googleusercontent.com", "forceCodeForRefreshToken": true, "iosClientId":"IOS_CLIENT_ID", "clientId": "ANDROID_OR_WEB_CLIENT_ID" }