Repository navigation
feat: add Universal Portals, agent ID on clients, agent subject claims, and SAML Private Key JWT; fix consent signing keys response - #1437
Merged
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-typescript-sdk: 3.107.6
Patches applied (6): - patch-066ff9e0: docs: add v6 migration guide for breaking changes in v6.0.0 (#1368) - patch-d8faf7a2: docs: update v6 migration guide with federatedConnectionsTokensets and federated_connections_access_tokens breaking changes (#1370) - patch-0f7baa6f: fix: auto-stamp SDK_VERSION from package.json during build (#1382) - patch-b942f5d6: docs: add Authentication API migration guide (auth0-auth-js / auth0-server-js) (#1395) - patch-842d2f51: docs: add v7 migration guide (v6 → v7) (#1396) - patch-456afefc: feat: enhance domain validation for ManagementClient and related components Patches with unresolved conflicts (12): - patch-490e5634: feat(management): add sub-package exports and management auth helper (#1373) - patch-74170bb0: Release v6.1.0 (#1381) - patch-4fcb39a4: Release v6.2.0 (#1389) - patch-f9d64134: Release v6.3.0 (#1393) - patch-4d450aa4: Release v6.4.0 (#1401) - patch-d4614ec0: Release v7.0.0 (#1402) - patch-e1e90b89: Release v7.1.0 (#1405) - patch-567042f4: Release v7.2.0 (#1409) - patch-de9f20d2: Release v7.3.0 (#1415) - patch-7750e996: Release v7.4.0 (#1424) - patch-f9566e21: Release v7.5.0 (#1427) - patch-185ac064: Release v7.6.0 (#1430) Run `fern-replay resolve` to apply these customizations.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1437 +/- ##
========================================
Coverage 89.46% 89.47%
========================================
Files 449 451 +2
Lines 22881 23092 +211
Branches 10882 11345 +463
========================================
+ Hits 20471 20661 +190
- Misses 2410 2431 +21
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
ankita10119
approved these changes
Nov 4, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Changes
Regenerates the Management API SDK on
masterfrom the latest stable spec, with Fern generator 3.107.6.This release:
agent_subject_claimson resource servers;oidc_supportto client profile configuration.The core runtime (
core/,errors/,BaseClient.ts) and hand-written code (src/index.ts,wrapper/) are unchanged.Universal Portals
client.portalswith five methods:list():GET /portals; returnsListPortalsResponseContent({ portals: PortalSummary[] }); not paginated;create(...):POST /portals;slug,nameandclientare required;navigation,pagesandcustom_codeare optional;get(id):GET /portals/{id};update(id, ...):PATCH /portals/{id}; all fields optional;navigation,pagesandcustom_codeacceptnull;delete(id):DELETE /portals/{id}.create,get,updateanddelete;createandupdate.Portal(id,name,slug,client?,navigation?,pages?,custom_code?,created_at,updated_at) andPortalSummary(id,name,slug,created_at,updated_at);PortalClientSecretPostRequest(token_endpoint_auth_method: "client_secret_post",client_id,client_secret) for requests. Responses usePortalClientSecretPost, which omitsclient_secret, so the secret is never returned;PortalNavigation(sidebar?: Sidebar), whereSidebaris{ components?: SidebarComponent[] };PortalPagesByType(default?: PageSlug,standard?: PortalPage[]) andPortalPage(title,slug,components?: PageComponent[]);PortalCustomCode(head?), which is only injected when the portal is served from a custom domain;PortalNavigationNullable,PortalPagesByTypeNullable,PortalCustomCodeNullable.type:PageComponent, with 11 variants:page:component:auth0:form;typography:headingandtypography:rich_text;media:image;structure:sectionandstructure:separator;my_organizationdomain table, member management and details edit;my_accountpasskey management and MFA management.SidebarComponent, with 4 variants:sidebar:component:auth0:external_link:v2(label,href,icon?) andinternal_link:v2(label,page_slug,icon?);external_link(url) andinternal_link(to); use the:v2variants instead.PageComponentNoChildrenis the same set asPageComponentwithoutstructure:section. It typesstructure:sectionchildren, so sections can't be nested.structure:sectionrequiresconfig.variantandconfig.children. For themy_organization,my_accountandstructure:separatorvariants,configis optional.component.typenarrowsconfigto the variant's shape.PageComponentAuth0StructureSectionVariantEnum(card|none);PageComponentAuth0StructureSeparatorVariantEnum(dashed|none|solid);Position(left|center|right), the alignment ofmedia:image.OauthScopegainscreate:portals,read:portals,update:portalsanddelete:portals.auth0/portals.Clients – Agent ID
agent_id?: stringonClient,ClientSearchResponse, and the Get / Create / Update / RotateSecretClientResponseContenttypes.clients.create()andclients.update()acceptagent_id?: string | nullto associate an agent with the client (on update,nullremoves the association).clients.list()accepts anagent_idfilter. Per the API docs, it can't be combined with other filters; onlyfields,include_fields,page,per_pageandinclude_totalsare supported alongside it; and checkpoint pagination (from/take) is not supported.Users – consent signing keys response fix
users.listConsentSigningKeys(id)now returns{ keys: ConsentSigningKey[] }instead of a bareConsentSigningKey[], matching the API's actual response body.ListUserConsentSigningKeysResponseContentchanges from a type alias for an array to an interface with a requiredkeysproperty.keysarray is returned when the user has no keys.Other API changes
agent_subject_claims?(off|auth0-v1):ResourceServerAgentSubjectClaimsSchemaEnum);ResourceServerAgentSubjectClaimsResponseEnum).ConnectionOptionsSamlgainstoken_endpoint_auth_method?,token_endpoint_auth_signing_alg?andtoken_endpoint_jwtca_aud_format?, reusing the existing connection token-endpoint enums;connections.keysget,createandrotateJSDoc now lists SAML (samlp) alongside Okta and OIDC;ConnectionTokenEndpointJwtcaAudFormatEnumOidcJSDoc now describesissueras the identity provider's issuer URL (previously "OIDC issuer URL").ClientProfileClientConfigurationgainsoidc_support?: { default_value: { is_allowed, allow_all_scopes?, allowed_scopes? } }, withallowed_scopestyped asprofile|email|address|phone.InternalServerErrorBodytype (not yet referenced by any endpoint).All other changes are additive; no exported declarations or properties are removed or narrowed.
Docs and dependencies
reference.mdregenerated:portalsmethods added;clients.list()examples includeagent_id;connections.keysdescriptions mention SAML (samlp).package.json:./portalsexport entry;package.json/src/management/version.ts: the generator reset the version to7.6.0, reverting the unreleased7.6.1bump from feat: add user consent signing keys, client oidc_support, connection otp_settings, and resource server type #1436.yarn.lockrefreshed with transitive updates only..fern/replay.lockupdated for the new generation.🔬 Testing
wire/portals.test.ts(new, 36 tests): all five endpoints (list6,create8,get7,update8,delete7), covering success and error paths, including 500.wire/users.test.ts: thelistConsentSigningKeysfixture now uses{ keys: [...] }.wire/clients.test.ts:agent_idadded to the list request and the client response fixtures.wire/resourceServers.test.ts:agent_subject_claimsadded to the response fixtures.wire/clientProfiles.test.ts:oidc_supportadded to the client configuration fixtures.unit/stream/Stream.test.ts: the generator removed thePromise<ReadableStream>return type from the null-reconnect stub, which breaks compilation (TS2578 / TS2322). Commitb5d42c5b6crestores it, so there is no net change againstmaster.yarn testpasses 208/208 suites and 4901 tests.tsc --noEmitis clean,yarn buildsucceeds, and lint reports 0 errors (205 existing warnings).📝 Checklist