Installation

Releases

v2.18.0

May 2, 2023
May 2, 2023

Added

  • Added actor_ids, and actor_names parameters to auditLogs.createExport method, deprecated actors (https://github.com/workos/workos-node/pull/729)

v2.17.0

February 16, 2023
February 16, 2023

Added

  • Added groups attribute to SSO user profile. This feature is in beta, please reach out to [email protected] to access this feature. (#704)

Changed

  • Multiple dependency updates

v2.16.0

December 8, 2022
December 8, 2022

Added

  • Add log_streams Admin Portal intent (https://github.com/workos/workos-node/pull/691)

Changed

  • Security package updates (https://github.com/workos/workos-node/pull/688, https://github.com/workos/workos-node/pull/689, https://github.com/workos/workos-node/pull/690, https://github.com/workos/workos-node/pull/693, https://github.com/workos/workos-node/pull/695)

v2.15.1

November 30, 2022
November 30, 2022

Fixed

  • Added missing user, issuer, and uri properties to totp (#687)

v2.15.0

October 18, 2022
October 18, 2022

Added

  • Added success_url parameter to generate_link method (#670)

v2.14.0

October 12, 2022
October 12, 2022

Added

  • Added getPrimaryEmail method for directory users (#670)
  • Added job title attribute to directory users (#675)

Updated

  • Multiple dependency updates

v2.13.0

September 16, 2022
September 16, 2022

Added

  • Added support for creating Admin Portal links for viewing Audit Logs (#666)

Updated

  • Exposed additional methods from Webhooks class (#656)
  • Multiple dependency updates

v2.12.0

August 18, 2022
August 18, 2022

Added

  • Added support for passing idempotency keys to createOrganization (#655)
  • Added support for customizing Axios client (#657)

v2.9.1

July 15, 2022
July 15, 2022

Added

  • Exported audit log interfaces (#643)

v2.9.0

July 14, 2022
July 14, 2022

Added

  • Added organization_id to Directory User and Directory Group (#640)

v2.8.1

July 13, 2022
July 13, 2022

Changed

  • Fixed misleading 404 messages (#638)

v2.8.0

July 12, 2022
July 12, 2022

Changed

  • Added auditLogs modules (preview) (#636)
  • Updated endpoints used for MFA operations (#633)

v2.7.0

June 7, 2022
June 7, 2022

Changed

  • Added order param for pagination by (#614)
  • Added idp_id, created_at and updated_at fields to Directory Group interface (#622)
  • Made expires_at nullable in MFA challenge interface (#623)
  • Updated connection enum list and bumped version to 2.7.0 (#624)

v2.6.1

May 23, 2022
May 23, 2022

Fixed

  • Propagated code and message error properties for 422 responses
  • Fixed TS types for verifyFactor response

v2.6.0

May 20, 2022
May 20, 2022

Changed

  • Updated types for Directory, User, and Group entities in webhook payloads (#611)
  • Updated various dependencies

Removed

  • Removed environment_id parameter from objects as this field is not returned by the API (#612)

v2.5.1

March 31, 2022
March 31, 2022

Fixed

  • Fixed MFA API argument casing (#586)

v2.5.0

March 30, 2022
March 30, 2022

Added

  • MFA API support (#572)
  • Exported organization type definitions (#562)
  • Added organization_id parameter to listDirectories method (#576)

Changed

  • Numerous dependency version updated

v2.4.0

December 16, 2021
December 16, 2021

Added

  • Added support for passing a domain_hint and login_hint to sso.getAuthorizationURL (#540)

v2.3.0

December 13, 2021
December 13, 2021

Added

  • Added support for passing an organization to sso.getAuthorizationURL (#537)

Changed

  • Increased the default tolerance for webhooks.constructEvent to three minutes (#530)

Deprecated

  • Deprecated the domain parameter for sso.getAuthorizationURL in favor of organization (#537)

v2.2.0

November 12, 2021
November 12, 2021

Added

  • Exposed directory_id field on Users and Groups (#514)

v2.1.1

November 8, 2021
November 8, 2021

Added

  • Webhook Validation: Added line to stringify payload to resolve error (#517)

v2.1.0

November 5, 2021
November 5, 2021

Added

  • Added 'inactive' to user state (#510)
  • Added Get a Directory endpoint (#511)

v2.0.0

October 29, 2021
October 29, 2021

Breaking Changes

  • The organization_id field on the following objects was made nullable (#504):
    • Connection
    • Directory
    • Profile
  • The listMetadata field on the List type was renamed to list_metadata (#508)

New Features

  • Added types for webhook events (#506)

v1.6.0

October 29, 2021
October 29, 2021

Added

  • Added Auth0SAML to ConnectionType (#501)
  • Exported exceptions (#503)

v1.5.0

October 13, 2021
October 13, 2021

Added

  • Webhook signature validation added (#473)

v1.4.0

September 21, 2021
September 21, 2021

Added

  • Added support for allow_profiles_outside_organization to organizations (#468)
  • Exported ProfileAndToken type (#469)
  • Added organization_id to profiles (#470)

v1.3.1

September 16, 2021
September 16, 2021

Changed

  • Updated dependencies, including an update of axios to 0.21.4

v1.3.0

August 16, 2021
August 16, 2021

Added

  • Exposed custom_attributes for directory users (#431)
  • Added created_at and updated_at fields (#437)

v1.2.0

July 14, 2021
July 14, 2021

Added

  • Added improved error handling (#410)
  • Added named export for CommonJS consumers (#423)
  • Added OrganizationId to Directory Endpoint (#408)

v1.1.0

June 2, 2021
June 2, 2021

Added

  • Added sso.getProfile (#396)
  • Added organizations.getOrganization (#394)
  • Added organizations.deleteOrganization (#398)
  • Added expiresIn to CreatePasswordlessSessionOptions (#405)