-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google OAuth2 changes of OOB causes drive API authorization failure, camera video upload to gdrive feature will not work #14
Comments
I've just fixed the above in a simple way, use the local loop ip address as the redirect uri, not very decent, but it works. I am thinking of other grant types of OAuth2 that can be used as well, but it needs more time to update the auth flow and verify it in the bash script. |
Please help with this hack, V4 https://github.com/avengermsoft/xiaomi_gdrive |
@nelutzu777 if you have tried this repo, please post your failure or error details here, since when I tried it last year, I fixed the authentication issue at that time. |
/home/yi-hack-v5 # cd /tmp/sd/ Put this link into your browser: Copy and paste your code here: |
I downloaded the code and setup again, the repo code still works properly although I haven't used it for the past 5-6 months. And I also reproduced your failure and error message below. In one case, your failure is likely caused by the wrong client_id, client_secret, or generated authorization code copied during your setup, please make sure you copy the right client id and secret: and copy the right authorization code from your browser URL as well. If you cannot easily find the right code to copy, you can refer to and use my repo code to do it more friendly. In another case, if your issue persists, it may be caused by the version of your curl program or the running environment of gdrive uploader. You can try to type the below commands and paste your results here to check. echo $PATH
echo $LD_LIBRARY_PATH
ls -lR /tmp/sd/yi-hack
curl --version
/tmp/sd/yi-hack/bin/curl --version
/tmp/sd/yi-hack/sbin/curl --version |
Hello The real question I think :-) it's how it's possible to change the folder destination like in your example "YiHome1080p" ? Thanks a lot |
I think you can create a folder with your desired name in your gdive before starting the setup. Your created folder will be listed as an option for you to choose as the upload destination, check step 5 in the below screenshot. |
Thanks you so much I will check that |
Hello i also found that update the curl from the original project with the onedrive project also help with the error: |
Please check:
The text was updated successfully, but these errors were encountered: