[webauthn] #createCredential alg: "if options.authenticatorSelection is present..." may be incorrect

equalsJeffH has just created a new issue for https://github.com/w3c/webauthn:

== #createCredential alg: "if options.authenticatorSelection is present..." may be incorrect ==
The current step 18 of [#createCredential alg](https://w3c.github.io/webauthn/#createCredential) says:
> If `options.authenticatorSelection` is present, for each authenticator...

However, if `options.authenticatorSelection` is not present, we will not invoke any authenticators, which will likely make the user sad. 

Given that we need to pass `options.authenticatorSelection.requireResidentKey` and `options.authenticatorSelection.requireUserVerification` to `authenticatorMakeCredential()`, perhaps we should make `authenticatorSelection` a `required` member of [`MakePublicKeyCredentialOptions`](MakePublicKeyCredentialOptions) ?   (unless I'm misunderstanding things...?)

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/692 using your GitHub account

Received on Friday, 17 November 2017 08:59:11 UTC