After registration via webauthn, we receive a credential id which we use to associate with that user (along with other info, like public key etc on the backend). And during login we create the publicKeyCredentialRequestOptions which we pass to navigator.credentials.get, we pass the credential id.
My question is what's the value in passing 'user' key in the publicKeyCredentialCreationOptions (which contains id, name, displayName) when we call navigator.credentials.create? I (think) the user info might be returned as part of the Assertion response (in the userHandle field), but not sure how that add's value (as we probably already have that info on the backend).