ThioJoe / Auto-Synced-Translated-Dubs

Automatically translates the text of a video based on a subtitle file, and then uses AI voice services to create a new dubbed & translated audio track where the speech is synced using the subtitle's timings.
GNU General Public License v3.0
1.6k stars 158 forks source link

Access blocked: This app's request is invalid #33

Open fralapo opened 1 year ago

fralapo commented 1 year ago

After running main.py, it takes me to the Google login screen with the following error: "You cannot sign in because this app has sent an invalid request. You can try again later or contact the developer to fix the problem. Learn more about this error. Error 400: redirect_uri_mismatch"

robertsmaoui commented 1 year ago

same problem !

AdnielSsj commented 1 year ago

Can you send a Screenshot :0?

lastzz commented 10 months ago

Same problem. @AdnielSsj FireShot Capture 007 - Sign in - Google Accounts - accounts google com FireShot Capture 009 - Sign in - Google Accounts - accounts google com https://developers.google.com/identity/protocols/oauth2/web-server#authorization-errors-redirect-uri-mismatch FireShot Capture 009 - Sign in - Google Accounts - accounts google com

ThioJoe commented 10 months ago

Based on this thread, it might be that when you created the credentials you didn't select "Desktop App"? Can you try doing that step again?

image
lastzz commented 10 months ago

I think you might be right because I selected "Web application" when I created the credentials. I just solved the problem in another way. I specified the port number in auth.py and filled in the redirect URIs in credentials, and the problem was resolved.