feat(google_drive): move credentials into keychain, add optional fallback#1603
feat(google_drive): move credentials into keychain, add optional fallback#1603kalvinnchau merged 4 commits intomainfrom
Conversation
|
didnt try this in the UI but do you know if there's any special config that needs to change under the hood in the UI? |
| @@ -0,0 +1,301 @@ | |||
| use anyhow::Result; | |||
| use google_drive3::yup_oauth2::storage::{TokenInfo, TokenStorage}; | |||
There was a problem hiding this comment.
just for learning - how did we determine this was a good rust crate to use back when we used google_drive3 for gdrive server? is it kind of like python libraries where you look up the repo description and determine if it looks official/meets your needs
There was a problem hiding this comment.
yeah, pretty much, didn't find any official rust sdks for the googleapis, so looked around for one that had the most feature complete / extensible one
2c730ec to
9a6d89e
Compare
tested via the ui and nothing changed from what i could see |
move google_drive credentials storage to the keychain
mcp_google_driveso it does require an additional password input for keychain, wanted to keep it separate from the goose specific keychain but does add an extra stepGOOGLE_DRIVE_DISK_FALLBACK=trueto attempt to fallback to disk