LoginRadius Node JS SDK Change Log provides information regarding what has changed, more specifically what changes, improvements and bug fix has been made to the SDK. For more details please refer to the LoginRadius API Documention
Release Date: March 28, 2025
We've introduced a brand-new set of Webhook APIs, designed with enhanced functionality and flexibility. These new APIs support advanced features including:
- Custom header configuration
- Query parameter support
- Webhook authentication methods (Bearer Token and Basic Auth)
- Support for a custom
Nameparameter to label each webhook subscription
As part of this upgrade, the legacy Webhook APIs have been deprecated in favor of the new, more robust versions.
Additionally, this release includes minor improvements and bug fixes to enhance overall stability and performance.
getWebhookSubscriptionDetail– Retrieve detailed information about a specific webhook subscriptioncreateWebhookSubscription– Create a new webhook subscription with advanced configuration optionsdeleteWebhookSubscription– Remove an existing webhook subscriptionupdateWebhookSubscription– Modify an existing webhook subscriptionlistAllWebhooks– Retrieve a list of all configured webhook subscriptionsgetWebhookEvents– Fetch available webhook events supported by the system
The following legacy APIs have been deprecated:
webHookUnsubscribewebhookTestwebHookSubscribegetWebHookSubscribedURLs
Release on October 25, 2024
- We have introduced support for the "X-PreventWebhook" header in the SDK. When the PreventWebhook configuration is set to true, this feature prevents the specific API from triggering webhooks, providing enhanced flexibility to address specific customer use cases.
Release on July 03, 2024
MFAValidateAuthenticatorCodeMFAVerifyAuthenticatorCodeRevokeAllRefreshTokenMultipurposeEmailTokenGenerationMultipurposeSMSOTPGenerationMFAReAuthenticateByAuthenticatorCodeAuthSendVerificationEmailForLinkingSocialProfilesSlidingAccessTokenAccessTokenViaCustomJWTTokenMFAResetAuthenticatorByTokenMFAResetAuthenticatorByUid
- Added
isVoiceOtpparameter inResetPhoneIDVerificationByUidAPI - Added
isVoiceOtpparameter inMFAConfigureByAccessTokenAPI - Added
isVoiceOtpandoptionsparameter inMFAUpdatePhoneNumberByTokenAPI - Added
isVoiceOtp,emailTemplate2FAandoptionsparameter inMFALoginByEmailAPI - Added
isVoiceOtpandemailTemplate2FAparameter inMFALoginByUserNameAPI - Added
isVoiceOtp,emailTemplate2FAandoptionsparameter inMFALoginByPhoneAPI - Added
isVoiceOtpandoptionsparameter inMFAUpdatePhoneNumberAPI - Added
isVoiceOtpparameter inMFAResendOTPAPI - Added
isVoiceOtpparameter inMFAReAuthenticateAPI - Added
isVoiceOtpandoptionsparameter inUpdateProfileByAccessTokenAPI - Added
isVoiceOtpparameter inUserRegistrationByEmailAPI - Added
isVoiceOtpparameter inUserRegistrationByCaptchaAPI - Added
isVoiceOtpparameter inOneTouchLoginByPhoneAPI - Added
isVoiceOtpparameter inPasswordlessLoginPhoneVerificationAPI - Added
isVoiceOtpparameter inPasswordlessLoginByPhoneAPI - Added
isVoiceOtpparameter inForgotPasswordByPhoneOTPAPI - Added
isVoiceOtpparameter inPhoneVerificationByOTPAPI - Added
isVoiceOtpparameter inPhoneVerificationOTPByAccessTokenAPI - Added
isVoiceOtpparameter inPhoneResendVerificationOTPAPI - Added
isVoiceOtpparameter inUpdatePhoneNumberAPI - Added
isVoiceOtpandemailTemplateparameter inUserRegistrationByPhoneAPI - Added
isVoiceOtpparameter inSendForgotPINSMSByPhoneAPI - Added
uuidparameter inVerifyEmailAPI
-smsTemplate2FA parameter in MFAConfigureByAccessToken API
MFAValidateGoogleAuthCodeMFAReAuthenticateByGoogleAuthMFAResetGoogleAuthByTokenMFAResetGoogleAuthenticatorByUidMFAUpdateByAccessToken
Release on January 20, 2023
- We have updated some of the dependencies to the latest Version.
- Added
emailTemplateparameter inuserRegistrationByPhoneApi
AuthGetRegistrationDataValidateRegistrationDataCodeGetRegistrationDataAddRegistrationDataUpdateRegistrationDataDeleteRegistrationDataDeleteAllRecordsByDataSourceGetAccessTokenByVkontakteAccessTokenGetAlbumGetAlbumsWithCursorGetAudiosGetAudiosWithCursorGetCheckInsGetCheckInsWithCursorGetContactsGetEventsGetEventsWithCursorGetFollowingsGetFollowingsWithCursorGetGroupsGetGroupsWithCursorGetLikesGetLikesWithCursorGetMentionsPostMessageGetPageGetPhotosGetPostsStatusPostingTrackableStatusPostingGetTrackableStatusStatsTrackableStatusFetchingGetVideosGetRefreshedSocialUserProfile
Release on June 01, 2022
- We have standardized the
getSott()function and added additional parametertimeDifferencein thegetSott()function to get the SOTT using the time difference. - Enhancement in
README.mdfile.
Release on January 27, 2022
- Added linting and formatting toolchains
- Added Licence and Contribution Guideline files
Release on September 6, 2021
- Updated Jquery with latest version(3.6.0) in SDK Demo
- MFAEmailOtpByAccessToken
- MFAValidateEmailOtpByAccessToken
- MFAResetEmailOtpAuthenticatorByAccessToken
- MFASecurityQuestionAnswerByAccessToken
- MFAResetSecurityQuestionAuthenticatorByAccessToken
- MFAEmailOTP
- MFAValidateEmailOtp
- MFASecurityQuestionAnswer
- MFASecurityQuestionAnswerVerification
- MFAResetEmailOtpAuthenticatorByUid
- MFAResetSecurityQuestionAuthenticatorByUid
- ReAuthValidateEmailOtp
- ReAuthSendEmailOtp
- ReAuthBySecurityQuestion
- GetSocialUserProfile
Added EmailTemplate2FA parameter in the following API
- MFALoginByEmail
- MFALoginByUserName
- MFALoginByPhone
Added RbaBrowserEmailTemplate, RbaCityEmailTemplate ,RbaCountryEmailTemplate , RbaIpEmailTemplate parameter in the following API
- MFAValidateOTPByPhone
- MFAValidateGoogleAuthCode
- MFAValidateBackupCode
Added emailTemplate, verificationUrl ,welcomeEmailTemplate parameter in the following API
- GetProfileByAccessToken
- mfaValidateGoogleAuthCode
Release on April 7, 2021
- Added X-Origin-IP header support.
- Added 429 error code handling for "Too Many Request in a particular time frame".
- Get Profile By Ping.
- Passwordless Login Verification By Email And OTP.
- Passwordless Login Verification By User Name And OTP.
Release on Aug 04, 2020
- Added a parameter isWeb in "RefreshAccessToken" API.
- Changed the dependency of request package to https package
- Added a parameter SocialAppName in "getAccessTokenByFacebookAccessToken, getAccessTokenByTwitterAccessToken, getAccessTokenByGoogleAccessToken, getAccessTokenByLinkedinAccessToken, getAccessTokenByAppleIdCode, getAccessTokenByGoogleAuthCode" native Social login APIs.
- Added linkSocialIdentities(POST) API.
- Added linkSocialIdentitiesByPing(POST) API.
- Added getAccessTokenByAppleIdCode API.
- Added getAccessTokenByWeChatCode API.
- linkSocialIdentity API(PUT)
- getSocialIdentity API(GET)
Release on September 30,2019
This full version release includes major breaking changes with several improvements and optimizations :
- Enhanced the coding standards of SDK to follow industry programming styles and best practices.
- Enhanced security standards of SDK.
- Reduced code between the business layer and persistence layer for optimization of SDK performance.
- Added internal parameter validations in the API function.
- ApiKey and ApiSecret usage redundancy removed.
- All LoginRadius related features need to be defined once only and SDK will handle them automatically.
- Improved the naming conventions of API functions for better readability.
- Better Exception Handling for LoginRadius API Response in SDK.
- Revamped complete SDK and restructured it with latest API function names and parameters.
- Added detailed description to API functions and parameters for better understanding.
- Updated the demo according to latest SDK changes.
- Used path module for OS independent.
- Added PIN Authentication feature APIs.
- Added Consent Management feature APIs.
- Update Phone ID by UID
- Upsert Email
- Role Context profile
- MFA Resend OTP
- User Registration By Captcha
- Get Access Token via Linkedin Token
- Get Access Token By Foursquare Access Token
- Get Active Session By Account Id
- Get Active Session By Profile Id
- Delete User Profiles By Email
- Verify Multifactor OTP Authentication
- Verify Multifactor Password Authentication
- Verify Multifactor PIN Authentication
- Update UID
- MFA Re-authentication by PIN
- PIN Login
- Forgot PIN By Email
- Forgot PIN By UserName
- Reset PIN By ResetToken
- Reset PIN By SecurityAnswer And Email
- Reset PIN By SecurityAnswer And Username
- Reset PIN By SecurityAnswer And Phone
- Forgot PIN By Phone
- Change PIN By Token
- Reset PIN by Phone and OTP
- Reset PIN by Email and OTP
- Reset PIN by Username and OTP
- Set PIN By PinAuthToken
- Invalidate PIN Session Token
- Submit Consent By ConsentToken
- Get Consent Logs
- Submit Consent By AccessToken
- Verify Consent By AccessToken
- Update Consent Profile By AccessToken
- Get Consent Logs By Uid
- Album With Cursor
- Audio With Cursor
- Check In With Cursor
- Event With Cursor
- Following With Cursor
- Group With Cursor
- Like With Cursor
- GetCompanies API
- Getstatus API
Released on Aug 05, 2019
This beta version release includes major changes with several improvements and optimizations
- Enhanced the coding standards of SDK to follow industry programming styles and best practices.
- Enhanced security standards of SDK.
- Reduced code between the business layer and persistence layer for optimization of SDK performance.
- Added internal parameter validations in the API function.
- ApiKey and ApiSecret usage redundancy removed.
- All LoginRadius related features need to be defined once only and SDK will handle them automatically.
- Improved the naming conventions of API functions for better readability.
- Better Error and Exception Handling for LoginRadius API Response in SDK.
- Revamped complete SDK and restructured it with latest API function names and parameters.
- Added detailed description to API functions and parameters for better understanding.
- Updated the demo according to latest SDK changes.
- Used path module for OS independent.
- Update Phone ID by UID
- Upsert Email
- Role Context profile
- MFA Resend OTP
- User Registration By Captcha
- Get Access Token via Linkedin Token
- Get Access Token By Foursquare Access Token
- Get Active Session By Account Id
- Get Active Session By Profile Id
- GetCompanies API
Released on March 12, 2019
- Enable gZip Compression.
- Resolved JShint detected warnings & errors
=============================================================
Released on Dec 5, 2018
- A Demo has been added to the SDK under the demo directory.
- Request Access Token Header and Payload Option
- Implemented Custom Domain option.
- Implement functionality to customize your region.
- API Route Changes: We have renamed some login flow for better naming. "Auto Login" to "Smart Login", "No Registration" renamed to "One touch Login" and "Instant Link Login" to "PasswordLess Login".
- Implemented API Request Signing option: Passed hashed of secret instead of API Secret Key in API Calling.
- Added Option to Prevent Sending Email Verification.
APIs have been changed to correctly reflect the format found in the API Docs. As a result a significant amount of methods have to be called with different module or method names. For the updated names and calls, check the Node.JS SDK documentation.
- module.autoLogin.byEmail replaced with module.smartLogin.byEmail
- module.autoLogin.byUsername replaced with module.smartLogin.byUsername
- module.autoLogin.verify replaced with module.smartLogin.verify
- module.autoLogin.ping replaced with module.smartLogin.ping
- module.instantLinkLoginByEmail replaced with module.passwordlessLoginByEmail
- module.instantLinkLoginByUsername replaced with module.passwordlessLoginByUsername
- module.instantLinkLoginVerify replaced with module.passwordlessLoginVerify
- module.otp.send replaced with module.passwordlessPhoneLoginUsingOTP
- module.simplifiedRegistrationByEmail replaced with module.oneTouchLoginByEmail
- module.simplifiedRegistrationByPhone replaced with module.oneTouchLoginByPhone
- module.simplifiedRegistrationVerifyOtp replaced with module.oneTouchLoginVerifyOtp
- module.twoFactor.emailLogin replaced with module.mfaEmailLogin
- module.twoFactor.usernameLogin replaced with module.mfaUsernameLogin
- module.twoFactor.phoneLogin replaced with module.mfaPhoneLogin
- cloudApi replaced with configApi
- sendWelcomeEmail API
- acceptPrivacyPolicy API
- mfaValidateGoogleAuthCode API
- mfaReauthenticate API
- validateMFAByGoogleAuthenticatorCode API
- validateMFAByBackupCode API
- validateMFAByOTP API
- validateMFAByPassword API
Released on Aug 9, 2018
- Capitalised calling METHOD names.
Released on Feb 09, 2018
- Added configuration API.
- Improved structure and naming convention
- APIKey and APISecret will pass in header in all management APIs
- Splitted Reset Password by Security Answer into three APIs(by email, phone and username)
Released on August 31, 2017
- Added No Registration by phone and email APIs.
- Added Invalidate Phone number APIs.
- Added create, retrieve, update and delete Custom Registration Data APIs.
- Added retrive Security Question APIs.
- Added server side API to generate SOTT.
- Added Auto Login by Phone and Username.
- Added email verify Auto Login API.
- Allows you to set proxy configurations, if you want to setup Http Server Proxy Configuration through your NodeJs SDK.
- Enhanced Reset password APIs by adding an parater ResetPasswordEmailTemplate to Send Email or SMS on password reset.
- Enhanced all APIs with projection of fields which allows to select fields that you require as an API response.
- Enhanced Custom Object Update API by adding an extra parater isAllowedReplace.
- Enhanced Account profile Update API by adding an extra parater nullSupport.
- Enhanced Login APIs by adding and extra parameter securityanswer.
See the documentation here
Released on May 16, 2017
- Improved code
See the documentation here
Released on May 12, 2017
- Add start and end time for SOTT to validate it for long time frame.
- Add API to get server time for SOTT if don't pass the start and end time.
- Improved SOTT feature.
- Add Email prompt auto login API.
- Add Email prompt auto login Ping API
- Add Role Context and additional permission API
See the documentation here
Released on April 14, 2017
Updated with V2 APIs
- Added new multiple APIs for better user experience.
- Improved structure and naming convention
- Improved security feature
- Added Phone Authentication APIs to handle phone login,registration and verification etc.
- Added APIs for two factore authentication
- Added Rest hook APIs
- Added web hook APIs
See the documentation [here](https://docs.loginradius.com/api/v2/sdk-libraries/nodejs)
Released on April 04, 2017
- Added Password reset API
- Improved code
See the documentation [here](https://docs.loginradius.com/api/v1/sdk-libraries/nodejs)
Released on August 10, 2016
- Added User Verify Email API
- Added Get Session API
- Added User Password forgot API
See the documentation [here](https://docs.loginradius.com/api/v1/sdk-libraries/nodejs)
Released on May 12, 2016
- Improved documentation (Added more examples of endpoint usage)
- Improved parameter names to match apidocs
- updated SDK to include all new endpoints at time of release
See the documentation [here](https://docs.loginradius.com/api/v1/sdk-libraries/nodejs)