Find answers from the community

Updated 2 years ago

has anyone successfully used the google

At a glance
has anyone successfully used the google drive / docs module? I keep having issues with auth

I'm following the instructions from here https://llamahub.ai/l/google_drive
j
t
2 comments
i did a quick google, could you try pip uninstall pycryptodome and pip install pycryptodome? https://github.com/thisbejim/Pyrebase/issues/406
@jerryjliu0, I'm experiencing a different problem with auth for the Google Drive (and Docs) loaders. Do you by any chance know of a fix?

Whenever I try to construct an index, I'm redirected to this sign-in screen and get a 400 Error: redirect_uri_mismatch. Even though my app is hosted at port 8080, it seems like the calls are being made to a different port.

The problem is that whenever I add these ports as authorized redirect URIs for the OAuth 2.0 Client ID, the next time I try to construct an index I'm redirected to a different port.

I've tried setting Google OAuth both as a web application and a desktop app, but neither seem to work. The desktop app also prompts me to sign-in, and after I input my Google login details, I'm redirected to a localhost:[RANDOM_PORT] with error "this site can’t be reached".

I'm hosting the backend for my Flask application in an EC2 instance. Could that be part of the problem?
Attachments
Screenshot_2023-03-03_at_3.18.51_AM.png
Screenshot_2023-03-03_at_3.22.00_AM.png
Screenshot_2023-03-03_at_3.19.03_AM.png
Screenshot_2023-03-03_at_3.20.49_AM.png
Add a reply
Sign up and join the conversation on Discord