simonedegiacomi / gphotosuploader

Unofficial Google Photos uploader and Go library
GNU General Public License v3.0
99 stars 29 forks source link

OAuth failed on first start #39

Closed greensea closed 5 years ago

greensea commented 5 years ago
  1. I use gphotos-uploader-cli init to generate config file.
  2. Then I change the account to my gmail account in config file.
  3. Run gphotos-uploader-cli, it take me to google OAuth page, but the page throw an error:
400. That’s an error.

Error: redirect_uri_mismatch

The redirect URI in the request, http://localhost:38373, does not match the ones authorized for the OAuth client.

So I am unable to get token, is it any way to do OAuth manually?

simonedegiacomi commented 5 years ago

Hi, I think you're referring to this project ;-)

The tool on this repository doesn't use the Google Photos API, therefore it doesn't authenticate using OAuth.

greensea commented 5 years ago

Oh my fault. I am closing this issue, sorry.