You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `.sign_count_allowance` field is particularly useful for passkey providers that use eventual consistency for syncing sign counts across multiple devices or authenticators. This is common with cloud-based passkey providers where the sign count might not be immediately synchronized across all instances of a key.
.sign_count_allowance = 5, // Allow up to 5 count deviation for cloud-synced passkeys
116
+
};
117
+
```
118
+
119
+
**Important**: While a higher allowance accommodates legitimate sync delays, it also slightly reduces replay attack protection. Choose an allowance value that balances usability with security based on your threat model.
120
+
103
121
Once verification succeeds, the user has been successfully authenticated with their passkey.
0 commit comments