Bug 264742

Summary: navigator.credentials.get fails intermittently with NotAllowedError: Operation failed
Product: WebKit Reporter: Toby Hobson <toby.hobson>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, pascoe, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: iPhone / iPad   
OS: iOS 17   

Description Toby Hobson 2023-11-13 07:30:04 PST
Given options something like this:

{
   "publicKey":{
      "challenge":"challenge here",
      "allowCredentials":[
         {
            "id":"credential id here",
            "type":"public-key"
         }
      ],
      "timeout":60000,
      "userVerification":"preferred"
   }
}

I see frequent, but not consistent NotAllowedError: Operation failed.

Refreshing the page and trying again typically solves the issue.

Note: No problems on Desktop Safari
Comment 1 Radar WebKit Bug Importer 2023-11-15 16:29:25 PST
<rdar://problem/118481135>