From 9670975b0b3897a4b8e75ea994d512571f5ff7c5 Mon Sep 17 00:00:00 2001 From: Daniela Ventura <67702306+dventurait@users.noreply.github.com> Date: Tue, 10 Oct 2023 10:15:57 +0100 Subject: [PATCH] Fixing Silent Sign-in timed out Fixing Silent Sign-in timed out. Increasing the time we wait to get the authorization response. --- src/IFrameController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IFrameController.js b/src/IFrameController.js index db1bd3b..59cb1d1 100644 --- a/src/IFrameController.js +++ b/src/IFrameController.js @@ -21,7 +21,7 @@ class IFrameController { return new Promise((resolve, reject) => { const timer = setInterval(() => { reject(new IFrameError('Silent sign-in timed out')); - }, 5 * 1000); + }, 10 * 1000); window.addEventListener('message', (message) => { if (!message.data || message.data.type !== messageType) { return;