I might be misunderstanding something here. But it seems like putting a unique constraint on the webAuthnUserId and the user means that users can only have a single passkey. It's my understanding that the webAuthnUserId is the same regardless of which passkey manager you're using. Am I wrong?
The docs I'm referring to:
|
// SQL: Store as `TEXT`. Index this column. A UNIQUE constraint on |
I might be misunderstanding something here. But it seems like putting a unique constraint on the webAuthnUserId and the user means that users can only have a single passkey. It's my understanding that the webAuthnUserId is the same regardless of which passkey manager you're using. Am I wrong?
The docs I'm referring to:
SimpleWebAuthn-homepage/docs/packages/server.md
Line 74 in 3227716