I am trying to validate Google Id Token in my Guard Authenticator ( Symfony 4.4). I get the id token from a get request. When i try to validate the token using code below i get this error:
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
It is wired because it has worked before.
$client = new \Google_Client(['client_id'=>null]);
$payload = $client->verifyIdToken($credentials['id_token']);
Thanks!
This error indicates a misconfiguration on the machine running your application. Take a look at the various solutions discussed here and let me know if that helps.
Thanks mate i fixed it. I followed instructions from this medium article here mentioned there.
Thank you very much!
Most helpful comment
Thanks mate i fixed it. I followed instructions from this medium article here mentioned there.
Thank you very much!