Skip to content

Commit

Permalink
Add necessary allow attributes to Trinsic Connect iFrame (#1610)
Browse files Browse the repository at this point in the history
  • Loading branch information
geel9 authored Mar 15, 2024
1 parent ebdc0e6 commit 9189368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/ConnectClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export class ConnectClient {

const iframe = document.createElement("iframe");
iframe.className = "h-full w-full bg-transparent";
iframe.allow = "camera *; microphone *; display-capture *";
iframe.allow = "camera *; microphone *; display-capture *; publickey-credentials-get *; publickey-credentials-create *";
iframe.src = `${this.baseUrl}/connect/verify?clientToken=${clientToken}`;

modalContainer.append(iframe);
Expand Down

0 comments on commit 9189368

Please sign in to comment.