Mersal

Results 7 comments of Mersal

@amamenko i used your code and it's working very good thanks

because in plugin java he only call tokenId this is the code GoogleSignInAccount account = completedTask.getResult(ApiException.class); JSObject authentication = new JSObject(); authentication.put("idToken", account.getIdToken()); JSObject user = new JSObject(); user.put("serverAuthCode", account.getServerAuthCode());...

i fixed this in my js code i will post the full solution tomorow Insha'Allah

google has an end point which return access_token if you give it serverAuthCode you can get server auth code through the ordinary request which you made by await GoogleAuth.signIn(). this...

this link will help you with this issue https://www.daimto.com/how-to-get-a-google-access-token-with-curl/