As eventually I want to run it headless on Unraid server, the only way to get the Google authorized token is by installing gphotos-sync app on my Windows (or Linex/Mac) first, and then follow the whole process on Windows until I get the similar link as above. Now clicking the link on Windows can complete the authorization process and a token was created inside my Windows storage folder. I then copied the token file to my Unraid GooglePhotosSync storage folder (the folder where all the photos will be downloaded to). It's now working.
This makes no sense to me. The redirect_uri part of the URL is always going to say localhost:8080, but there are no ports exposed to this container. When it redirects to localhost, it's always going to fail. I ran it on Unraid and Windows both with the same result. What is running on your machine at port 8080 that it's able to receive that request?
[support] rix's Docker Repository
in Docker Containers
Posted
This makes no sense to me. The redirect_uri part of the URL is always going to say localhost:8080, but there are no ports exposed to this container. When it redirects to localhost, it's always going to fail. I ran it on Unraid and Windows both with the same result. What is running on your machine at port 8080 that it's able to receive that request?