Post

Replies

Boosts

Views

Activity

Reply to Passkey and Safari
@garrett-davidson I understand your point, but what if service doesn't know if a passkey was created passkey before. Firstly I call credentials.create and in the 'excludeCredentials' param I put the 'id' of the key which was created . I understand that I should then get an 'InvalidStateError' indicating that this credential already exists and I can redirect to credentials.get. It is working when I don't clear the cache. But when I clear the cache of safari I didn't get this error and redirection to credentials.get function. It force me to create new one. Then I have two passkeys on my apple device.
Apr ’24