diff --git a/tests/test_sso.py b/tests/test_sso.py index 6bee38a1..47537739 100644 --- a/tests/test_sso.py +++ b/tests/test_sso.py @@ -26,6 +26,7 @@ def mock_profile(self): "email": "demo@workos-okta.com", "first_name": "WorkOS", "last_name": "Demo", + "connection_id": "conn_01EMH8WAK20T42N2NBMNBCYHAG", "connection_type": "OktaSAML", "idp_id": "00u1klkowm8EGah2H357", "raw_attributes": { @@ -135,6 +136,7 @@ def test_get_profile_returns_expected_workosprofile_object( "id": mock_profile["id"], "email": mock_profile["email"], "first_name": mock_profile["first_name"], + "connection_id": mock_profile["connection_id"], "connection_type": mock_profile["connection_type"], "last_name": mock_profile["last_name"], "idp_id": mock_profile["idp_id"], diff --git a/workos/__about__.py b/workos/__about__.py index b067a6e6..5af5b794 100644 --- a/workos/__about__.py +++ b/workos/__about__.py @@ -12,7 +12,7 @@ __package_url__ = "https://github.com/workos-inc/workos-python" -__version__ = "0.7.0" +__version__ = "0.8.0" __author__ = "WorkOS" diff --git a/workos/resources/sso.py b/workos/resources/sso.py index a8e82129..e229aee7 100644 --- a/workos/resources/sso.py +++ b/workos/resources/sso.py @@ -13,6 +13,7 @@ class WorkOSProfile(WorkOSBaseResource): "email", "first_name", "last_name", + "connection_id", "connection_type", "idp_id", "raw_attributes",