Skip to content

feat!: add portals, consent signing keys, resource server type, and connection OTP settings - #905

Merged
rmad17 merged 3 commits into
masterfrom
fern-bot/2026-10-27_05-48-23_152
Nov 4, 2026
Merged

rmad17 merged 3 commits into
masterfrom
fern-bot/2026-10-27_05-48-23_152

Conversation

@fern-api

@fern-api fern-api Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the Portals client, user consent signing key management, and database connection OTP settings to the Management API client, extends resource servers and clients, and removes the CAPTCHA policies client and its models.

Breaking Changes ⚠️

  • CAPTCHA policies: client.attack_protection.captcha_policies is removed, along with its policy, match, and action models and the per-provider action settings for Arkose, hCaptcha, Friendly CAPTCHA, reCAPTCHA Enterprise, reCAPTCHA v2, Simple CAPTCHA, and auth challenge. Code that accesses it now raises AttributeError. This release provides no replacement.
  • Experiments: client.experimentation.experiments.create() now requires allocation_strategy. Calls that leave it out raise TypeError. Pass the strategy explicitly, for example allocation_strategy="percentage".

Added

  • Portals: create and manage portals with client.portals.list(), create(), get(), update(), and delete(). A portal has a client, sidebar navigation links, pages built from typed components, and custom <head> code. update() clears navigation, pages, or custom code when you pass None for it.
  • Consent signing keys: list, read, and remove a user's consent signing keys with client.users.list_consent_signing_keys(), get_consent_signing_key(), and delete_consent_signing_key().
  • Client OIDC support in responses: oidc_support is now returned on client responses from get, create, update, list, search, and secret rotation. Client profiles accept and return oidc_support in their client configuration.
  • Resource server type: client.resource_servers.create() and update() accept a type, and resource server responses return it. Resource servers also expose agent_subject_claims.
  • Database connection OTP settings: set one-time password length and expiry separately for email and phone with options.otp_settings on client.connections.create() and update().
  • SAML connections: configure a cross-app access requesting app, and the client credentials and token endpoint settings that go with it. Connection key management documentation now covers SAML connections.
  • Segment filtering: client.experimentation.segments.list() accepts a status filter.
  • Smaller additions: a transaction context on event stream cloud events, agent_id on client search results, and a typed model for internal server error bodies.

Changed

  • Experiment validity: is_valid on experiment responses is now documented as the state at the last update, which can lag later changes.
  • Variation overrides: UpdateVariationOverridesMap now accepts None. Top-level keys merge into stored overrides, a null value removes a key, and None or {} clears all overrides.
  • Tenant settings flags: the dashboard_insights_view flag is documented as deprecated with no effect.

Removed

  • client.attack_protection.captcha_policies and the CAPTCHA policy models listed under Breaking Changes.

@fern-api
fern-api Bot requested a review from a team as a code owner October 27, 2026 05:48
@rmad17 rmad17 changed the title SDK regeneration feat!: add consent signing keys, resource server type, and connection OTP settings Oct 28, 2026
@rmad17 rmad17 changed the title feat!: add consent signing keys, resource server type, and connection OTP settings feat: add consent signing keys, resource server type, and connection OTP settings Oct 28, 2026
fern-api Bot added 2 commits November 4, 2026 03:51
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 5.26.0
Patches applied (1):
  - patch-3bac717a: Restore Auth0 telemetry headers and keep UPGRADING.md (#900)
@fern-api fern-api Bot changed the title feat: add consent signing keys, resource server type, and connection OTP settings SDK regeneration Nov 4, 2026
@fern-api
fern-api Bot force-pushed the fern-bot/2026-10-27_05-48-23_152 branch from 59ad2d6 to ab070eb Compare November 4, 2026 03:51
@rmad17 rmad17 changed the title SDK regeneration feat!: add portals, consent signing keys, resource server type, and connection OTP settings Nov 4, 2026
@rmad17
rmad17 merged commit 336aff1 into master Nov 4, 2026
9 checks passed
@rmad17
rmad17 deleted the fern-bot/2026-10-27_05-48-23_152 branch November 4, 2026 14:02
@rmad17 rmad17 mentioned this pull request Nov 4, 2026
rmad17 added a commit that referenced this pull request Nov 4, 2026
⚠️ **Breaking Changes**
- `management.attack_protection.captcha_policies` removed along with its
policy, match, and action models and the per-provider action settings
for Arkose, hCaptcha, Friendly CAPTCHA, reCAPTCHA Enterprise, reCAPTCHA
v2, Simple CAPTCHA, and auth challenge. Code that accesses it now raises
`AttributeError`, and there is no replacement in this release.
`management.experimentation.experiments.create()` now requires
`allocation_strategy`, so calls that omit it raise `TypeError`. Pass it
explicitly, for example `allocation_strategy="percentage"`
[\#905](#905)
([fern-api[bot]](https://github.com/apps/fern-api))

**Added**
- Portals client (`management.portals.list()`, `create()`, `get()`,
`update()`, `delete()`), user consent signing key management
(`management.users.list_consent_signing_keys()`,
`get_consent_signing_key()`, `delete_consent_signing_key()`), resource
server `type` on `create()` and `update()` and in responses,
`agent_subject_claims` on resource servers, `oidc_support` on client
responses and client profiles, database connection
`options.otp_settings` for email and phone OTP length and expiry, SAML
connection cross-app access requesting app with client credentials and
token endpoint settings, a `status` filter on
`management.experimentation.segments.list()`, a `transaction` context on
event stream cloud events, and `agent_id` on client search results
[\#905](#905)
([fern-api[bot]](https://github.com/apps/fern-api))

**Changed**
- `UpdateVariationOverridesMap` now accepts `None`. Top-level keys merge
into the stored overrides, a `null` value removes a key, and `None` or
`{}` clears all overrides. The tenant settings flag
`dashboard_insights_view` is documented as deprecated with no effect.
`is_valid` on experiment responses is documented as the state at the
last update, which can lag later changes
[\#905](#905)
([fern-api[bot]](https://github.com/apps/fern-api))
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.

2 participants