Installation

Command Line
Python

Releases

v1.27.0

August 11, 2023
August 11, 2023

Added

  • Add expires_in parameter to create_session.

Changed

  • Removed connections parameter from create_session.

v1.26.0

June 26, 2023
June 26, 2023

Changed

  • Changed the Events API (in beta) rangeStart and rangeEnd parameters to range_start and range_end(https://github.com/workos/workos-python/pull/184).

v1.25.0

June 16, 2023
June 16, 2023

Changed

  • GetEvents is now ListEvents in the Events API Beta

v1.24.0

May 24, 2023
May 24, 2023

Added

  • Adds support for Events beta API

v1.23.3

May 11, 2023
May 11, 2023
  • Pins dependency versions for deployment

v1.23.2

May 11, 2023
May 11, 2023
  • Updates internal CI configuration

v1.23.1

May 10, 2023
May 10, 2023
  • Fixes issue with default limit check in SSO, Directory Sync, and Organizations list methods

v1.23.0

April 26, 2023
April 26, 2023
  • Add auto_pagination_iter method to list endpoints
  • Add *_v2 version of list methods to allow auto_pagination_iter to be called directly

v1.22.0

March 9, 2023
March 9, 2023

Added

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

v1.21.0

December 8, 2022
December 8, 2022

Added

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

v1.20.2

November 8, 2022
November 8, 2022

Changed

  • Encoding of event body in the webhooks validation method (https://github.com/workos/workos-python/pull/161)

v1.20.1

October 24, 2022
October 24, 2022

Changed

  • Webhooks validation method error handling (https://github.com/workos/workos-python/pull/151)

v1.20.0

October 24, 2022
October 24, 2022

Added

  • Adds MFA delete_factor and get_factor methods (#152)

v1.19.0

October 18, 2022
October 18, 2022

Added

  • Add success_url (https://github.com/workos/workos-python/pull/156)

Changed

  • Correctly parse both string/enum based connection types (https://github.com/workos/workos-python/pull/155)

v1.18.0

October 12, 2022
October 12, 2022

Added

  • Added job title attribute for directory users (#153)

v1.17.0

September 26, 2022
September 26, 2022

Added

  • Add support for idempotency-key on Create Organization method
  • Add support for primary_email method on WorkOSDirectoryUser class

v1.16.0

September 16, 2022
September 16, 2022

Added

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

v1.15.1

September 15, 2022
September 15, 2022

Fixed

  • Fix Audit Logs Exports calls (https://github.com/workos/workos-python/pull/146)

v1.15.0

August 25, 2022
August 25, 2022

Added

  • Added support for Audit Logs endpoints (#139):
    • audit_logs.create_event()
    • audit_logs.create_export()
    • audit_logs.get_export()
  • Added WorkOS classes for WorkOSAuditLogExport (#139)

Changed

  • Changed the client User Agent to also send the Python version (#140)

v1.14.1

August 22, 2022
August 22, 2022

Updated

  • Fixed provider validation for OAuth connections

v1.14.0

July 20, 2022
July 20, 2022

Added

  • Added support for GET /Directory endpoint (#135)
  • Added WorkOS classes for WorkOSConnection, WorkOSDirectory, WorkOSUser, WorkOSOrganization, WorkOSAuthenticationFactor, WorkOSChallengeVerification, and WorkOSPasswordlessSession (#135)

v1.13.0

July 15, 2022
July 15, 2022

Added

  • Added support for updating allow_profiles_outside_organization with update_organization (#128)

Changed

  • Updated endpoints used for MFA operations (#131)

Fixed

  • Fixed is with a string literal warning (#133)

Deprecated

  • The verify_factor attribute has been deprecated in factor of verify_challenge (#131)

v1.12.0

June 7, 2022
June 7, 2022

Added

  • Added order parameter to pagination SDK (#124)

Updated

  • Updated MFA Challenge response object as a defined class (#126)
  • Updated Directory Sync Directory Group response object as a defined class (#125)
  • Updated Connection Type enum list to include all supported providers (#125)

v1.11.0

March 30, 2022
March 30, 2022

Added

  • Added support for MFA API (#116)

v1.10.0

March 9, 2022
March 9, 2022

Added

  • Added more values to the ConnectionType enum (#117)

v1.9.0

February 28, 2022
February 28, 2022

Added

  • Added organization parameter to the List Organizations endpoint for Directory Sync. This allows filtering of the directories returned by organization ID (#114)

v1.8.0

February 24, 2022
February 24, 2022

Changed

  • The get_authorization_url attribute now throws an exception when redirect_uri is not provided (#107)
    • This matches the upstream requirements of the WorkOS API
  • The list_connections attribute now accepts a ConnectionType for the connection_type parameter (#112)
    • String values will continue to work, but are considered deprecated

Deprecated

  • Deprecated passing string values as the connection_type parameter for list_connections (#112)

v1.7.0

December 16, 2021
December 16, 2021

Added

  • Support for domain_hint and login_hint parameters to get_authorization_url (#105)
  • Support for organization parameter to get_authorization_url (#104)

Deprecated

  • Deprecated the domain parameter for get_authorization_url in favor of organization (#104)

v1.6.0

December 16, 2021
December 16, 2021

Added

  • Added method to get single directory (#99)

v1.5.1

November 2, 2021
November 2, 2021

Fixed

  • Fixed webhooks method routing bug (#98)