Releases: descope/node-sdk
Releases · descope/node-sdk
1.5.0
Enhancements
- User custom attributes 💫 : We're glad to announce that we now support adding custom attributes to the user object! The default user object is great, but sometimes you want to keep a bit more information on it for your app's needs.
Creation of the attributes are done from the Descope Console, and you can find them in the user object under thecustomAttributesproperty. Option to set, update and delete the values are also available from the SDK. - User testing utility for your E2E tests: When using authentication methods such as OTP / Magic Link / Enchanted Link, it can get cumbersome to automatically test those as part of the app's testing process. To close this loop - we released a utility with which you can create test users. Those special users are enabled to generate codes or links without the need of 3rd party messaging services.
You can create, fetch and delete test users - all part of your integration tests code! More information, along with examples, can be found in the SDK's README. - User attribute updates: You can now update the user's picture using the new user
updatePicturecommand, and user custom attributes using theupdateCustomAttributecommand. - Get tenant SSO configuration: Using the GetSettings function, you can now fetch a specific tenant's SSO configuration. Example on how to do so in the repo's README, under the 'Manage SSO Settings' section.
1.1.1
Enhancements
- Passwords for user authentication: Descope now supports usage of passwords. You can design your authentication flow to include password authentication, update a user's password when expired, and more.
- Import and export of Flows and Themes: If you want to export or import flows and themes from one project to another - you can do so now with supporting commands, such as
export. - Invite users via management commands: Use the new
inviteUser command to programmatically invite users to your project. Just like in the console, you can control which tenants and roles will be associated to the invited users. - Pagination support for Users: We now support the ability to paginate the
searchAllUser response. Use thepageparameter to define how many results should return in each page. - Documentation enhancements: Tiny enhancements to our SDK's README.