Hi,
I have the same issue as well, with everything running on version 26.0 (MacOS, Xcode & iOS).
When testing from an app built in swift,
try await credentialUpdater.reportAllAcceptedPublicKeyCredentials(
relyingPartyIdentifier:"example.com",
userHandle: "user-id",
acceptedCredentialIDs: []
)
returns the following error: com.apple.AuthenticationServices.AuthorizationError error 1004.
I tried with both the userHandle (user id) encoded in Base64url or not encoded and it always returned the same error.
I also then tried to call this with the webAPI on Safari 26.0 or Chrome 140(.0.7339.133):
if(PublicKeyCredential.signalAllAcceptedCredentials) {
await PublicKeyCredential.signalAllAcceptedCredentials({
rpId: "example.com",
userId: "M2YPl-KGnA8", // base64url-encoded user ID
allAcceptedCredentialIds: [
// A list of base64url-encoded credential IDs
"vI0qOggiE3OT01ZRWBYz5l4MEgU0c7PmAA",
// …
],
});
}
On safari the Promise never resolves and on chrome, it does resolve but still doesn't remove any credential.
This leads me to think that there might be an issue with the internal API from Apple.
Thank you in advance to anyone who has more informations about this.
Topic:
Privacy & Security
SubTopic:
General
Tags: