hslorenzo
hslorenzo
Hi @wangmengyan95, here is the content of the log: ``` {"level":"verbose","message":"Support key pairs Map {\n 'javascriptKey' => 'REDACTED' }","timestamp":"2016-04-13T01:45:53.598Z"} {"op":"connect","applicationId":"REDACTED","javascriptKey":"REDACTED","level":"verbose","message":"Request: %j","timestamp":"2016-04-13T01:46:01.075Z"} {"level":"verbose","message":"Push Response : \"{\\\"op\\\":\\\"connected\\\",\\\"clientId\\\":0}\"","timestamp":"2016-04-13T01:46:01.083Z"} {"op":"subscribe","requestId":1,"query":{"className":"GameScore","where":{}},"level":"verbose","message":"Request: %j","timestamp":"2016-04-13T01:46:01.095Z"} {"level":"verbose","message":"Push Response :...
Since I can't find a solution, I was thinking of using target push notification in AfterSave in my cloud code as a temporary alternative to LiveQuery. Is there any huge...
Finally it works!!!! Thank you :)
This line: `return request("tokeninfo?id_token="+authData.access_token)`causes "code: 101, message: Google auth is invalid for this user." error. Trying this `https://www.googleapis.com/oauth2/v3/tokeninfo?id_token="123XYZ"` on a browser gives "error_description": "Invalid Value" This should be changed to...
Aha! I just found out that if you use v2 of oauth2 `https://www.googleapis.com/oauth2/v2/tokeninfo?access_token` it returns: ``` { "issued_to": "xxx-18qib66ako3jcr0ikaake9rlm2lhlqob.apps.googleusercontent.com", "audience": "xxx-18qib66ako3jcr0ikaake9rlm2lhlqob.apps.googleusercontent.com", "user_id": "xxx", "scope": "https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email", "expires_in": 679, "email":...
The `https://www.googleapis.com/auth/userinfo.profile` is present in the request. You are right. It makes no sense. In docs the following response is given : ``` { "audience":"8819981768.apps.googleusercontent.com", "user_id":"123456789", "scope":"profile email", "expires_in":436 }...
Wow! that was quick :+1: I just tried it and it works! You are really awesome. Thank you :)