Open GosuMania opened 1 year ago
any updates here devs? Seems like a critical issue
any updates? seems to have been broken for a few days
I am also having this issue for 2+ weeks. It seems it happens because google dont let you use web client token (serverClientId) to login in with android anymore due to security reason. Anyway I tried to use androidClientId which what is required for android app for google but then this plugin run into :
{
code: "10",
message: "Something went wrong"
}
which was also the case previously but if we used the webtoken it was working both web and mobile devices but due to google new policy it wont work other than the android specific key.
lots of existing user are dropping due this policy and my use of this plugin. Unfortunately I did not find other plugin replace probably for the same reason.
I am also having this issue for 2+ weeks. It seems it happens because google dont let you use web client token (serverClientId) to login in with android anymore due to security reason. Anyway I tried to use androidClientId which what is required for android app for google but then this plugin run into :
{ code: "10", message: "Something went wrong" }
which was also the case previously but if we used the webtoken it was working both web and mobile devices but due to google new policy it wont work other than the android specific key.
Please Make this issue a priority.
lots of existing user are dropping due this policy and my use of this plugin. Unfortunately I did not find other plugin replace probably for the same reason.
I just tested it with webclient token and it works just fine. (without firebase)
You sure you made everything right?
GoogleAuth.initialize({ clientId: 'YOUR_WEBCLIENT_TOKEN_HERE', scopes: ['profile', 'email'], grantOfflineAccess: true, });
In strings.xml:
<string name="server_client_id">YOUR_WEBCLIENT_TOKEN_HERE</string>
capacitor.config.json:
"GoogleAuth": {
"scopes": [
"profile",
"email"
],
"serverClientId": "YOUR_WEBCLIENT_TOKEN_HERE",
"forceCodeForRefreshToken": true,
"grantOfflineAccess": true
}
I use it this way and works just fine.
Also make sure to build a debug version if you want to see anything in logcat to debug.
Hello everyone, I have updated several libraries in my project including firebase to 9.15.0 and angular/fire 7.4.* I'm using Capacitor 4, Ionic 6 and Angular 14.
But I have a problem with google login which returns this error i:
I have this problem on an android device:
If I use the browser by emulating a ios device I have this problem:
The code is as follows:
Can you help me please!