mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-06 03:22:42 +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:
@@ -122,7 +122,7 @@ impl<'n> Engine<'n> {
|
||||
JsonTokenStorage {
|
||||
program_name: "${util.program_name()}",
|
||||
db_dir: config_dir.clone(),
|
||||
}, Some(FlowType::InstalledInteractive));
|
||||
}, Some(FlowType::InstalledRedirect(54324)));
|
||||
|
||||
let client =
|
||||
${self._debug_client(DEBUG_FLAG) | indent_all_but_first_by(3)};
|
||||
|
||||
Reference in New Issue
Block a user