Add a note
This commit is contained in:
@@ -91,6 +91,10 @@ const Page = () => {
|
||||
|
||||
setStatus("waitingForUser");
|
||||
|
||||
// Safari throws "NotAllowedError: The document is not focused" if
|
||||
// the console is open when we call `navigator.credentials.create`.
|
||||
// Not adding any workarounds, just documenting their incompetence.
|
||||
|
||||
const credential = await signChallenge(options.publicKey);
|
||||
if (!credential) {
|
||||
setStatus("failed");
|
||||
|
||||
Reference in New Issue
Block a user