Skip to content

Commit

Permalink
[AUT-1497] Update iframe permissions (#45)
Browse files Browse the repository at this point in the history
Update iframe permissions
  • Loading branch information
hwhmeikle committed Oct 9, 2023
1 parent 37fe9d9 commit ef06f74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@authsignal/browser",
"version": "0.3.1",
"version": "0.3.2",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/popup-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class PopupHandler {
iframe.setAttribute("title", "Authsignal multi-factor authentication");
iframe.setAttribute("src", url);
iframe.setAttribute("frameborder", "0");
iframe.setAttribute("allow", "publickey-credentials-get *; clipboard-write");
iframe.setAttribute("allow", "publickey-credentials-get *; publickey-credentials-create *; clipboard-write");

const dialogContent = document.querySelector(`#${CONTENT_ID}`);

Expand Down

0 comments on commit ef06f74

Please sign in to comment.