Skip to content

feat: add client grant defaults, org configuration, session delegation, and DPoP support#755

Merged
developerkunal merged 1 commit intomainfrom
fern-bot/2026-04-22_05-35-53_830
Apr 22, 2026
Merged

feat: add client grant defaults, org configuration, session delegation, and DPoP support#755
developerkunal merged 1 commit intomainfrom
fern-bot/2026-04-22_05-35-53_830

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api Bot commented Apr 22, 2026

🔧 Changes

  • Added default_for field to client grant response types (ClientGrantDefaultForEnum), enabling grants to be applied as defaults for groups like third_party_clients.
  • Added new client fields: my_organization_configuration, third_party_security_mode, and redirection_policy across all client response types (Client, CreateClientResponseContent, etc.).
  • Added ClientSessionTransferDelegationConfiguration with allow_delegated_access and enforce_device_binding fields to the session transfer configuration.
  • Added ClientMyOrganizationResponseConfiguration, ClientMyOrganizationPatchConfiguration, and ClientMyOrganizationPostConfiguration types with support for allowed_strategies, connection_deletion_behavior, connection_profile_id, and user_attribute_profile_id.
  • Added dpop_signing_alg field to OIDC and Okta connection options (ConnectionDpopSigningAlgEnum).
  • Added api_enable_groups field to ConnectionPropertiesOptions and UpdateConnectionOptions.
  • Added organization_id field to ConnectedAccount.
  • Added ListSynchronizedGroups and Set (replace) operations to the directory provisioning client for managing synchronized groups.
  • Added SynchronizedGroupPayload, ListSynchronizedGroupsResponseContent, and ReplaceSynchronizedGroupsRequestContent types.
  • Added TenantSettingsDynamicClientRegistrationSecurityMode enum.
  • Added SelfServiceProfileSSOTicketEnabledFeatures type.
  • Refactored request/response types to use dedicated structs with explicit field tracking and setter methods across all management endpoints, replacing inline parameter usage.
  • Updated reference.md with documentation for new fields and endpoints.
  • Updated WireMock test mappings for the new directory provisioning endpoints.

📚 References

  • Generated by Fern API code generation

🔬 Testing

  • New WireMock-based tests for ListSynchronizedGroups and Set directory provisioning endpoints.
  • Getter, setter, and explicit field marking tests added for all new types and fields.
  • Enum validation tests added for all new enum types.

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@fern-api fern-api Bot requested a review from a team as a code owner April 22, 2026 05:35
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 22, 2026

Codecov Report

❌ Patch coverage is 91.59503% with 88 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.23%. Comparing base (b67401b) to head (661341c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
management/clients.go 91.15% 32 Missing and 13 partials ⚠️
management/types.go 90.02% 25 Missing and 9 partials ⚠️
...connections/directoryprovisioning/client/client.go 91.54% 4 Missing and 2 partials ⚠️
...ections/directoryprovisioning/client/raw_client.go 92.10% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #755      +/-   ##
==========================================
- Coverage   87.25%   85.23%   -2.03%     
==========================================
  Files         350      350              
  Lines      139272   161461   +22189     
==========================================
+ Hits       121519   137615   +16096     
- Misses      13219    19288    +6069     
- Partials     4534     4558      +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@developerkunal developerkunal changed the title SDK regeneration feat: add client grant defaults, org configuration, session delegation, and DPoP support Apr 22, 2026
developerkunal
developerkunal previously approved these changes Apr 22, 2026
Copy link
Copy Markdown
Contributor

@developerkunal developerkunal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@developerkunal developerkunal force-pushed the fern-bot/2026-04-22_05-35-53_830 branch from 6bbf75a to 661341c Compare April 22, 2026 06:08
Copy link
Copy Markdown
Contributor

@developerkunal developerkunal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@developerkunal developerkunal enabled auto-merge (squash) April 22, 2026 06:10
@developerkunal developerkunal merged commit a4d49a2 into main Apr 22, 2026
6 checks passed
@developerkunal developerkunal deleted the fern-bot/2026-04-22_05-35-53_830 branch April 22, 2026 06:12
@developerkunal developerkunal mentioned this pull request Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants