How to remove device registration ?

Hi,

I have managed to enroll a device and signIn.

However, I don't see how to cancel/delete a device registration.

If I try to enroll again with the same device for a particular website, safari pops a message ("You have allready configured FaceId for this website"), with only a cancel option which results in an error "canceled by user" to the create call, that I can't differentiate from the cancel logic at the first creation.

So, if one of my user loose his cookie or wants to disable (I still can delete credentials stored server side), I don't know how to handle a new enrollement for the same device .


Code Block
    try {
        newCredential = await navigator.credentials.create({
            publicKey: makeCredentialOptions
        });
    } catch (e) {
        var msg = "Could not create credentials in browser. Probably because the username is already registered with your authenticator. Please change username or authenticator.";
        console.error(msg, e);
        showErrorAlert(msg, e);
    }


Any though / Ideas ? Maybe I am missing something obvious. I thought it would be available in settings / FaceID/TouchId options like for apps where we can disable it, but did not see it ! Maybe not in the beta 1 ?
How to remove device registration ?
 
 
Q