Certain WorkOS features may be available only in the beta version of the SDK. Beta versions have the -beta.* suffix, for example, 3.2.0-beta.1. For more information on how to use the beta versions, refer to the README in the GitHub repository.
Releases
October 14, 2025
v5.31.0
Latest
October 14, 2025
Add list sessions API (sync/async): GET user_management/users/{user_id}/sessions
Add revoke session API (sync/async): POST user_management/sessions/revoke
New typed model: workos.types.user_management.Session
October 9, 2025
v5.30.0
October 9, 2025
What's Changed
add authenticate with invite_token to authenticate_with_code by @simzeee in https://github.com/workos/workos-python/pull/481
bump to v5.30.0 by @simzeee in https://github.com/workos/workos-python/pull/482
New Contributors
@simzeee made their first contribution in https://github.com/workos/workos-python/pull/481
Full Changelog: https://github.com/workos/workos-python/compare/v5.29.0...v5.30.0
October 2, 2025
v5.29.0
October 2, 2025
What's Changed
Add Salesforce OAuth as an authentication provider by @antn in https://github.com/workos/workos-python/pull/475
Add support for list organization feature flags endpoint by @stanleyphu in https://github.com/workos/workos-python/pull/476
Bump to v5.29.0 by @stanleyphu in https://github.com/workos/workos-python/pull/477
New Contributors
@antn made their first contribution in https://github.com/workos/workos-python/pull/475
Full Changelog: https://github.com/workos/workos-python/compare/v5.28.0...v5.29.0
September 18, 2025
v5.28.0
September 18, 2025
What's Changed
Fix missing organization_domain events in webhook defs by @blackmad-cradle in https://github.com/workos/workos-python/pull/471
Add multiple roles support by @csrbarber in https://github.com/workos/workos-python/pull/473
Bump version to 5.28.0 by @csrbarber in https://github.com/workos/workos-python/pull/474
New Contributors
@blackmad-cradle made their first contribution in https://github.com/workos/workos-python/pull/471
@csrbarber made their first contribution in https://github.com/workos/workos-python/pull/473
Full Changelog: https://github.com/workos/workos-python/compare/v5.27.0...v5.28.0
August 20, 2025
v5.27.0
August 20, 2025
What's Changed
Added invitation.accepted and invitation.revoked events (https://github.com/workos/workos-python/pull/469)
Full Changelog: https://github.com/workos/workos-python/compare/v5.26.1...v5.27.0
July 31, 2025
v5.26.1
July 31, 2025
What's Changed
Cache JWKS clients per URL by @dandorman in https://github.com/workos/workos-python/pull/466
Full Changelog: https://github.com/workos/workos-python/compare/v5.26.0...v5.26.1
July 31, 2025
v5.26.0
July 31, 2025
What's Changed
Add organization domains module by @ajworkos in https://github.com/workos/workos-python/pull/464
Bump to v5.26.0 by @ajworkos in https://github.com/workos/workos-python/pull/465
Full Changelog: https://github.com/workos/workos-python/compare/v5.24.0...v5.26.0
July 8, 2025
v5.24.0
July 8, 2025
What's Changed
Added support for WorkOS Vault https://github.com/workos/workos-python/pull/458
Fixed handling access tokens with aud claim (#409)
Full Changelog: https://github.com/workos/workos-python/compare/v5.14.0...v5.15.0
February 3, 2025
v5.14.0
February 3, 2025
What's Changed
Add intent_options parameter on Portal.generate_link() method by @jonatascastro12 in https://github.com/workos/workos-python/pull/406
January 24, 2025
v5.13.1
January 24, 2025
What's Changed
Adjust dependency version pinning to allow for more cryptography versions (#404)
Full Changelog: https://github.com/workos/workos-python/compare/v5.13.0...v5.13.1
January 14, 2025
v5.13.0
January 14, 2025
Added
Added strip_customer_id parameter to update_organization (#401)
Added return_to parameter to get_logout_url (#400)
Full Changelog: https://github.com/workos/workos-python/compare/v5.12.1...v5.13.0
January 13, 2025
v5.12.1
January 13, 2025
What's Changed
Allows proxies to be properly set via environment variables (#398). If you use the standard HTTP proxy environment variables (e.g. HTTPS_PROXY), it's recommend to verify there's no behavior change in your environment and adjust them if needed.
Full Changelog: https://github.com/workos/workos-python/compare/v5.12.0...v5.12.1
January 7, 2025
v5.12.0
January 7, 2025
Added
Support screen_hint in user_management.get_authorization_url by @faroceann in https://github.com/workos/workos-python/pull/396
Full Changelog: https://github.com/workos/workos-python/compare/v5.11.1...v5.12.0