Errata:
webauthn.js line 50: catch clause should log err to console, not credentialCreateOptionsFromServercredentialCreateOptionsFromServer is undefined in the catch clause.
Base 64 handling:
call replace() to translate websafe base64 encoding to standard base64 encoding. This commit enables webauthn.js to support websafe base64 challenge strings.
Errata: webauthn.js line 50: catch clause should log
err
to console, notcredentialCreateOptionsFromServer
credentialCreateOptionsFromServer
is undefined in the catch clause.Base 64 handling: call
replace()
to translate websafe base64 encoding to standard base64 encoding. This commit enables webauthn.js to support websafe base64 challenge strings.