Add iframe allow to initial load (#2005)

* Add iframe allow to initial load

Chrome seems to balk at this attribute being added after the fact. It
may be a race condition or an intentional block, but adding to the
template fixes our missing allow attribute problem.

* Update jslib

(cherry picked from commit 4890ca3c51)
This commit is contained in:
Matt Gibson 2021-08-13 10:23:36 -04:00
parent 516d8812bb
commit 4b4c6e8e68
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit c70c8ecc247cb92e1f867630031fd5cdf124bcd3
Subproject commit 1f0127966e85aa29f9e50144de9b2a03b00de5d4

View File

@ -60,7 +60,7 @@
</div>
</ng-container>
<ng-container *ngIf="selectedProviderType === providerType.WebAuthn && !webAuthnNewTab">
<div id="web-authn-frame"><iframe id="webauthn_iframe"></iframe></div>
<div id="web-authn-frame"><iframe id="webauthn_iframe" [allow]="webAuthnAllow"></iframe></div>
<div class="box">
<div class="box-content">
<div class="box-content-row box-content-row-checkbox" appBoxRow>