Commit c007bbe
Add idp_attributes field to OrganizationMembership
- Add idp_attributes: dict[str, Any] to OrganizationMembership model
- Update MockOrganizationMembership fixture
- All organization_membership tests pass
This change adds support for IDP custom attributes on organization
memberships, which are sourced from the identity provider and stored
as customAttributes in the API.
Related to workos/workos PR #50470
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 57978c1 commit c007bbe
File tree
2 files changed
+3
-1
lines changed- src/workos/types/user_management
- tests/utils/fixtures
2 files changed
+3
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
0 commit comments