pibooth / pibooth-google-photo

Pibooth plugin to upload pictures on Google Photos
GNU General Public License v3.0
8 stars 4 forks source link

error 400: redirect_uri_mismash #6

Closed klemva closed 2 years ago

klemva commented 3 years ago

Hi guys, at first i have to thank you for Pibooth and your plugins. It is awsome app!!!! Realy greate work!

But i have issue with google plug in.

I stuck on authorization. I can't authorizate, because i show me error 400: redirect_uri_mismash.

When i create Credentials - OAuth client ID in Api&Services, i can choose only Web application, Android, Chrome app, iOS, TVs and Limited Input devices, Desktop app and Universal Windows Platform(UWP). I found in google manual, that Other was replaced by Web Application. Next it want Authorized JavaScript origins and Authorized redirect URIs. If i have booth empty, it show me my error 400: redirect_uri_mismash. The redirect URI in the request, http://localhost:8080/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit:..........link to console.developers.google.com.

I tried to add authorized URIs to JavaScript and for request from a web server, but without success.

Could you please help with it?

Thank you

Václav from Czech Republic

sravel commented 3 years ago

Hi, When you create Credentials did you use Desktop app? image

klemva commented 3 years ago

Yes, I tried. I updated new .json file and doublechecked configuration, but now show me error 403:access_denied.

The developer hasn't given you access to this app. It's currently being tested and it hasn't`t beed verified by Google. If you think you should have access, contact the developer(my email).

anxuae commented 3 years ago

Hi @klemva

If fact, you just have to follow instructions when you click on the Enable the Google Photos Library API of the link : https://developers.google.com/photos/library/guides/get-started

Choose Desktop app and it should works

anxuae commented 2 years ago

Issue seems closed, please re-open if you still need help.