Skip to content

Releases: descope/react-sdk

v2.0.15

31 Mar 08:40
Compare
Choose a tag to compare

What's Changed

  • Widgets: Widgets are components that allow you to expose management features for tenant-based implementation. Available widgets:
    - UserManagement widget - will let you embed a user table in your site to view and take action.
    - RoleManagement widget will let you embed a role table in your site to view and take action.
    - AccessKeyManagement widget will let you embed an access key table in your site to view and take action.

v2.0.9

12 Mar 10:37
Compare
Choose a tag to compare

Enhancements

  • Update dependencies with general improvements in the fingreprinting mechanism

v2.0.8

10 Mar 09:57
Compare
Choose a tag to compare

Enhancements

  • user-management-widget now supports edit user details

v2.0.7

03 Mar 14:36
Compare
Choose a tag to compare

Enhancements

  • onReady Callback for Flows Components: This callback indicates when the first screen of the Flow has fully rendered. This is useful for facilitating the display of a loading indicator until the page is ready

Bug Fixes

  • useSession hook update issue:Resolved an issue where the useSession hook did not update correctly

v2.0.3

04 Dec 19:06
Compare
Choose a tag to compare

Breaking changes

We're thrilled to announce a new version of our flow infrastructure (V2) designed to provide you with enhanced performance, scalability, and new features.
More info can be found here

v1.0.10

13 Aug 13:47
Compare
Choose a tag to compare

Enhancements

Enhancements

  • Translation support: We're excited to introduce our support for translation services! Using the relevant Connectors (such as Google Cloud Translate and AWS Translate) you can configure your flow's screens so that they adapt to your users' languages, enhancing the user experience for global audiences.

v1.0.5

30 May 15:27
Compare
Choose a tag to compare

Enhancements

  • Flows support in mobile SDK: Flows can now run using our mobile SDK! First up was Kotlin, and we’re actively working on updating our Swift and Flutter SDKs.
  • useDescope hook: Added a new useDescope hook that exposes all Descope SDK functions.

Bug fixes

  • Do not reset session and user when flow does not end with a session: Up until now, the session and the user got reset whenever a flow didn’t end with a session. This was fixed and now both session and user are kept.
  • Loop when useSession got called multiple times: Fixed a bug where, upon calling the useSession hook multiple times, would cause a refresh loop.
  • Add tslib to dependencies: tslib was missing from our dependency list, and was now added.

v1.0.1

19 Mar 15:47
Compare
Choose a tag to compare

Enhancements

  • Helper functions on tokens: New helper functions on tokens were added, including:
    • refresh(token = getRefreshToken()) - Force a refresh on current session token using an existing valid refresh token.
    • getJwtRoles(token = getSessionToken(), tenant = '') - Get current roles from an existing session token. You can also provide a tenant ID for specific tenant roles.
    • getJwtPermissions(token = getSessionToken(), tenant = '') - Get current permissions from an existing session token. You can also provide a tenant ID for specific tenant permissions.
  • Readme enhancements: Improved parameter descriptions and sample app definitions.

1.0.0

19 Feb 17:37
Compare
Choose a tag to compare

Initial release of the React SDK