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.
1.35.4 - 2025-02-27
- Restore cookies forwarding in loginWithPassword (after fixed on API)
1.35.3 - 2025-02-19
- Revert previous changes
1.35.2 - 2025-02-19
- Forward cookies (especially RBA trusted device) in loginWithPassword
1.35.1 - 2025-02-05
- Add clientId to getPasswordStrength request body
1.35.0 - 2025-02-04
- add method verifyEmail
- add method getPasswordStrength
- Replace Lodash methods with custom integration
- Add missing errorMessageKey in ErrorResponse type
1.34.2 - 2025-01-29
- Add
credentials: 'include'
to passwordless verification call if SSO is enabled
loginWithPopup
should return resolved/rejected promise
1.34.1 - 2025-01-07
- verifyPasswordless should not make redirection with useWebMessage by using POST method endpoint.
1.34.0 - 2024-11-07
- Add support for passkey additional information.
- Allow specifying Google variant to use with One Tap.
- Use local storage instead of session storage for code verifier.
1.33.0 - 2024-05-16
- Add support for account recovery and passkey reset
- Make WebAuthn origin configurable
1.32.2 - 2024-03-21
- Add support for discoverable passkey login
1.32.1 - 2024-01-18
- Fix never resolved promise in verifyPasswordless with useWebMessage
- Address custom field support
1.32.0 - 2024-01-05
- Add locale variable
1.31.0 - 2023-12-21
- Modify verifyPasswordless signature (adding AuthOptions)
1.30.1 - 2023-11-09
- Make profile properties optionals in updateProfile's data param type
1.30.0 - 2023-11-07
- Remove unnecessary access token parameter from verifyMfaPasswordless method
1.29.1 - 2023-10-16
- Fix issue occurring when checkSession is called less than 20 seconds after another checkSession during no PKCE flow.
1.29.0 - 2023-10-06
- Added method listTrustedDevices
- Added method deleteTrustedDevices
1.28.0 - 2023-09-13
- Fix error occuring when checkSession is called quickly after another checkSession
- Fix error occuring when loginFromSession is called quickly after another loginFromSession
1.27.0 - 2023-08-01
- Added an optional parameter
trustDevice
in theverifyMfaPasswordless
function - Added
addressComplement
field in theProfileAddress
model. - Added
rbaEnabled
field inRemoteSettings
model. - Added and optional parameter
returnProviderToken
inTokenRequestParameters
and returnsproviderAccessToken
andproviderName
fields inAuthResult
ifreturnProviderToken
is set totrue
. - Added an optional parameter
captchaToken
for captcha support in updateEmail.
- Fix error occurring when checkSession is called quickly after a loginWithPassword
1.26.0 - 2022-11-17
- Initiate an MFA step-up challenge in loginWithPassword when the mfa verification is required
- Added an optional parameter in the
logout
function to revoke tokens
1.25.0 - 2022-09-22
- Support authentication with the field
custom_identifier
- Field
custom_identifier
is now allowed during signup
1.24.1 - 2022-08-03
Fix parameter in web messages.
1.24.0 - 2022-07-25
Support for orchestrated flows.
1.23.0 - 2022-06-15
Google One Tap instantiation method.
Align startMfaPhoneNumberRegistration
response on the startMfaEmailRegistration
one.
A deprecated legacy endpoint limited to a specific customer has been removed for security reasons.
1.22.0 - 2022-02-22
- Introduce
verifyMfaPasswordless
to complete an MFA passwordless flow - Add new 2nd factor email identifier management functions:
verifyMfaEmailRegistration
startMfaEmailRegistration
removeMfaEmail
- Add an optional parameter
captchaToken
for captcha support in signup, startPasswordless and requestPasswordReset
Support the step up from a fresh access token with function getMfaStepUpToken
1.21.1 - 2021-11-30
Add possibility to refresh access token with a refresh token
1.21.0 - 2021-07-30
- Initiate an MFA step-up challenge
- List registered MFA credentials
- Add or remove MFA phone number credential
startPasswordless
can now can take a MFA step-up token to initiate a second factor challengestartPasswordless
now returns an MFA challenge ID when using in step-up flowsverifyPasswordless
refactored to be able to complete second factor challenges
1.20.1 - 2021-04-15
Added PKCE extra security in passwordless start flow.
Remove Instagram related code as it is no longer a supported social provider.
Moved cordova-plugin-inappbrowser
typings from devDependencies to dependencies.
1.20.0 - 2021-01-14
- Add an optional parameter
captchaToken
for captcha support in loginWithPassword
1.19.0 - 2020-12-10
- Only generate a
code_challenge
for public clients in authorization code flows. - Hardcode to
response_type=token
for confidential clients in web message requests.
Refactor tests to cover a wider set of request permutations.
Revamp of this changelog to follow Keep a Changelog guidelines.
1.18.1 - 2020-11-30
- The loginWithSocialProvider method returns
now the object reference from
InAppBrowser
within Cordova context. - The
returnToAfterEmailConfirmation
parameter is added to the signupWithWebAuthn method and allows to override the redirect URL specified in the Signup email template. - The verifyPasswordless method receives now
correctly the
auth
options.
1.18.0 - 2020-10-30
- Generate a PKCE
code_challenge
by default in all authorization code flows (responseType === 'code'
). - Use the authorization code flow with PKCE in checkSession.
Rename erroneously named config value pkceEnabled
to pkceEnforced
.
1.17.2 - 2020-10-02
- Upgrade all dependencies.
- Fix IE/Edge window closing warning.
1.17.1 - 2020-09-15
Fix the CircleCi job to deploy a new version.
1.17.0 - 2020-09-14
Add a new method to signup with WebAuthn: signupWithWebAuthn.
1.16.0 - 2020-09-10
- The
acceptTos
(Term Of Service) parameter in theAuthOptions
was removed. - The generic authentication callback was updated, it no longer calls the same endpoint.
- A new
AuthOptions
parameteruseWebMessage
was added to leverage web messages and redirectionless authentication. - The following methods return now a
Promise<AuthResult>
instead ofPromise<void>
: - The following parameters
prompt
,display
andresponseMode
of theAuthOptions
model are now string unions.
1.15.0 - 2020-07-07
Add the optional friendlyName
parameter to
the addNewWebAuthnDevice method to set the
device's name.
1.14.0 - 2020-07-02
- Add a new method to fetch the profile data: getSignupData.
- The error message thrown when the WebAuthn API is not available is updated.
1.14.0-beta.2 - 2020-06-17
Add new methods to allow management of FIDO2 devices: listWebAuthnDevices & removeWebAuthnDevice.
Throw an error when the Credentials Management API is not available.
1.14.0-beta.1 - 2020-06-15
Add new methods to allow implementation of login with biometrics: addNewWebAuthnDevice & loginWithWebAuthn.
1.13.0 - 2020-05-18
Add two new methods to request the verification of the phone number and email address: sendPhoneNumberVerification & sendEmailVerification
1.12.1 - 2020-05-11
Correct the signature of the verifyPasswordless method.
1.12.0 - 2020-04-17
Move the persistent
parameter from
the loginWithPassword method to AuthOptions
payload object to make it available in every login method.
1.11.0 - 2020-04-16
Add the persistent
parameter to
the loginWithPassword method to choose whether the
user session is persisted if the SSO feature is enabled.
1.10.0 - 2020-02-05
Add the returnToAfterPasswordReset
parameter for reset password and the returnToAfterEmailConfirmation
parameter for
signup.
1.9.3 - 2020-01-07
The logout method was fixed on Safari and IE11.
1.9.2 - 2019-12-02
Add the missing implementation of Buffer
to address an issue with the UMD bundle when PKCE is enabled.
1.9.1 - 2019-11-29
- Open a webview for social login if the Cordova platform is iOS.
- Support compatibility with IE11.
1.9.0 - 2019-10-28
Support PKCE in login with password
1.8.0 - 2019-10-21
Export the remote settings and the ErrorResponse
model.
1.7.1 - 2019-09-19
Customs fields and consents snake_case conversion
The Credentials Management API is now supported for the signup.
Fix redirectUrl
argument for updateEmail function.
1.6.0 - 2019-08-05
- You can now redirect a profile to a specific URL after signup
or profileUpdate with the new
redirectUrl
argument. - The Credentials Management API is now supported by the SDK. It will remove friction from sign-in flows by allowing users to be automatically signed back into a site even if their session has expired or they saved credentials on another device. Thus a new loginWithCredentials method was added and new arguments are passed to the loginWithPassword and logout methods. However it's still an experimental feature, so check first your browser compatibility.
The new default is to use the scopes defined for your client via the ReachFive console.
1.5.0 - 2019-06-24
Update the signature of the loginWithSocialProvider
method to handle pkce support.
Pass auth options scope
used by loginWithPassword
and signup
to the Identity API calls.
1.4.0 - 2019-06-21
- Update the signature of the
requestPasswordReset
method to handle a custom redirect url on the email sent. - Update the signature of the
requestPasswordReset
method to handle request password with a phone number. - Update the signature of the
updatePassword
method to handle update password with a phone number.
1.3.0 - 2019-06-11
Update the signature of the loginWithPassword
method to handle login with a phone number.
1.2.1 - 2019-03-21
- Remove
validation.ts
library. - Fix
tslint
warnings. - Error messages changes for SDK configuration.
1.1.4 - 2019-03-21
Automatise the deployment of a new release with circleci
.
1.1.3 - 2019-03-15
- Fix the typography of the
oldPassword
argument of the updatePassword method. - Upgrade some dependencies.
- Implement
tslint
. - Remove
yarn
.