mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-21 10:38:25 +01:00
fix(auth): use redirect flow
The interactive flow requires to paste a code back into the command-line, which does only work when it's cat'ed, but not if it is pasted. This should let it handle everything internally, which is way more user-friendly.
This commit is contained in:
@@ -2947,7 +2947,7 @@ impl<'n> Engine<'n> {
|
||||
JsonTokenStorage {
|
||||
program_name: "drive3",
|
||||
db_dir: config_dir.clone(),
|
||||
}, Some(FlowType::InstalledInteractive));
|
||||
}, Some(FlowType::InstalledRedirect(54324)));
|
||||
|
||||
let client =
|
||||
if opt.is_present("debug") {
|
||||
|
||||
Reference in New Issue
Block a user