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 point of the JSON types is having a defined way for the server to send and receive all necessary information to perform the registration and authentication ceremony criteria, correct? Without this, there is still necessary information missing which sort of defeats the purpose for the JSON types since clients and servers will be forced to come up with their own mechanism and not rely on a standardized way.
Does it make sense to create CredentialCreationOptionsJSON and CredentialRequestOptionsJSON types?
* Note step 14 is technically incorrect since mediation is not a key of PublicKeyCredentialCreationOptions (see #2122).
The text was updated successfully, but these errors were encountered:
So the RP should already know the value of options.mediation, because it was one of the input arguments the RP set at the beginning of the procedure. There is no need to feed it back to the RP in the output types.
WebAuthn Relying Party Operations states (emphasis added):
Based on this description, I interpret that the expectation is for the server to perform all of the necessary validation. Step 14 of Registering a New Credential cannot be performed without
CredentialCreationOptions.mediation
:Either
mediation
should be added toRegistrationResponseJSON
andAuthenticatorAssertionResponseJSON
so that the ceremony has a defined way of receiving this value, or it should be part ofPublicKeyCredentialCreationOptions
andPublicKeyCredentialRequestOptions
so the server has the value already upon receivingPublicKeyCredentialJSON
. I realize adding to thePublicKeyCredentialCreationOptions
andPublicKeyCredentialRequestOptions
is somewhat silly sincemediation
is already part ofCredentialCreationOptions
whichPublicKeyCredentialCreationOptions
is also part viapublicKey
.The point of the JSON types is having a defined way for the server to send and receive all necessary information to perform the registration and authentication ceremony criteria, correct? Without this, there is still necessary information missing which sort of defeats the purpose for the JSON types since clients and servers will be forced to come up with their own mechanism and not rely on a standardized way.
Does it make sense to create
CredentialCreationOptionsJSON
andCredentialRequestOptionsJSON
types?* Note step 14 is technically incorrect since
mediation
is not a key ofPublicKeyCredentialCreationOptions
(see #2122).The text was updated successfully, but these errors were encountered: