Scoped WebAuthn: MFAChallengeExtension proto message#36665
Conversation
|
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
MFAChallengeExtension proto messageMFAChallengeExtension proto message
codingllama
left a comment
There was a problem hiding this comment.
Thanks for the separate PR and design changes!
| // call [AuthService.IsMFARequired] in the leaf instead of setting this field. | ||
| IsMFARequiredRequest MFARequiredCheck = 5 [(gogoproto.jsontag) = "mfa_required_check,omitempty"]; | ||
| // Extensions are extensions that will be apply to the issued MFA challenge. | ||
| // Extensions only apply to webauthn challenges currently. This field is required. |
There was a problem hiding this comment.
This field is required
Is this true? What about legacy clients?
There was a problem hiding this comment.
Right, this will not be required until v16, but v15 clients will be required to pass this in order to be compatible with v16 servers. So any clients with access to this updated proto file are required to pass it. Do you think this is worth spelling out in the proto file comment?
There was a problem hiding this comment.
Yeah, I think it won't hurt to say that clients before v15 aren't required to supply the field.
…enclature adjustments.
codingllama
left a comment
There was a problem hiding this comment.
LGTM. Apologies for the delay!
* Add mfa challenge extensions to proto file. * Resolve comments; move new proto messages to separate proto file; nomenclature adjustments. * Use gogoproto for mfa.proto to interface with authservice.proto. * Ellaborate on ChallengeExtensions required field comment.
* Add mfa challenge extensions to proto file. * Resolve comments; move new proto messages to separate proto file; nomenclature adjustments. * Use gogoproto for mfa.proto to interface with authservice.proto. * Ellaborate on ChallengeExtensions required field comment.
Implements proto file changes for scoped Webauthn challenges as described in RFD 155