Skip to content

fix: restore Management client options and tenant_domain - #823

Merged
developerkunal merged 1 commit into
fern-bot/2026-10-27_05-46-04_576from
restore-client-customizations
Oct 27, 2026
Merged

developerkunal merged 1 commit into
fern-bot/2026-10-27_05-46-04_576from
restore-client-customizations

Conversation

@developerkunal

Copy link
Copy Markdown
Contributor

Changes

This restores the hand-written options on Auth0::Management that the latest SDK update dropped, and keeps the tenant_domain option from that update.

  • timeout, headers, and max_retries are optional keyword arguments again. max_retries now defaults to 2, which matches the default already used by the HTTP client, so existing calls behave the same.
  • tenant_domain still builds the base URL when base_url is not set.
  • The require_relative "auth_client" at the end of lib/auth0/client.rb is restored.

Only lib/auth0/client.rb changes in this PR.

References

Builds on #821.

Testing

Checked the constructor option combinations locally. Unit and wire test coverage for these options is not added in this PR.

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of Ruby

Checklist

Keep timeout, headers, and max_retries on Auth0::Management and keep the tenant_domain option from the SDK update. max_retries now defaults to 2, which matches the RawClient default. Also restore the auth_client require.
@developerkunal
developerkunal requested a review from a team as a code owner October 27, 2026 11:37
@developerkunal developerkunal changed the title Restore Management client options and tenant_domain fix: restore Management client options and tenant_domain Oct 27, 2026
@developerkunal
developerkunal merged commit fe34dfe into fern-bot/2026-10-27_05-46-04_576 Oct 27, 2026
3 checks passed
@developerkunal
developerkunal deleted the restore-client-customizations branch October 27, 2026 11:43
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.

1 participant