Skip to content

Commit 1185a02

Browse files
committed
GH Issue 3911
Fix to init the DigiTrust facade object if the userId framework would not normally execute the call due to an ID being found.
1 parent 842cc19 commit 1185a02

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/digiTrustIdSystem.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,4 +336,14 @@ export const digiTrustIdSubmodule = {
336336
_testInit: surfaceTestHook
337337
};
338338

339+
// check for fallback init of DigiTrust
340+
(function () {
341+
setTimeout(function () {
342+
if (resultHandler.retryId == 0 && !isInitialized()) {
343+
// this triggers an init
344+
getDigiTrustId({ member: 'fallback' }, function () { })
345+
}
346+
}, 1550);
347+
})();
348+
339349
attachIdSystem(digiTrustIdSubmodule);

0 commit comments

Comments
 (0)