All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Do not propagate binding token if passkeys cannot be bound
- Missing exports for AuthenticationContext & AuthenticationMethod
- Resume auth url does not contain the port from the original request
- Export all public Interfaces.
- Disabled hardware key generation on Safari. Universal passkeys should not be syncable.
- New function getAuthenticationContext to retrieve authentication parameters for the ongoing transaction.
- New function authenticateOtp to enable authentication with a one time password.
- New function redeemOtp to enable redeeming a one time password.
- Error during Credential Binding in Safari 15 and earlier.
- Error using WebAuthn in Firefox on Android and iOS.
- Support for Webauthn in Safari
- Support for Webauthn on Android devices using SafetyNet
- Support for Webauthn on Windows 11 devices
- Removed remaining typealiases as they were unnecessary.
- Issue where the SDK was failing to compile in Angular applications.
- The following errors will now be reported as
FlattenedError
s. These errors have atype
field, which is the value on the right side of the arrow, and an optionaldata
field for additional context about the error.BiAuthenticate(Deny(...))
=>PolicyDenied
,BiAuthenticate(SelectCredentialCanceled
=>SelectCredentialCanceled
,MissingCredentialInRealm
=>CredentialNotFound
BindCredential(AuthLib(CredentialBinding(Service(...))))
=>V1ServiceError
,BindCredential(AuthLib(InvokeAuthenticator(Service(...))))
=>V1ServiceError
,BindCredential(InvalidUrl(...))
=>InvalidUrl
,BiAuthenticate(AuthLib(AssertionEncode(Hal(Internal(...))))
=>BiometricsCanceled
BindCredential(AuthLib(AssertionEncode(Hal(Internal(...))))
=>BiometricsCanceled
,
- Support for authenticating with Auth0 and Okta in the example app
- Rename instances of
Credential
toPasskey
- Nest tenantId, realmId, and identityId under appropriate objects in the
Credential
- Update support links in the example app
- Scheme without a path is now recognized as a valid URL when binding a credential
- Issues where SWC wasn't able to compile the JS SDK
- Existing example app to match the getting-started app.
- An issue where the SDK was failing to compile after being added as a package from npm.
- Logger callback to initialize function. This enables users of the SDK to specify where logs generated by the SDK are output, and to silence logs by not specifying a logger callback.
- New attributes to the
Credential
model.Tenant
now has adisplayName
andIdentity
contains aprimaryEmailAddress
.
- Replaced existing
authenticate
function with one that now takes two arguments,url
andcredentialID
. This is now inline with how consumers of the SDK have been using this function.
- Optimizely dependency. There will no longer be an error displayed in the console related to Optimizely whenever the SDK is initialized.
- The SDK no longer bundles modules as
eval(...)
expressions, rather minified JS.