Skip to content

Commit

Permalink
update iframe.allow for google login
Browse files Browse the repository at this point in the history
  • Loading branch information
hcote committed Apr 30, 2024
1 parent 42a4280 commit 5a56d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/magic-sdk/src/iframe-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class IframeController extends ViewController {
iframe.dataset.magicIframeLabel = createURL(this.endpoint).host;
iframe.title = 'Secure Modal';
iframe.src = createURL(`/send?params=${encodeURIComponent(this.parameters)}`, this.endpoint).href;
iframe.allow = 'clipboard-read; clipboard-write';
iframe.allow = 'identity-credentials-get; clipboard-read; clipboard-write';
applyOverlayStyles(iframe);
document.body.appendChild(iframe);
resolve(iframe);
Expand Down

0 comments on commit 5a56d1a

Please sign in to comment.