Skip to content

Commit

Permalink
Expose connection_id on Profile Objects (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jthodge authored Oct 14, 2020
1 parent 47421c2 commit 4998fb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/test_sso.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion workos/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

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

__version__ = "0.7.0"
__version__ = "0.8.0"

__author__ = "WorkOS"

Expand Down
1 change: 1 addition & 0 deletions workos/resources/sso.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class WorkOSProfile(WorkOSBaseResource):
"email",
"first_name",
"last_name",
"connection_id",
"connection_type",
"idp_id",
"raw_attributes",
Expand Down

0 comments on commit 4998fb9

Please sign in to comment.