Google-api-php Refresh Token returns invalid_grant

前端 未结 5 682
离开以前
离开以前 2020-12-31 17:58

I\'ve nearly searched every result of the first page of google for this. But can\'t seem to find the answer. I\'m working with a refresh_token by Google\'s API and receiving

5条回答
  •  暖寄归人
    2020-12-31 18:09

    The function that worked for me is as follows

    $client->setAccessType("refresh_token");

提交回复
热议问题