fix(grpc): return CredentialCreationData in webauthn public key (#1075)

This commit is contained in:
Livio Amstutz
2020-12-07 15:22:11 +01:00
committed by GitHub
parent 077a9a628e
commit 12f8c7202c
2 changed files with 2 additions and 1 deletions

View File

@@ -431,7 +431,7 @@ func userChangesToAPI(changes *usr_model.UserChanges) (_ []*auth.Change) {
func verifyWebAuthNFromModel(u2f *usr_model.WebAuthNToken) *auth.WebAuthNResponse {
return &auth.WebAuthNResponse{
Id: u2f.WebAuthNTokenID,
PublicKey: u2f.PublicKey,
PublicKey: u2f.CredentialCreationData,
State: mfaStateFromModel(u2f.State),
}
}