Skip to content

Commit

Permalink
Add a note
Browse files Browse the repository at this point in the history
  • Loading branch information
mnvr committed Jun 11, 2024
1 parent 237fc3c commit c4d5bc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/apps/accounts/src/pages/passkeys/verify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c4d5bc5

Please sign in to comment.