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 thecustomAttributes
property. 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
updatePicture
command, and user custom attributes using theupdateCustomAttribute
command. - 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.