lib/clarion/app.rb in clarion-1.0.0 vs lib/clarion/app.rb in clarion-1.1.0
- old
+ new
@@ -260,9 +260,10 @@
begin
authenticator.verify!(
challenge: challenge,
origin: request.base_url,
credential_id: data[:credential_id],
+ extension_results: data[:extension_results] || {},
authenticator_data: data[:authenticator_data].unpack('m*')[0],
client_data_json: data[:client_data_json].unpack('m*')[0],
signature: data[:signature].unpack('m*')[0],
)
logger.info "authn verified (#{@authn.id}) with credential_id=#{data[:credential_id]}"