Extend the provider OAuth sign-in timeout to ten minutes (#57859)

Give users more time to complete browser sign-in, including MFA, by
increasing the OAuth callback timeout from three minutes to ten minutes.

GitOrigin-RevId: 6a89bd3f7efb323a83ce317604faeef3a4fb2230
This commit is contained in:
smurching-oai
2026-10-28 23:14:37 +00:00
committed by copyberry
parent f91edce53b
commit 94d919e31e
+2 -1
View File
@@ -12,7 +12,8 @@ use tokio::sync::oneshot;
use tokio::time::timeout;
use url::Url;
const BROWSER_TIMEOUT: Duration = Duration::from_secs(/*secs*/ 180);
// Give users enough time to complete browser sign-in, including MFA when required.
const BROWSER_TIMEOUT: Duration = Duration::from_secs(10 * 60);
pub(super) struct CallbackListener {
server: Arc<Server>,