![]() $this->client->setAuthConfigFile($this->credentials_path. If Microsoft Edge doesn’t download Google Drive files, enable third-party cookies. Then try to download your files again and check if the issue is gone on a different browser. Ideally, use Google Chrome or another Chromium-based browser. Open the add on, Add-on > Icons for Slides & Docs > Start Search for Icons, and add Icons to your documents by clicking on them. If the issue persists, log in to your Google Drive account using a different browser. Here's a part of code (I repeat, it perfectly works on dev server with publicly accessible url): $this->client = new Google_Client() With this extension, you will have free access to our icons for your Google Docs, Google Slides, Google Spreadsheets and Google Forms. I simply don't know what am I doing wrong. ![]() I have the correct oauth credentials set up for every production server, redirect uri is correct. The moment I push the code to a live server, it just stops authenticating. After doing this, you can see the antivirus Icon on the right bottom of the screen. In the Next Windows, Check on Turn Off Windows Firewall. On the left side, Click on Turn Windows Firewall On or off. I really don't know what am I doing wrong, since everything is working perfect without errors on dev site (which has a public link by the way, and I tried accessing it from different public IP addresses). Here are the steps you need to follow: Go to Control Panel > System and Security. The code reaches the part where I have the auth code from Google and it hangs at the part where I'm trying to exchange it for a token ( $client->authenticate($auth_code) ). It's just simply not returning any error. ![]() I've written a google client oauth2 connect model, which is perfectly working when I'm running it on my dev environment on my mac (I'm not using a simple localhost, it's actually vagrant what I'm using to mirror the production server as much as possible) but it doesn't work when I push it to production. I have a huge problem where absolutely no error is returned from google nor php. ![]()
0 Comments
Leave a Reply. |