Bug 264742 - navigator.credentials.get fails intermittently with NotAllowedError: Operation failed
Summary: navigator.credentials.get fails intermittently with NotAllowedError: Operatio...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 17
Hardware: iPhone / iPad iOS 17
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-13 07:30 PST by Toby Hobson
Modified: 2023-11-15 16:29 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>