mirror of
https://github.com/OMGeeky/google_youtube.git
synced 2026-01-23 01:08:51 +01:00
force user to choose account instead of letting google decide if that's needed
This commit is contained in:
@@ -155,6 +155,7 @@ pub(crate) async fn get_authenticator(
|
||||
let auth = oauth2::InstalledFlowAuthenticator::builder(app_secret, method)
|
||||
.flow_delegate(Box::new(CustomFlowDelegate { user }))
|
||||
.persist_tokens_to_disk(persistent_path.to_path_buf())
|
||||
.force_account_selection(true)
|
||||
.build()
|
||||
.await
|
||||
//TODO: somehow get rid of this unwrap that is happening in the library
|
||||
|
||||
Reference in New Issue
Block a user