- From: Enrico Bottazzi via GitHub <sysbot+gh@w3.org>
- Date: Mon, 21 Nov 2022 15:03:57 +0000
- To: public-webauthn@w3.org
Update on the iframe: I added the iframe as mentioned inside the [standard's iframe guidance](https://www.w3.org/TR/webauthn-2/#sctn-iframe-guidance).
```
<iframe
src="https://interplanetary-username-service.vercel.app/"
width={1000}
height={500}
sandbox="allow-scripts allow-forms allow-modals"
allow="publickey-credentials-get *"
title="Custom title"
></iframe>
```
When trying to perform the `credential.get()` from inside the iframe I get the following error
```
FAIL DOMException: The current origin is an opaque origin and hence not allowed to access 'PublicKeyCredential' objects.
```
The origin of the call is localhost in this case. Do you have any idea what the problem is?
--
GitHub Notification of comment by enricobottazzi
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1827#issuecomment-1322199603 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 21 November 2022 15:03:58 UTC