langchain-ai / langchain-google

MIT License
115 stars 145 forks source link

GoogleDriveLoader hardcodes the Scope to a restricted scope #422

Closed walterheck closed 3 months ago

walterheck commented 3 months ago

Currently the GoogleDriveLoader hardcodes the scope to a restricted scope, which means in order to use this in production an extremely heavy security review by google is needed (several weeks long): https://developers.google.com/drive/api/guides/api-specific-auth

Instead, I'd like to be able to pass my own scope in, as my app has with drive.file, and this Loader should have enough with that also.

lkuligin commented 3 months ago

it has been addresssed here, correct? https://github.com/langchain-ai/langchain-google/pull/424

walterheck commented 3 months ago

Indeed, this can be closed. It's handled there.

walterheck commented 2 months ago

Could you please publish langchain_google_community 1.0.9? This mistakenly was included in the genai launch, but that's not where this code lives ;)

walterheck commented 2 months ago

@lkuligin ping?