github descope/node-sdk release/v1.6.13
1.6.13

2 days ago

Enhancements

  • FGA 2.0 support: Now that we've revamped our FGA support, we also updated our SDK functions. Under management.fga we now support 4 more functions:
    • saveSchema - Creates a new schema for the project.
    • createRelations - Creates new relations for the project.
    • deleteRelations - Deletes relations for the project.
    • check - Checks if the given relations are satisfied.
  • Template ID configuration: We added a new parameter named templateId to the LoginOptions object, used in 'sign up' / 'sign in' / 'sign up or in' functions of relevant authentication methods, to allow controlling which custom email/sms template should be used by the function. This will override the default configuration set in the project's 'Authentication Methods' page. We also added the templateId parameter to the invite function, to control the template sent to users upon invitation.
  • Impersonation JWT configurations: We've expanded the impersonate function to allow passing customClaims as well as tenantID, so that the created JWT will include that information.

Don't miss a new node-sdk release

NewReleases is sending notifications on new releases.