lib/webauthn/credential_creation_options.rb in webauthn-2.0.0 vs lib/webauthn/credential_creation_options.rb in webauthn-2.1.0
- old
+ new
@@ -69,10 +69,10 @@
options
end
def pub_key_cred_params
- WebAuthn.configuration.algorithms.map do |alg_name|
+ configuration.algorithms.map do |alg_name|
{ type: "public-key", alg: COSE::Algorithm.by_name(alg_name).id }
end
end
def rp