Code: Select all
{ "error": { "code": 401, "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", "status": "UNAUTHENTICATED" } }
Actually it given blank page, no error in PHP or Javascript console,
so i tried to view whats $response output of these curl process:
Code: Select all
$ch = curl_init("https://www.googleapis.com/oauth2/v1/userinfo?access_token=" . $response['access_token']);
https://developers.google.com/identity/ ... eb/sign-in
Rukovoditel version: 3.3.1