Skip to content

Commit 4998fb9

Browse files
authored
Expose connection_id on Profile Objects (#43)
1 parent 47421c2 commit 4998fb9

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

tests/test_sso.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def mock_profile(self):
2626
"email": "[email protected]",
2727
"first_name": "WorkOS",
2828
"last_name": "Demo",
29+
"connection_id": "conn_01EMH8WAK20T42N2NBMNBCYHAG",
2930
"connection_type": "OktaSAML",
3031
"idp_id": "00u1klkowm8EGah2H357",
3132
"raw_attributes": {
@@ -135,6 +136,7 @@ def test_get_profile_returns_expected_workosprofile_object(
135136
"id": mock_profile["id"],
136137
"email": mock_profile["email"],
137138
"first_name": mock_profile["first_name"],
139+
"connection_id": mock_profile["connection_id"],
138140
"connection_type": mock_profile["connection_type"],
139141
"last_name": mock_profile["last_name"],
140142
"idp_id": mock_profile["idp_id"],

workos/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
__package_url__ = "https://github.com/workos-inc/workos-python"
1414

15-
__version__ = "0.7.0"
15+
__version__ = "0.8.0"
1616

1717
__author__ = "WorkOS"
1818

workos/resources/sso.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class WorkOSProfile(WorkOSBaseResource):
1313
"email",
1414
"first_name",
1515
"last_name",
16+
"connection_id",
1617
"connection_type",
1718
"idp_id",
1819
"raw_attributes",

0 commit comments

Comments
 (0)