Skip to content

feat: add support for Keys Network ACLs, 3P client access, XAA connection profiles and nullable response fields now OptionalNullable - #918

Merged
tanya732 merged 3 commits into
masterfrom
fern-bot/2026-08-18_05-55-20_952
Aug 19, 2026
Merged

feat: add support for Keys Network ACLs, 3P client access, XAA connection profiles and nullable response fields now OptionalNullable#918
tanya732 merged 3 commits into
masterfrom
fern-bot/2026-08-18_05-55-20_952

Conversation

@fern-api

@fern-apifern-apiBot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Changes

New API surface

  • Keys Network ACLs - new keys().networkAcls() client with list(), create(), and get(id) against /keys/network-acls, plus NetworkAclKey, NetworkAclKeyAlgorithmEnum, CreateKeysNetworkAclsRequestContent / ResponseContent, and GetAllKeysNetworkAclsResponseContent. New OauthScope constants: read:network_acl_keys and create:network_acl_keys.
  • Connection profile cross-app access - ConnectionProfile.crossAppAccessResourceApp with ConnectionProfileCrossAppAccessResourceApp and status enums.
  • Third-party client access - thirdPartyClientAccess on the ClientMyOrganization response/patch/post configurations, with allowed-values and default-value enums.
  • Connection options - useOauthSpecScope on ConnectionOptionsOidc, ConnectionOptionsCommonOidc, ConnectionOptionsOkta, ConnectionPropertiesOptions, and UpdateConnectionOptions.
  • Network ACL rules - matchAll on NetworkAclRule.

📢 Nullability model change (breaking for readers)

Date and nullable fields on sessions, refresh tokens, and flow action params move from Optional<T> to OptionalNullable<T>, so the SDK can distinguish "absent" from "explicit null":

  • GetSessionResponseContent / SessionResponseContent / UpdateSessionResponseContent: created_at, updated_at, authenticated_at, idle_expires_at, expires_at, last_interacted_at
  • GetRefreshTokenResponseContent / RefreshTokenResponseContent / UpdateRefreshTokenResponseContent: created_at, idle_expires_at, expires_at, last_exchanged_at
  • SessionAuthenticationSignal: timestamp
  • FlowActionFlowMapValueParams: fallback

Callers reading these fields need .toOptional() to restore the previous Optional<T> API:

// before
Optional<SessionDate> created = session.getCreatedAt();
// after
Optional<SessionDate> created = session.getCreatedAt().toOptional();

Builder setters retain Optional<T> overloads, so write paths are unaffected.

Error handling

  • RawFlowsClient: added 409 ConflictError and 400 BadRequestError branches.
  • RawFormsClient: added 400 BadRequestError and 404 NotFoundError branches.

References

Generated from the Auth0 API definition.

Testing

  • ./gradlew assemble check passes locally.
  • New generated KeysNetworkAclsWireTest covers list / create / get.
  • Wire-test fixtures updated for third_party_client_access, cross_app_access_resource_app, and match_all.

Checklist

  • All new/changed code is covered by generated tests
  • All active GitHub CI checks pass
  • Breaking change — read-path signature change on 32 getters across 8 types. Needs a version-bump decision and a v4_MIGRATION_GUIDE.md entry before merge.

@fern-api
fern-apiBot requested a review from a team as a code ownerAugust 18, 2026 05:55
fern-apiBot added 2 commits August 18, 2026 10:50
Generated by Fern
CLI Version: unknown
Generators:
- fernapi/fern-java-sdk: 4.11.1
@fern-api
fern-apiBotforce-pushed the fern-bot/2026-08-18_05-55-20_952 branch from b870382 to 7a39e49CompareAugust 18, 2026 10:50
@tanya732tanya732 changed the title SDK regeneration feat: add support for Keys Network ACLs, 3P client access, XAA connection profiles and nullable response fields now OptionalNullableAug 19, 2026
@tanya732
tanya732 merged commit b385363 into masterAug 19, 2026
7 checks passed
@tanya732
tanya732 deleted the fern-bot/2026-08-18_05-55-20_952 branch August 19, 2026 11:44
Sign up for freeto 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.

1 participant

@tanya732