-
-
Notifications
You must be signed in to change notification settings - Fork 181
Description
Below is one of the change in @simplewebauthn/[email protected]
Additionally, startRegistration() will base64url-decode user.id before calling WebAuthn. During auth startAuthentication() will base64url-encode userHandle in the returned credential. This should be a transparent change for RP's that simply feed @simplewebauthn/server options output into the corresponding @simplewebauthn/browser methods.
Issue:
startAuthentication method is already returning userHandle in base64 encoded format.After upgrading to latest version, userHandle is being encoded twice which is impacting the existing webAuthn user during authentication whereas new registration and authentication works fine.
I am using only the browser package v13.0.0 and using a different server strategy for my app.
Reproduction Steps
After upgrading to latest v13.0.0, authentication of existing users fail.
Expected behavior
Exsiting users authentication should not be affected