From 31ebd7f83b3f85edd01b5092aae06973713ab74e Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Fri, 11 Sep 2026 02:45:20 +0000
Subject: [PATCH 1/3] [fern-generated] Update SDK
Generated by Fern
CLI Version: unknown
Generators:
- fernapi/fern-ruby-sdk: 1.17.8
---
.fern/metadata.json | 9 +-
lib/auth0.rb | 53 +-
lib/auth0/client.rb | 41 +-
.../types/create_client_request_content.rb | 2 +
.../types/update_client_request_content.rb | 2 +
lib/auth0/experimentation/client.rb | 19 +
.../experimentation/experiments/client.rb | 57 ++
.../types/advance_ramp_request_content.rb | 15 +
lib/auth0/guardian/client.rb | 66 +++
lib/auth0/guardian/factors/client.rb | 5 +
lib/auth0/guardian/factors/email/client.rb | 84 +++
...t_email_factor_settings_request_content.rb | 17 +
lib/auth0/guardian/factors/phone/client.rb | 66 +++
...t_phone_factor_settings_request_content.rb | 17 +
.../set_guardian_settings_request_content.rb | 17 +
lib/auth0/organization_templates/client.rb | 220 --------
...e_organization_template_request_content.rb | 35 --
...ganization_templates_request_parameters.rb | 13 -
...mplate_organizations_request_parameters.rb | 15 -
...e_organization_template_request_content.rb | 37 --
lib/auth0/organizations/client.rb | 71 +++
...search_organizations_request_parameters.rb | 19 +
lib/auth0/resource_servers/client.rb | 63 +++
.../create_resource_server_request_content.rb | 2 +
...rch_resource_servers_request_parameters.rb | 23 +
.../update_resource_server_request_content.rb | 2 +
.../types/advance_ramp_response_content.rb | 15 +
lib/auth0/types/anonymous_sessions.rb | 10 +
lib/auth0/types/client.rb | 6 +
.../connection_identity_provider_enum.rb | 17 +-
lib/auth0/types/connection_strategy_enum.rb | 17 +-
lib/auth0/types/create_anonymous_sessions.rb | 10 +
.../types/create_client_response_content.rb | 6 +
...create_resource_server_response_content.rb | 2 +
.../types/get_client_response_content.rb | 6 +
..._email_factor_settings_response_content.rb | 11 +
.../get_guardian_settings_response_content.rb | 15 +
..._phone_factor_settings_response_content.rb | 11 +
.../get_resource_server_response_content.rb | 2 +
...on_templates_paginated_response_content.rb | 11 -
lib/auth0/types/oauth_scope.rb | 3 +-
.../types/organization_sort_field_enum.rb | 13 +
...nization_template_assigned_organization.rb | 10 -
lib/auth0/types/resource_server.rb | 2 +
.../types/resource_server_search_response.rb | 51 ++
.../types/resource_server_sort_field_enum.rb | 13 +
...ource_server_subject_type_authorization.rb | 2 +
...bject_type_authorization_anonymous_user.rb | 10 +
...uthorization_anonymous_user_policy_enum.rb | 12 +
.../rotate_client_secret_response_content.rb | 6 +
lib/auth0/types/search_organization.rb | 23 +
...ganizations_paginated_response_content.rb} | 6 +-
lib/auth0/types/search_parser_enum.rb | 12 +
...earch_resource_servers_response_content.rb | 11 +
..._email_factor_settings_response_content.rb | 11 +
.../set_guardian_settings_response_content.rb | 15 +
..._phone_factor_settings_response_content.rb | 11 +
lib/auth0/types/tenant_settings_sessions.rb | 2 +
.../tenant_settings_sessions_anonymous.rb | 12 +
lib/auth0/types/update_anonymous_sessions.rb | 10 +
.../types/update_client_response_content.rb | 6 +
...update_resource_server_response_content.rb | 2 +
test/wire/experimentation_experiments_test.rb | 36 ++
test/wire/guardian_factors_email_test.rb | 54 ++
test/wire/guardian_factors_phone_test.rb | 40 ++
test/wire/guardian_test.rb | 56 ++
test/wire/organization_templates_test.rb | 127 -----
test/wire/organizations_test.rb | 26 +
test/wire/resource_servers_test.rb | 28 +
wiremock/wiremock-mappings.json | 516 +++++++++++-------
70 files changed, 1508 insertions(+), 727 deletions(-)
create mode 100644 lib/auth0/experimentation/client.rb
create mode 100644 lib/auth0/experimentation/experiments/client.rb
create mode 100644 lib/auth0/experimentation/experiments/types/advance_ramp_request_content.rb
create mode 100644 lib/auth0/guardian/factors/email/client.rb
create mode 100644 lib/auth0/guardian/factors/email/types/set_email_factor_settings_request_content.rb
create mode 100644 lib/auth0/guardian/factors/phone/types/set_phone_factor_settings_request_content.rb
create mode 100644 lib/auth0/guardian/types/set_guardian_settings_request_content.rb
delete mode 100644 lib/auth0/organization_templates/client.rb
delete mode 100644 lib/auth0/organization_templates/types/create_organization_template_request_content.rb
delete mode 100644 lib/auth0/organization_templates/types/list_organization_templates_request_parameters.rb
delete mode 100644 lib/auth0/organization_templates/types/list_template_organizations_request_parameters.rb
delete mode 100644 lib/auth0/organization_templates/types/update_organization_template_request_content.rb
create mode 100644 lib/auth0/organizations/types/search_organizations_request_parameters.rb
create mode 100644 lib/auth0/resource_servers/types/search_resource_servers_request_parameters.rb
create mode 100644 lib/auth0/types/advance_ramp_response_content.rb
create mode 100644 lib/auth0/types/anonymous_sessions.rb
create mode 100644 lib/auth0/types/create_anonymous_sessions.rb
create mode 100644 lib/auth0/types/get_email_factor_settings_response_content.rb
create mode 100644 lib/auth0/types/get_guardian_settings_response_content.rb
create mode 100644 lib/auth0/types/get_phone_factor_settings_response_content.rb
delete mode 100644 lib/auth0/types/list_organization_templates_paginated_response_content.rb
create mode 100644 lib/auth0/types/organization_sort_field_enum.rb
delete mode 100644 lib/auth0/types/organization_template_assigned_organization.rb
create mode 100644 lib/auth0/types/resource_server_search_response.rb
create mode 100644 lib/auth0/types/resource_server_sort_field_enum.rb
create mode 100644 lib/auth0/types/resource_server_subject_type_authorization_anonymous_user.rb
create mode 100644 lib/auth0/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.rb
create mode 100644 lib/auth0/types/search_organization.rb
rename lib/auth0/types/{list_template_organizations_paginated_response_content.rb => search_organizations_paginated_response_content.rb} (57%)
create mode 100644 lib/auth0/types/search_parser_enum.rb
create mode 100644 lib/auth0/types/search_resource_servers_response_content.rb
create mode 100644 lib/auth0/types/set_email_factor_settings_response_content.rb
create mode 100644 lib/auth0/types/set_guardian_settings_response_content.rb
create mode 100644 lib/auth0/types/set_phone_factor_settings_response_content.rb
create mode 100644 lib/auth0/types/tenant_settings_sessions_anonymous.rb
create mode 100644 lib/auth0/types/update_anonymous_sessions.rb
create mode 100644 test/wire/experimentation_experiments_test.rb
create mode 100644 test/wire/guardian_factors_email_test.rb
create mode 100644 test/wire/guardian_test.rb
delete mode 100644 test/wire/organization_templates_test.rb
diff --git a/.fern/metadata.json b/.fern/metadata.json
index a8dda9b3c..aef127af9 100644
--- a/.fern/metadata.json
+++ b/.fern/metadata.json
@@ -10,8 +10,9 @@
"offsetSemantics": "page-index",
"useDefaultRequestParameterValues": true
},
- "originGitCommit": "7f24c4964990643851db215c3e2f6ff220fca35b",
- "originGitCommitIsDirty": true,
- "invokedBy": "manual",
- "sdkVersion": "6.1.1"
+ "originGitCommit": "147c530f85f27d4dbbec076dde0bcd7a4b17ed5c",
+ "originGitCommitIsDirty": false,
+ "invokedBy": "ci",
+ "ciProvider": "github",
+ "sdkVersion": "6.2.1"
}
\ No newline at end of file
diff --git a/lib/auth0.rb b/lib/auth0.rb
index 2648ce5f2..0f54326f4 100644
--- a/lib/auth0.rb
+++ b/lib/auth0.rb
@@ -131,9 +131,11 @@
require_relative "auth0/types/acul_configs"
require_relative "auth0/types/organization_connection_information"
require_relative "auth0/types/add_organization_connection_response_content"
+require_relative "auth0/types/advance_ramp_response_content"
require_relative "auth0/types/agent_metadata"
require_relative "auth0/types/agent_response_content"
require_relative "auth0/types/anomaly_ip_format"
+require_relative "auth0/types/anonymous_sessions"
require_relative "auth0/types/app_metadata"
require_relative "auth0/types/assessors_type_enum"
require_relative "auth0/types/organization_usage_enum"
@@ -933,6 +935,7 @@
require_relative "auth0/types/create_action_module_response_content"
require_relative "auth0/types/create_action_module_version_response_content"
require_relative "auth0/types/create_action_response_content"
+require_relative "auth0/types/create_anonymous_sessions"
require_relative "auth0/types/custom_provider_delivery_method_enum"
require_relative "auth0/types/custom_provider_configuration"
require_relative "auth0/types/phone_provider_channel_enum"
@@ -1816,6 +1819,8 @@
require_relative "auth0/types/resource_server_proof_of_possession_required_for_enum"
require_relative "auth0/types/resource_server_proof_of_possession"
require_relative "auth0/types/resource_server_scope"
+require_relative "auth0/types/resource_server_subject_type_authorization_anonymous_user_policy_enum"
+require_relative "auth0/types/resource_server_subject_type_authorization_anonymous_user"
require_relative "auth0/types/resource_server_subject_type_authorization_client_policy_enum"
require_relative "auth0/types/resource_server_subject_type_authorization_client"
require_relative "auth0/types/resource_server_subject_type_authorization_user_policy_enum"
@@ -3262,6 +3267,7 @@
require_relative "auth0/types/get_default_domain_response_content"
require_relative "auth0/types/get_directory_provisioning_default_mapping_response_content"
require_relative "auth0/types/get_directory_provisioning_response_content"
+require_relative "auth0/types/get_email_factor_settings_response_content"
require_relative "auth0/types/get_email_provider_response_content"
require_relative "auth0/types/get_email_template_response_content"
require_relative "auth0/types/get_encryption_key_response_content"
@@ -3295,6 +3301,7 @@
require_relative "auth0/types/get_guardian_factors_provider_sms_response_content"
require_relative "auth0/types/get_guardian_factors_provider_sms_twilio_response_content"
require_relative "auth0/types/get_guardian_factors_provider_sns_response_content"
+require_relative "auth0/types/get_guardian_settings_response_content"
require_relative "auth0/types/get_hook_response_content"
require_relative "auth0/types/get_hook_secret_response_content"
require_relative "auth0/types/get_job_summary"
@@ -3332,6 +3339,7 @@
require_relative "auth0/types/get_organization_invitation_response_content"
require_relative "auth0/types/get_organization_response_content"
require_relative "auth0/types/get_partials_response_content"
+require_relative "auth0/types/get_phone_factor_settings_response_content"
require_relative "auth0/types/phone_provider_protection_backoff_strategy_enum"
require_relative "auth0/types/get_phone_provider_protection_response_content"
require_relative "auth0/types/get_phone_template_response_content"
@@ -3397,6 +3405,7 @@
require_relative "auth0/types/tenant_settings_nullable_security_headers"
require_relative "auth0/types/tenant_settings_password_page"
require_relative "auth0/types/tenant_settings_resource_parameter_profile"
+require_relative "auth0/types/tenant_settings_sessions_anonymous"
require_relative "auth0/types/tenant_settings_sessions"
require_relative "auth0/types/get_tenant_settings_response_content"
require_relative "auth0/types/get_token_exchange_profile_response_content"
@@ -3483,14 +3492,6 @@
require_relative "auth0/types/list_organization_role_groups_response_content"
require_relative "auth0/types/role_member"
require_relative "auth0/types/list_organization_role_members_response_content"
-require_relative "auth0/types/organization_deletion_behavior_enum"
-require_relative "auth0/types/organization_template_allowed_strategy_enum"
-require_relative "auth0/types/organization_template_role_visibility_enum"
-require_relative "auth0/types/organization_template_role_visibility_override"
-require_relative "auth0/types/organization_template_role_visibility_policy"
-require_relative "auth0/types/organization_template_use_for_organization_discovery"
-require_relative "auth0/types/organization_template"
-require_relative "auth0/types/list_organization_templates_paginated_response_content"
require_relative "auth0/types/list_organizations_paginated_response_content"
require_relative "auth0/types/phone_template"
require_relative "auth0/types/list_phone_templates_response_content"
@@ -3514,8 +3515,6 @@
require_relative "auth0/types/list_self_service_profiles_paginated_response_content"
require_relative "auth0/types/synchronized_group_payload"
require_relative "auth0/types/list_synchronized_groups_response_content"
-require_relative "auth0/types/organization_template_assigned_organization"
-require_relative "auth0/types/list_template_organizations_paginated_response_content"
require_relative "auth0/types/token_exchange_profile_response_content"
require_relative "auth0/types/list_token_exchange_profile_response_content"
require_relative "auth0/types/user_attribute_profile_template_item"
@@ -3561,6 +3560,14 @@
require_relative "auth0/types/not_found_schema_error"
require_relative "auth0/types/not_found_schema"
require_relative "auth0/types/organization_access_level_enum_with_null"
+require_relative "auth0/types/organization_deletion_behavior_enum"
+require_relative "auth0/types/organization_sort_field_enum"
+require_relative "auth0/types/organization_template_allowed_strategy_enum"
+require_relative "auth0/types/organization_template_role_visibility_enum"
+require_relative "auth0/types/organization_template_role_visibility_override"
+require_relative "auth0/types/organization_template_role_visibility_policy"
+require_relative "auth0/types/organization_template_use_for_organization_discovery"
+require_relative "auth0/types/organization_template"
require_relative "auth0/types/partial_groups_enum"
require_relative "auth0/types/partial_phone_template_content"
require_relative "auth0/types/patch_client_credential_response_content"
@@ -3588,6 +3595,8 @@
require_relative "auth0/types/register_cimd_client_response_content"
require_relative "auth0/types/reset_phone_template_request_content"
require_relative "auth0/types/reset_phone_template_response_content"
+require_relative "auth0/types/resource_server_search_response"
+require_relative "auth0/types/resource_server_sort_field_enum"
require_relative "auth0/types/resource_server_token_dialect_schema_enum"
require_relative "auth0/types/resource_server_verification_key_pem_certificate"
require_relative "auth0/types/revoked_signing_keys_response_content"
@@ -3599,6 +3608,10 @@
require_relative "auth0/types/rotate_signing_keys_response_content"
require_relative "auth0/types/rules_config"
require_relative "auth0/types/search_engine_versions_enum"
+require_relative "auth0/types/search_organization"
+require_relative "auth0/types/search_organizations_paginated_response_content"
+require_relative "auth0/types/search_parser_enum"
+require_relative "auth0/types/search_resource_servers_response_content"
require_relative "auth0/types/self_service_profile_branding"
require_relative "auth0/types/self_service_profile_custom_text_language_enum"
require_relative "auth0/types/self_service_profile_custom_text_page_enum"
@@ -3617,6 +3630,7 @@
require_relative "auth0/types/self_service_profile_user_attributes"
require_relative "auth0/types/session_actor_claim_value"
require_relative "auth0/types/set_custom_signing_keys_response_content"
+require_relative "auth0/types/set_email_factor_settings_response_content"
require_relative "auth0/types/set_email_template_response_content"
require_relative "auth0/types/set_guardian_factor_duo_settings_response_content"
require_relative "auth0/types/set_guardian_factor_phone_message_types_response_content"
@@ -3634,8 +3648,10 @@
require_relative "auth0/types/set_guardian_factors_provider_sms_twilio_response_content"
require_relative "auth0/types/set_guardian_policies_request_content"
require_relative "auth0/types/set_guardian_policies_response_content"
+require_relative "auth0/types/set_guardian_settings_response_content"
require_relative "auth0/types/set_network_acls_response_content"
require_relative "auth0/types/set_partials_request_content"
+require_relative "auth0/types/set_phone_factor_settings_response_content"
require_relative "auth0/types/set_rules_config_response_content"
require_relative "auth0/types/set_self_service_profile_custom_text_request_content"
require_relative "auth0/types/set_self_service_profile_custom_text_response_content"
@@ -3662,6 +3678,7 @@
require_relative "auth0/types/update_action_module_response_content"
require_relative "auth0/types/update_action_response_content"
require_relative "auth0/types/update_acul_response_content"
+require_relative "auth0/types/update_anonymous_sessions"
require_relative "auth0/types/update_attack_protection_captcha_response_content"
require_relative "auth0/types/update_bot_detection_settings_response_content"
require_relative "auth0/types/update_branding_page_background"
@@ -3859,6 +3876,8 @@
require_relative "auth0/user_grants/types/delete_user_grant_by_user_id_request_parameters"
require_relative "auth0/groups/client"
require_relative "auth0/groups/types/list_groups_request_parameters"
+require_relative "auth0/guardian/client"
+require_relative "auth0/guardian/types/set_guardian_settings_request_content"
require_relative "auth0/hooks/client"
require_relative "auth0/hooks/types/list_hooks_request_parameters"
require_relative "auth0/hooks/types/create_hook_request_content"
@@ -3874,14 +3893,10 @@
require_relative "auth0/network_acls/types/create_network_acl_request_content"
require_relative "auth0/network_acls/types/set_network_acl_request_content"
require_relative "auth0/network_acls/types/update_network_acl_request_content"
-require_relative "auth0/organization_templates/client"
-require_relative "auth0/organization_templates/types/list_organization_templates_request_parameters"
-require_relative "auth0/organization_templates/types/create_organization_template_request_content"
-require_relative "auth0/organization_templates/types/update_organization_template_request_content"
-require_relative "auth0/organization_templates/types/list_template_organizations_request_parameters"
require_relative "auth0/organizations/client"
require_relative "auth0/organizations/types/list_organizations_request_parameters"
require_relative "auth0/organizations/types/create_organization_request_content"
+require_relative "auth0/organizations/types/search_organizations_request_parameters"
require_relative "auth0/organizations/types/update_organization_request_content"
require_relative "auth0/prompts/client"
require_relative "auth0/prompts/types/update_settings_request_content"
@@ -3896,6 +3911,7 @@
require_relative "auth0/resource_servers/client"
require_relative "auth0/resource_servers/types/list_resource_server_request_parameters"
require_relative "auth0/resource_servers/types/create_resource_server_request_content"
+require_relative "auth0/resource_servers/types/search_resource_servers_request_parameters"
require_relative "auth0/resource_servers/types/get_resource_server_request_parameters"
require_relative "auth0/resource_servers/types/update_resource_server_request_content"
require_relative "auth0/roles/client"
@@ -4019,6 +4035,9 @@
require_relative "auth0/event_streams/deliveries/types/list_event_stream_deliveries_request_parameters"
require_relative "auth0/event_streams/redeliveries/client"
require_relative "auth0/event_streams/redeliveries/types/create_event_stream_redelivery_request_content"
+require_relative "auth0/experimentation/client"
+require_relative "auth0/experimentation/experiments/client"
+require_relative "auth0/experimentation/experiments/types/advance_ramp_request_content"
require_relative "auth0/flows/executions/client"
require_relative "auth0/flows/executions/types/list_flow_executions_request_parameters"
require_relative "auth0/flows/executions/types/get_flow_execution_request_parameters"
@@ -4032,16 +4051,18 @@
require_relative "auth0/groups/roles/types/list_group_roles_request_parameters"
require_relative "auth0/groups/roles/types/create_group_roles_request_parameters"
require_relative "auth0/groups/roles/types/delete_group_roles_request_content"
-require_relative "auth0/guardian/client"
require_relative "auth0/guardian/enrollments/client"
require_relative "auth0/guardian/enrollments/types/create_guardian_enrollment_ticket_request_content"
require_relative "auth0/guardian/factors/client"
require_relative "auth0/guardian/factors/types/set_guardian_factor_request_content"
require_relative "auth0/guardian/policies/client"
+require_relative "auth0/guardian/factors/email/client"
+require_relative "auth0/guardian/factors/email/types/set_email_factor_settings_request_content"
require_relative "auth0/guardian/factors/phone/client"
require_relative "auth0/guardian/factors/phone/types/set_guardian_factor_phone_message_types_request_content"
require_relative "auth0/guardian/factors/phone/types/set_guardian_factors_provider_phone_twilio_request_content"
require_relative "auth0/guardian/factors/phone/types/set_guardian_factors_provider_phone_request_content"
+require_relative "auth0/guardian/factors/phone/types/set_phone_factor_settings_request_content"
require_relative "auth0/guardian/factors/phone/types/set_guardian_factor_phone_templates_request_content"
require_relative "auth0/guardian/factors/push_notification/client"
require_relative "auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_apns_request_content"
diff --git a/lib/auth0/client.rb b/lib/auth0/client.rb
index 024873fd9..ac5abc562 100644
--- a/lib/auth0/client.rb
+++ b/lib/auth0/client.rb
@@ -4,23 +4,24 @@ module Auth0
class Management
# @param token [String]
# @param base_url [String, nil]
- # @param timeout [Float, nil] Request timeout in seconds.
- # @param max_retries [Integer, nil] Maximum number of request retries.
- # @param headers [Hash, nil] Additional headers to include in requests.
+ # @param tenant_domain [String, nil]
+ # @param max_retries [Integer]
#
# @return [void]
- def initialize(token:, base_url: nil, timeout: nil, max_retries: nil, headers: nil)
- raw_client_opts = {
+ def initialize(token:, base_url: nil, tenant_domain: nil, max_retries: 2)
+ if base_url.nil? && (!tenant_domain.nil?)
+ tenant_domain_value = tenant_domain.nil? ? "{TENANT}.auth0.com" : tenant_domain
+ base_url = "https://#{tenant_domain_value}/api/v2"
+ end
+
+ @raw_client = Auth0::Internal::Http::RawClient.new(
base_url: base_url || Auth0::Environment::DEFAULT,
headers: {
"X-Fern-Language" => "Ruby",
Authorization: "Bearer #{token}"
- }.merge(headers || {})
- }
- raw_client_opts[:timeout] = timeout if timeout
- raw_client_opts[:max_retries] = max_retries if max_retries
-
- @raw_client = Auth0::Internal::Http::RawClient.new(**raw_client_opts)
+ },
+ max_retries: max_retries
+ )
end
# @return [Auth0::Actions::Client]
@@ -103,6 +104,11 @@ def groups
@groups ||= Auth0::Groups::Client.new(client: @raw_client)
end
+ # @return [Auth0::Guardian::Client]
+ def guardian
+ @guardian ||= Auth0::Guardian::Client.new(client: @raw_client)
+ end
+
# @return [Auth0::Hooks::Client]
def hooks
@hooks ||= Auth0::Hooks::Client.new(client: @raw_client)
@@ -128,11 +134,6 @@ def network_acls
@network_acls ||= Auth0::NetworkACLs::Client.new(client: @raw_client)
end
- # @return [Auth0::OrganizationTemplates::Client]
- def organization_templates
- @organization_templates ||= Auth0::OrganizationTemplates::Client.new(client: @raw_client)
- end
-
# @return [Auth0::Organizations::Client]
def organizations
@organizations ||= Auth0::Organizations::Client.new(client: @raw_client)
@@ -233,9 +234,9 @@ def emails
@emails ||= Auth0::Emails::Client.new(client: @raw_client)
end
- # @return [Auth0::Guardian::Client]
- def guardian
- @guardian ||= Auth0::Guardian::Client.new(client: @raw_client)
+ # @return [Auth0::Experimentation::Client]
+ def experimentation
+ @experimentation ||= Auth0::Experimentation::Client.new(client: @raw_client)
end
# @return [Auth0::Keys::Client]
@@ -259,5 +260,3 @@ def verifiable_credentials
end
end
end
-
-require_relative "auth_client"
diff --git a/lib/auth0/clients/types/create_client_request_content.rb b/lib/auth0/clients/types/create_client_request_content.rb
index 3f26632a9..16897caa4 100644
--- a/lib/auth0/clients/types/create_client_request_content.rb
+++ b/lib/auth0/clients/types/create_client_request_content.rb
@@ -106,6 +106,8 @@ class CreateClientRequestContent < Internal::Types::Model
field :identity_assertion_authorization_grant, -> { Auth0::Types::CreateIdentityAssertionAuthorizationGrant }, optional: true, nullable: false
+ field :anonymous_sessions, -> { Auth0::Types::CreateAnonymousSessions }, optional: true, nullable: false
+
field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
diff --git a/lib/auth0/clients/types/update_client_request_content.rb b/lib/auth0/clients/types/update_client_request_content.rb
index 15d58ee68..a881d2dc3 100644
--- a/lib/auth0/clients/types/update_client_request_content.rb
+++ b/lib/auth0/clients/types/update_client_request_content.rb
@@ -66,6 +66,8 @@ class UpdateClientRequestContent < Internal::Types::Model
field :identity_assertion_authorization_grant, -> { Auth0::Types::UpdateIdentityAssertionAuthorizationGrant }, optional: true, nullable: false
+ field :anonymous_sessions, -> { Auth0::Types::UpdateAnonymousSessions }, optional: true, nullable: false
+
field :form_template, -> { String }, optional: true, nullable: false
field :addons, -> { Auth0::Types::ClientAddons }, optional: true, nullable: false
diff --git a/lib/auth0/experimentation/client.rb b/lib/auth0/experimentation/client.rb
new file mode 100644
index 000000000..66cc42948
--- /dev/null
+++ b/lib/auth0/experimentation/client.rb
@@ -0,0 +1,19 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Experimentation
+ class Client
+ # @param client [Auth0::Internal::Http::RawClient]
+ #
+ # @return [void]
+ def initialize(client:)
+ @client = client
+ end
+
+ # @return [Auth0::Experiments::Client]
+ def experiments
+ @experiments ||= Auth0::Experimentation::Experiments::Client.new(client: @client)
+ end
+ end
+ end
+end
diff --git a/lib/auth0/experimentation/experiments/client.rb b/lib/auth0/experimentation/experiments/client.rb
new file mode 100644
index 000000000..0c65694bc
--- /dev/null
+++ b/lib/auth0/experimentation/experiments/client.rb
@@ -0,0 +1,57 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Experimentation
+ module Experiments
+ class Client
+ # @param client [Auth0::Internal::Http::RawClient]
+ #
+ # @return [void]
+ def initialize(client:)
+ @client = client
+ end
+
+ # Increments the current ramp index to the requested target level. Up-only: the target must be the immediate
+ # next level in the schedule. Idempotent: calling with the current level returns success without writing
+ # anything.
+ #
+ # @param request_options [Hash]
+ # @param params [Auth0::Experimentation::Experiments::Types::AdvanceRampRequestContent]
+ # @option request_options [String] :base_url
+ # @option request_options [Hash{String => Object}] :additional_headers
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
+ # @option request_options [Integer] :timeout_in_seconds
+ # @option params [String] :id
+ #
+ # @return [Auth0::Types::AdvanceRampResponseContent]
+ def advance_ramp(request_options: {}, **params)
+ params = Auth0::Internal::Types::Utils.normalize_keys(params)
+ request_data = Auth0::Experimentation::Experiments::Types::AdvanceRampRequestContent.new(params).to_h
+ non_body_param_names = %w[id]
+ body = request_data.except(*non_body_param_names)
+
+ request = Auth0::Internal::JSON::Request.new(
+ base_url: request_options[:base_url],
+ method: "POST",
+ path: "experimentation/experiments/#{URI.encode_uri_component(params[:id].to_s)}/advance-ramp",
+ body: body,
+ request_options: request_options
+ )
+ begin
+ response = @client.send(request)
+ rescue Net::HTTPRequestTimeout
+ raise Auth0::Errors::TimeoutError
+ end
+ code = response.code.to_i
+ if code.between?(200, 299)
+ Auth0::Types::AdvanceRampResponseContent.load(response.body)
+ else
+ error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
+ raise error_class.new(response.body, code: code)
+ end
+ end
+ end
+ end
+ end
+end
diff --git a/lib/auth0/experimentation/experiments/types/advance_ramp_request_content.rb b/lib/auth0/experimentation/experiments/types/advance_ramp_request_content.rb
new file mode 100644
index 000000000..42da12388
--- /dev/null
+++ b/lib/auth0/experimentation/experiments/types/advance_ramp_request_content.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Experimentation
+ module Experiments
+ module Types
+ class AdvanceRampRequestContent < Internal::Types::Model
+ field :id, -> { String }, optional: false, nullable: false
+
+ field :target_level, -> { Integer }, optional: false, nullable: false
+ end
+ end
+ end
+ end
+end
diff --git a/lib/auth0/guardian/client.rb b/lib/auth0/guardian/client.rb
index b99a82c4c..93375bb0c 100644
--- a/lib/auth0/guardian/client.rb
+++ b/lib/auth0/guardian/client.rb
@@ -10,6 +10,72 @@ def initialize(client:)
@client = client
end
+ # TODO: Link this endpoint to relevant documentation when available.
+ #
+ # @param request_options [Hash]
+ # @param _params [Hash]
+ # @option request_options [String] :base_url
+ # @option request_options [Hash{String => Object}] :additional_headers
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
+ # @option request_options [Integer] :timeout_in_seconds
+ #
+ # @return [Auth0::Types::GetGuardianSettingsResponseContent]
+ def get(request_options: {}, **_params)
+ request = Auth0::Internal::JSON::Request.new(
+ base_url: request_options[:base_url],
+ method: "GET",
+ path: "guardian/settings",
+ request_options: request_options
+ )
+ begin
+ response = @client.send(request)
+ rescue Net::HTTPRequestTimeout
+ raise Auth0::Errors::TimeoutError
+ end
+ code = response.code.to_i
+ if code.between?(200, 299)
+ Auth0::Types::GetGuardianSettingsResponseContent.load(response.body)
+ else
+ error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
+ raise error_class.new(response.body, code: code)
+ end
+ end
+
+ # Update a tenant's guardian settings such as Remember Me
+ #
+ # @param request_options [Hash]
+ # @param params [Auth0::Guardian::Types::SetGuardianSettingsRequestContent]
+ # @option request_options [String] :base_url
+ # @option request_options [Hash{String => Object}] :additional_headers
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
+ # @option request_options [Integer] :timeout_in_seconds
+ #
+ # @return [Auth0::Types::SetGuardianSettingsResponseContent]
+ def set(request_options: {}, **params)
+ params = Auth0::Internal::Types::Utils.normalize_keys(params)
+ request = Auth0::Internal::JSON::Request.new(
+ base_url: request_options[:base_url],
+ method: "PUT",
+ path: "guardian/settings",
+ body: Auth0::Guardian::Types::SetGuardianSettingsRequestContent.new(params).to_h,
+ request_options: request_options
+ )
+ begin
+ response = @client.send(request)
+ rescue Net::HTTPRequestTimeout
+ raise Auth0::Errors::TimeoutError
+ end
+ code = response.code.to_i
+ if code.between?(200, 299)
+ Auth0::Types::SetGuardianSettingsResponseContent.load(response.body)
+ else
+ error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
+ raise error_class.new(response.body, code: code)
+ end
+ end
+
# @return [Auth0::Enrollments::Client]
def enrollments
@enrollments ||= Auth0::Guardian::Enrollments::Client.new(client: @client)
diff --git a/lib/auth0/guardian/factors/client.rb b/lib/auth0/guardian/factors/client.rb
index cd9726b06..6ff2ac48e 100644
--- a/lib/auth0/guardian/factors/client.rb
+++ b/lib/auth0/guardian/factors/client.rb
@@ -82,6 +82,11 @@ def set(request_options: {}, **params)
end
end
+ # @return [Auth0::Email::Client]
+ def email
+ @email ||= Auth0::Guardian::Factors::Email::Client.new(client: @client)
+ end
+
# @return [Auth0::Phone::Client]
def phone
@phone ||= Auth0::Guardian::Factors::Phone::Client.new(client: @client)
diff --git a/lib/auth0/guardian/factors/email/client.rb b/lib/auth0/guardian/factors/email/client.rb
new file mode 100644
index 000000000..be88ab9a1
--- /dev/null
+++ b/lib/auth0/guardian/factors/email/client.rb
@@ -0,0 +1,84 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Guardian
+ module Factors
+ module Email
+ class Client
+ # @param client [Auth0::Internal::Http::RawClient]
+ #
+ # @return [void]
+ def initialize(client:)
+ @client = client
+ end
+
+ # TODO: Link this endpoint to relevant documentation when available.
+ #
+ # @param request_options [Hash]
+ # @param _params [Hash]
+ # @option request_options [String] :base_url
+ # @option request_options [Hash{String => Object}] :additional_headers
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
+ # @option request_options [Integer] :timeout_in_seconds
+ #
+ # @return [Auth0::Types::GetEmailFactorSettingsResponseContent]
+ def get(request_options: {}, **_params)
+ request = Auth0::Internal::JSON::Request.new(
+ base_url: request_options[:base_url],
+ method: "GET",
+ path: "guardian/factors/email/settings",
+ request_options: request_options
+ )
+ begin
+ response = @client.send(request)
+ rescue Net::HTTPRequestTimeout
+ raise Auth0::Errors::TimeoutError
+ end
+ code = response.code.to_i
+ if code.between?(200, 299)
+ Auth0::Types::GetEmailFactorSettingsResponseContent.load(response.body)
+ else
+ error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
+ raise error_class.new(response.body, code: code)
+ end
+ end
+
+ # TODO: Link this endpoint to relevant documentation when available.
+ #
+ # @param request_options [Hash]
+ # @param params [Auth0::Guardian::Factors::Email::Types::SetEmailFactorSettingsRequestContent]
+ # @option request_options [String] :base_url
+ # @option request_options [Hash{String => Object}] :additional_headers
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
+ # @option request_options [Integer] :timeout_in_seconds
+ #
+ # @return [Auth0::Types::SetEmailFactorSettingsResponseContent]
+ def set(request_options: {}, **params)
+ params = Auth0::Internal::Types::Utils.normalize_keys(params)
+ request = Auth0::Internal::JSON::Request.new(
+ base_url: request_options[:base_url],
+ method: "PUT",
+ path: "guardian/factors/email/settings",
+ body: Auth0::Guardian::Factors::Email::Types::SetEmailFactorSettingsRequestContent.new(params).to_h,
+ request_options: request_options
+ )
+ begin
+ response = @client.send(request)
+ rescue Net::HTTPRequestTimeout
+ raise Auth0::Errors::TimeoutError
+ end
+ code = response.code.to_i
+ if code.between?(200, 299)
+ Auth0::Types::SetEmailFactorSettingsResponseContent.load(response.body)
+ else
+ error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
+ raise error_class.new(response.body, code: code)
+ end
+ end
+ end
+ end
+ end
+ end
+end
diff --git a/lib/auth0/guardian/factors/email/types/set_email_factor_settings_request_content.rb b/lib/auth0/guardian/factors/email/types/set_email_factor_settings_request_content.rb
new file mode 100644
index 000000000..4857d021c
--- /dev/null
+++ b/lib/auth0/guardian/factors/email/types/set_email_factor_settings_request_content.rb
@@ -0,0 +1,17 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Guardian
+ module Factors
+ module Email
+ module Types
+ class SetEmailFactorSettingsRequestContent < Internal::Types::Model
+ field :otp_length, -> { Integer }, optional: false, nullable: false
+
+ field :otp_expiration_time, -> { Integer }, optional: false, nullable: false
+ end
+ end
+ end
+ end
+ end
+end
diff --git a/lib/auth0/guardian/factors/phone/client.rb b/lib/auth0/guardian/factors/phone/client.rb
index 5ff2f8cd5..ad2bb92f0 100644
--- a/lib/auth0/guardian/factors/phone/client.rb
+++ b/lib/auth0/guardian/factors/phone/client.rb
@@ -218,6 +218,72 @@ def set_provider(request_options: {}, **params)
end
end
+ # TODO: Link this endpoint to relevant documentation when available.
+ #
+ # @param request_options [Hash]
+ # @param _params [Hash]
+ # @option request_options [String] :base_url
+ # @option request_options [Hash{String => Object}] :additional_headers
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
+ # @option request_options [Integer] :timeout_in_seconds
+ #
+ # @return [Auth0::Types::GetPhoneFactorSettingsResponseContent]
+ def get(request_options: {}, **_params)
+ request = Auth0::Internal::JSON::Request.new(
+ base_url: request_options[:base_url],
+ method: "GET",
+ path: "guardian/factors/phone/settings",
+ request_options: request_options
+ )
+ begin
+ response = @client.send(request)
+ rescue Net::HTTPRequestTimeout
+ raise Auth0::Errors::TimeoutError
+ end
+ code = response.code.to_i
+ if code.between?(200, 299)
+ Auth0::Types::GetPhoneFactorSettingsResponseContent.load(response.body)
+ else
+ error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
+ raise error_class.new(response.body, code: code)
+ end
+ end
+
+ # TODO: Link this endpoint to relevant documentation when available.
+ #
+ # @param request_options [Hash]
+ # @param params [Auth0::Guardian::Factors::Phone::Types::SetPhoneFactorSettingsRequestContent]
+ # @option request_options [String] :base_url
+ # @option request_options [Hash{String => Object}] :additional_headers
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
+ # @option request_options [Integer] :timeout_in_seconds
+ #
+ # @return [Auth0::Types::SetPhoneFactorSettingsResponseContent]
+ def set(request_options: {}, **params)
+ params = Auth0::Internal::Types::Utils.normalize_keys(params)
+ request = Auth0::Internal::JSON::Request.new(
+ base_url: request_options[:base_url],
+ method: "PUT",
+ path: "guardian/factors/phone/settings",
+ body: Auth0::Guardian::Factors::Phone::Types::SetPhoneFactorSettingsRequestContent.new(params).to_h,
+ request_options: request_options
+ )
+ begin
+ response = @client.send(request)
+ rescue Net::HTTPRequestTimeout
+ raise Auth0::Errors::TimeoutError
+ end
+ code = response.code.to_i
+ if code.between?(200, 299)
+ Auth0::Types::SetPhoneFactorSettingsResponseContent.load(response.body)
+ else
+ error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
+ raise error_class.new(response.body, code: code)
+ end
+ end
+
# Retrieve details of the multi-factor authentication enrollment and verification templates for phone-type
# factors available in your tenant.
#
diff --git a/lib/auth0/guardian/factors/phone/types/set_phone_factor_settings_request_content.rb b/lib/auth0/guardian/factors/phone/types/set_phone_factor_settings_request_content.rb
new file mode 100644
index 000000000..f6ce1444f
--- /dev/null
+++ b/lib/auth0/guardian/factors/phone/types/set_phone_factor_settings_request_content.rb
@@ -0,0 +1,17 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Guardian
+ module Factors
+ module Phone
+ module Types
+ class SetPhoneFactorSettingsRequestContent < Internal::Types::Model
+ field :otp_length, -> { Integer }, optional: false, nullable: false
+
+ field :otp_expiration_time, -> { Integer }, optional: false, nullable: false
+ end
+ end
+ end
+ end
+ end
+end
diff --git a/lib/auth0/guardian/types/set_guardian_settings_request_content.rb b/lib/auth0/guardian/types/set_guardian_settings_request_content.rb
new file mode 100644
index 000000000..f939d2cb4
--- /dev/null
+++ b/lib/auth0/guardian/types/set_guardian_settings_request_content.rb
@@ -0,0 +1,17 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Guardian
+ module Types
+ class SetGuardianSettingsRequestContent < Internal::Types::Model
+ field :display_remember_me_checkbox, -> { Internal::Types::Boolean }, optional: false, nullable: false
+
+ field :remember_me_default_value, -> { Internal::Types::Boolean }, optional: false, nullable: false
+
+ field :mfa_session_inactivity_timeout, -> { Integer }, optional: false, nullable: false
+
+ field :mfa_session_overall_timeout, -> { Integer }, optional: false, nullable: false
+ end
+ end
+ end
+end
diff --git a/lib/auth0/organization_templates/client.rb b/lib/auth0/organization_templates/client.rb
deleted file mode 100644
index 77948a516..000000000
--- a/lib/auth0/organization_templates/client.rb
+++ /dev/null
@@ -1,220 +0,0 @@
-# frozen_string_literal: true
-
-module Auth0
- module OrganizationTemplates
- class Client
- # @param client [Auth0::Internal::Http::RawClient]
- #
- # @return [void]
- def initialize(client:)
- @client = client
- end
-
- # Retrieve a list of Organization Templates. This endpoint supports Checkpoint pagination. Results are returned in
- # a stable order, sorted by their identifier (`id`) in ascending order.
- #
- # @param request_options [Hash]
- # @param params [Hash]
- # @option request_options [String] :base_url
- # @option request_options [Hash{String => Object}] :additional_headers
- # @option request_options [Hash{String => Object}] :additional_query_parameters
- # @option request_options [Hash{String => Object}] :additional_body_parameters
- # @option request_options [Integer] :timeout_in_seconds
- # @option params [String, nil] :from
- # @option params [Integer, nil] :take
- #
- # @return [Auth0::Types::ListOrganizationTemplatesPaginatedResponseContent]
- def list(request_options: {}, **params)
- params = Auth0::Internal::Types::Utils.normalize_keys(params)
- query_params = {}
- query_params["from"] = params[:from] if params.key?(:from)
- query_params["take"] = params.fetch(:take, 5)
-
- Auth0::Internal::CursorItemIterator.new(
- cursor_field: :next_,
- item_field: :organization_templates,
- initial_cursor: query_params["from"]
- ) do |next_cursor|
- query_params["from"] = next_cursor
- request = Auth0::Internal::JSON::Request.new(
- base_url: request_options[:base_url],
- method: "GET",
- path: "organization-templates",
- query: query_params,
- request_options: request_options
- )
- begin
- response = @client.send(request)
- rescue Net::HTTPRequestTimeout
- raise Auth0::Errors::TimeoutError
- end
- code = response.code.to_i
- if code.between?(200, 299)
- parsed_response = Auth0::Types::ListOrganizationTemplatesPaginatedResponseContent.load(response.body)
- [parsed_response, response]
- else
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
- raise error_class.new(response.body, code: code)
- end
- end
- end
-
- # Create an Organization Template.
- #
- # @param request_options [Hash]
- # @param params [Auth0::OrganizationTemplates::Types::CreateOrganizationTemplateRequestContent]
- # @option request_options [String] :base_url
- # @option request_options [Hash{String => Object}] :additional_headers
- # @option request_options [Hash{String => Object}] :additional_query_parameters
- # @option request_options [Hash{String => Object}] :additional_body_parameters
- # @option request_options [Integer] :timeout_in_seconds
- #
- # @return [Auth0::Types::OrganizationTemplate]
- def create(request_options: {}, **params)
- params = Auth0::Internal::Types::Utils.normalize_keys(params)
- request = Auth0::Internal::JSON::Request.new(
- base_url: request_options[:base_url],
- method: "POST",
- path: "organization-templates",
- body: Auth0::OrganizationTemplates::Types::CreateOrganizationTemplateRequestContent.new(params).to_h,
- request_options: request_options
- )
- begin
- response = @client.send(request)
- rescue Net::HTTPRequestTimeout
- raise Auth0::Errors::TimeoutError
- end
- code = response.code.to_i
- if code.between?(200, 299)
- Auth0::Types::OrganizationTemplate.load(response.body)
- else
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
- raise error_class.new(response.body, code: code)
- end
- end
-
- # Retrieve details about a single Organization Template specified by ID.
- #
- # @param request_options [Hash]
- # @param params [Hash]
- # @option request_options [String] :base_url
- # @option request_options [Hash{String => Object}] :additional_headers
- # @option request_options [Hash{String => Object}] :additional_query_parameters
- # @option request_options [Hash{String => Object}] :additional_body_parameters
- # @option request_options [Integer] :timeout_in_seconds
- # @option params [String] :id
- #
- # @return [Auth0::Types::OrganizationTemplate]
- def get(request_options: {}, **params)
- params = Auth0::Internal::Types::Utils.normalize_keys(params)
- request = Auth0::Internal::JSON::Request.new(
- base_url: request_options[:base_url],
- method: "GET",
- path: "organization-templates/#{URI.encode_uri_component(params[:id].to_s)}",
- request_options: request_options
- )
- begin
- response = @client.send(request)
- rescue Net::HTTPRequestTimeout
- raise Auth0::Errors::TimeoutError
- end
- code = response.code.to_i
- if code.between?(200, 299)
- Auth0::Types::OrganizationTemplate.load(response.body)
- else
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
- raise error_class.new(response.body, code: code)
- end
- end
-
- # Update the details of a specific Organization Template.
- #
- # @param request_options [Hash]
- # @param params [Auth0::OrganizationTemplates::Types::UpdateOrganizationTemplateRequestContent]
- # @option request_options [String] :base_url
- # @option request_options [Hash{String => Object}] :additional_headers
- # @option request_options [Hash{String => Object}] :additional_query_parameters
- # @option request_options [Hash{String => Object}] :additional_body_parameters
- # @option request_options [Integer] :timeout_in_seconds
- # @option params [String] :id
- #
- # @return [Auth0::Types::OrganizationTemplate]
- def update(request_options: {}, **params)
- params = Auth0::Internal::Types::Utils.normalize_keys(params)
- request_data = Auth0::OrganizationTemplates::Types::UpdateOrganizationTemplateRequestContent.new(params).to_h
- non_body_param_names = %w[id]
- body = request_data.except(*non_body_param_names)
-
- request = Auth0::Internal::JSON::Request.new(
- base_url: request_options[:base_url],
- method: "PATCH",
- path: "organization-templates/#{URI.encode_uri_component(params[:id].to_s)}",
- body: body,
- request_options: request_options
- )
- begin
- response = @client.send(request)
- rescue Net::HTTPRequestTimeout
- raise Auth0::Errors::TimeoutError
- end
- code = response.code.to_i
- if code.between?(200, 299)
- Auth0::Types::OrganizationTemplate.load(response.body)
- else
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
- raise error_class.new(response.body, code: code)
- end
- end
-
- # Retrieve a list of organizations assigned to an Organization Template. This endpoint supports Checkpoint
- # pagination. Results are returned in a stable order, sorted by their identifier (`id`) in ascending order.
- #
- # @param request_options [Hash]
- # @param params [Hash]
- # @option request_options [String] :base_url
- # @option request_options [Hash{String => Object}] :additional_headers
- # @option request_options [Hash{String => Object}] :additional_query_parameters
- # @option request_options [Hash{String => Object}] :additional_body_parameters
- # @option request_options [Integer] :timeout_in_seconds
- # @option params [String] :id
- # @option params [String, nil] :from
- # @option params [Integer, nil] :take
- #
- # @return [Auth0::Types::ListTemplateOrganizationsPaginatedResponseContent]
- def list_organizations(request_options: {}, **params)
- params = Auth0::Internal::Types::Utils.normalize_keys(params)
- query_params = {}
- query_params["from"] = params[:from] if params.key?(:from)
- query_params["take"] = params.fetch(:take, 5)
-
- Auth0::Internal::CursorItemIterator.new(
- cursor_field: :next_,
- item_field: :organizations,
- initial_cursor: query_params["from"]
- ) do |next_cursor|
- query_params["from"] = next_cursor
- request = Auth0::Internal::JSON::Request.new(
- base_url: request_options[:base_url],
- method: "GET",
- path: "organization-templates/#{URI.encode_uri_component(params[:id].to_s)}/organizations",
- query: query_params,
- request_options: request_options
- )
- begin
- response = @client.send(request)
- rescue Net::HTTPRequestTimeout
- raise Auth0::Errors::TimeoutError
- end
- code = response.code.to_i
- if code.between?(200, 299)
- parsed_response = Auth0::Types::ListTemplateOrganizationsPaginatedResponseContent.load(response.body)
- [parsed_response, response]
- else
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
- raise error_class.new(response.body, code: code)
- end
- end
- end
- end
- end
-end
diff --git a/lib/auth0/organization_templates/types/create_organization_template_request_content.rb b/lib/auth0/organization_templates/types/create_organization_template_request_content.rb
deleted file mode 100644
index bcb82ec18..000000000
--- a/lib/auth0/organization_templates/types/create_organization_template_request_content.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-# frozen_string_literal: true
-
-module Auth0
- module OrganizationTemplates
- module Types
- class CreateOrganizationTemplateRequestContent < Internal::Types::Model
- field :name, -> { String }, optional: false, nullable: false
-
- field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false
-
- field :organization_deletion_behavior, -> { Auth0::Types::OrganizationDeletionBehaviorEnum }, optional: false, nullable: false
-
- field :connection_deletion_behavior, -> { Auth0::Types::ConnectionDeletionBehaviorEnum }, optional: true, nullable: false
-
- field :enforce_permission_ceiling, -> { Internal::Types::Boolean }, optional: false, nullable: false
-
- field :enforce_self_assignment_restriction, -> { Internal::Types::Boolean }, optional: false, nullable: false
-
- field :connection_profile_id, -> { String }, optional: true, nullable: false
-
- field :user_attribute_profile_id, -> { String }, optional: true, nullable: false
-
- field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplateAllowedStrategyEnum] }, optional: true, nullable: false
-
- field :invitation_landing_client_id, -> { String }, optional: true, nullable: false
-
- field :admin_roles_assignment, -> { Internal::Types::Array[String] }, optional: true, nullable: false
-
- field :use_for_organization_discovery, -> { Auth0::Types::OrganizationTemplateUseForOrganizationDiscovery }, optional: true, nullable: false
-
- field :role_visibility_policy, -> { Auth0::Types::OrganizationTemplateRoleVisibilityPolicy }, optional: true, nullable: false
- end
- end
- end
-end
diff --git a/lib/auth0/organization_templates/types/list_organization_templates_request_parameters.rb b/lib/auth0/organization_templates/types/list_organization_templates_request_parameters.rb
deleted file mode 100644
index 9474d1116..000000000
--- a/lib/auth0/organization_templates/types/list_organization_templates_request_parameters.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# frozen_string_literal: true
-
-module Auth0
- module OrganizationTemplates
- module Types
- class ListOrganizationTemplatesRequestParameters < Internal::Types::Model
- field :from, -> { String }, optional: true, nullable: false
-
- field :take, -> { Integer }, optional: true, nullable: false
- end
- end
- end
-end
diff --git a/lib/auth0/organization_templates/types/list_template_organizations_request_parameters.rb b/lib/auth0/organization_templates/types/list_template_organizations_request_parameters.rb
deleted file mode 100644
index 788e95654..000000000
--- a/lib/auth0/organization_templates/types/list_template_organizations_request_parameters.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-module Auth0
- module OrganizationTemplates
- module Types
- class ListTemplateOrganizationsRequestParameters < Internal::Types::Model
- field :id, -> { String }, optional: false, nullable: false
-
- field :from, -> { String }, optional: true, nullable: false
-
- field :take, -> { Integer }, optional: true, nullable: false
- end
- end
- end
-end
diff --git a/lib/auth0/organization_templates/types/update_organization_template_request_content.rb b/lib/auth0/organization_templates/types/update_organization_template_request_content.rb
deleted file mode 100644
index 6d6dcd391..000000000
--- a/lib/auth0/organization_templates/types/update_organization_template_request_content.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-# frozen_string_literal: true
-
-module Auth0
- module OrganizationTemplates
- module Types
- class UpdateOrganizationTemplateRequestContent < Internal::Types::Model
- field :id, -> { String }, optional: false, nullable: false
-
- field :name, -> { String }, optional: true, nullable: false
-
- field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false
-
- field :organization_deletion_behavior, -> { Auth0::Types::OrganizationDeletionBehaviorEnum }, optional: true, nullable: false
-
- field :connection_deletion_behavior, -> { Auth0::Types::ConnectionDeletionBehaviorEnum }, optional: true, nullable: false
-
- field :enforce_permission_ceiling, -> { Internal::Types::Boolean }, optional: true, nullable: false
-
- field :enforce_self_assignment_restriction, -> { Internal::Types::Boolean }, optional: true, nullable: false
-
- field :connection_profile_id, -> { String }, optional: true, nullable: false
-
- field :user_attribute_profile_id, -> { String }, optional: true, nullable: false
-
- field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplateAllowedStrategyEnum] }, optional: true, nullable: false
-
- field :invitation_landing_client_id, -> { String }, optional: true, nullable: false
-
- field :admin_roles_assignment, -> { Internal::Types::Array[String] }, optional: true, nullable: false
-
- field :use_for_organization_discovery, -> { Auth0::Types::OrganizationTemplateUseForOrganizationDiscovery }, optional: true, nullable: false
-
- field :role_visibility_policy, -> { Auth0::Types::OrganizationTemplateRoleVisibilityPolicy }, optional: true, nullable: false
- end
- end
- end
-end
diff --git a/lib/auth0/organizations/client.rb b/lib/auth0/organizations/client.rb
index d7efb69ed..06a120f93 100644
--- a/lib/auth0/organizations/client.rb
+++ b/lib/auth0/organizations/client.rb
@@ -153,6 +153,77 @@ def get_by_name(request_options: {}, **params)
end
end
+ # Retrieve details of organizations matching a search criteria. It is possible to:
+ #
+ # - Specify a search criteria for organizations
+ # - Search via `name`
+ # - Search via `display_name`
+ # - Substring matching (`contains` and `ends-with`) requires at least 3 characters
+ # - Use wildcards
+ #
+ # The `q` query parameter can be used to get organizations that match the specified criteria on `name` OR
+ # `display_name`.
+ #
+ # This endpoint supports SCIM or Lucene filter syntax with low-latency, cursor-based pagination. Use the `parser`
+ # parameter to specify "scim" or "lucene" syntax (default: "lucene").
+ #
+ # Results are eventually consistent and may not reflect recent updates immediately.
+ #
+ # **Sortable fields:** `name`, `display_name`, `created_at` (ascending only). Defaults to insertion order (oldest
+ # first).
+ #
+ # @param request_options [Hash]
+ # @param params [Hash]
+ # @option request_options [String] :base_url
+ # @option request_options [Hash{String => Object}] :additional_headers
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
+ # @option request_options [Integer] :timeout_in_seconds
+ # @option params [String, nil] :q
+ # @option params [Auth0::Types::SearchParserEnum, nil] :parser
+ # @option params [Integer, nil] :take
+ # @option params [String, nil] :from
+ # @option params [Auth0::Types::OrganizationSortFieldEnum, nil] :sort
+ #
+ # @return [Auth0::Types::SearchOrganizationsPaginatedResponseContent]
+ def search(request_options: {}, **params)
+ params = Auth0::Internal::Types::Utils.normalize_keys(params)
+ query_params = {}
+ query_params["q"] = params[:q] if params.key?(:q)
+ query_params["parser"] = params[:parser] if params.key?(:parser)
+ query_params["take"] = params.fetch(:take, 50)
+ query_params["from"] = params[:from] if params.key?(:from)
+ query_params["sort"] = params[:sort] if params.key?(:sort)
+
+ Auth0::Internal::CursorItemIterator.new(
+ cursor_field: :next_,
+ item_field: :organizations,
+ initial_cursor: query_params["from"]
+ ) do |next_cursor|
+ query_params["from"] = next_cursor
+ request = Auth0::Internal::JSON::Request.new(
+ base_url: request_options[:base_url],
+ method: "GET",
+ path: "organizations/search",
+ query: query_params,
+ request_options: request_options
+ )
+ begin
+ response = @client.send(request)
+ rescue Net::HTTPRequestTimeout
+ raise Auth0::Errors::TimeoutError
+ end
+ code = response.code.to_i
+ if code.between?(200, 299)
+ parsed_response = Auth0::Types::SearchOrganizationsPaginatedResponseContent.load(response.body)
+ [parsed_response, response]
+ else
+ error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
+ raise error_class.new(response.body, code: code)
+ end
+ end
+ end
+
# Retrieve details about a single Organization specified by ID.
#
# @param request_options [Hash]
diff --git a/lib/auth0/organizations/types/search_organizations_request_parameters.rb b/lib/auth0/organizations/types/search_organizations_request_parameters.rb
new file mode 100644
index 000000000..1d738bead
--- /dev/null
+++ b/lib/auth0/organizations/types/search_organizations_request_parameters.rb
@@ -0,0 +1,19 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Organizations
+ module Types
+ class SearchOrganizationsRequestParameters < Internal::Types::Model
+ field :q, -> { String }, optional: true, nullable: false
+
+ field :parser, -> { Auth0::Types::SearchParserEnum }, optional: true, nullable: false
+
+ field :take, -> { Integer }, optional: true, nullable: false
+
+ field :from, -> { String }, optional: true, nullable: false
+
+ field :sort, -> { Auth0::Types::OrganizationSortFieldEnum }, optional: true, nullable: false
+ end
+ end
+ end
+end
diff --git a/lib/auth0/resource_servers/client.rb b/lib/auth0/resource_servers/client.rb
index b42a5e25c..0c4ddec6f 100644
--- a/lib/auth0/resource_servers/client.rb
+++ b/lib/auth0/resource_servers/client.rb
@@ -100,6 +100,69 @@ def create(request_options: {}, **params)
end
end
+ # Search resource servers using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use
+ # the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an
+ # alternative to the standard GET /resource-servers endpoint with better performance for complex queries.
+ # Results may not reflect recent updates immediately.
+ #
+ # The `signing_secret` field is not supported by this endpoint.
+ #
+ # @param request_options [Hash]
+ # @param params [Hash]
+ # @option request_options [String] :base_url
+ # @option request_options [Hash{String => Object}] :additional_headers
+ # @option request_options [Hash{String => Object}] :additional_query_parameters
+ # @option request_options [Hash{String => Object}] :additional_body_parameters
+ # @option request_options [Integer] :timeout_in_seconds
+ # @option params [String, nil] :q
+ # @option params [Auth0::Types::SearchParserEnum, nil] :parser
+ # @option params [String, nil] :fields
+ # @option params [Boolean, nil] :include_fields
+ # @option params [Integer, nil] :take
+ # @option params [String, nil] :from
+ # @option params [Auth0::Types::ResourceServerSortFieldEnum, nil] :sort
+ #
+ # @return [Auth0::Types::SearchResourceServersResponseContent]
+ def search(request_options: {}, **params)
+ params = Auth0::Internal::Types::Utils.normalize_keys(params)
+ query_params = {}
+ query_params["q"] = params[:q] if params.key?(:q)
+ query_params["parser"] = params[:parser] if params.key?(:parser)
+ query_params["fields"] = params[:fields] if params.key?(:fields)
+ query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields)
+ query_params["take"] = params.fetch(:take, 50)
+ query_params["from"] = params[:from] if params.key?(:from)
+ query_params["sort"] = params[:sort] if params.key?(:sort)
+
+ Auth0::Internal::CursorItemIterator.new(
+ cursor_field: :next_,
+ item_field: :resource_servers,
+ initial_cursor: query_params["from"]
+ ) do |next_cursor|
+ query_params["from"] = next_cursor
+ request = Auth0::Internal::JSON::Request.new(
+ base_url: request_options[:base_url],
+ method: "GET",
+ path: "resource-servers/search",
+ query: query_params,
+ request_options: request_options
+ )
+ begin
+ response = @client.send(request)
+ rescue Net::HTTPRequestTimeout
+ raise Auth0::Errors::TimeoutError
+ end
+ code = response.code.to_i
+ if code.between?(200, 299)
+ parsed_response = Auth0::Types::SearchResourceServersResponseContent.load(response.body)
+ [parsed_response, response]
+ else
+ error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
+ raise error_class.new(response.body, code: code)
+ end
+ end
+ end
+
# Retrieve API details with the given ID.
#
# @param request_options [Hash]
diff --git a/lib/auth0/resource_servers/types/create_resource_server_request_content.rb b/lib/auth0/resource_servers/types/create_resource_server_request_content.rb
index b715a4a1d..8d140fed8 100644
--- a/lib/auth0/resource_servers/types/create_resource_server_request_content.rb
+++ b/lib/auth0/resource_servers/types/create_resource_server_request_content.rb
@@ -22,6 +22,8 @@ class CreateResourceServerRequestContent < Internal::Types::Model
field :token_lifetime, -> { Integer }, optional: true, nullable: false
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
+
field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectSchemaEnum }, optional: true, nullable: false
field :skip_consent_for_verifiable_first_party_clients, -> { Internal::Types::Boolean }, optional: true, nullable: false
diff --git a/lib/auth0/resource_servers/types/search_resource_servers_request_parameters.rb b/lib/auth0/resource_servers/types/search_resource_servers_request_parameters.rb
new file mode 100644
index 000000000..211aa4465
--- /dev/null
+++ b/lib/auth0/resource_servers/types/search_resource_servers_request_parameters.rb
@@ -0,0 +1,23 @@
+# frozen_string_literal: true
+
+module Auth0
+ module ResourceServers
+ module Types
+ class SearchResourceServersRequestParameters < Internal::Types::Model
+ field :q, -> { String }, optional: true, nullable: false
+
+ field :parser, -> { Auth0::Types::SearchParserEnum }, optional: true, nullable: false
+
+ field :fields, -> { String }, optional: true, nullable: false
+
+ field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false
+
+ field :take, -> { Integer }, optional: true, nullable: false
+
+ field :from, -> { String }, optional: true, nullable: false
+
+ field :sort, -> { Auth0::Types::ResourceServerSortFieldEnum }, optional: true, nullable: false
+ end
+ end
+ end
+end
diff --git a/lib/auth0/resource_servers/types/update_resource_server_request_content.rb b/lib/auth0/resource_servers/types/update_resource_server_request_content.rb
index 9679c537f..13a783ccd 100644
--- a/lib/auth0/resource_servers/types/update_resource_server_request_content.rb
+++ b/lib/auth0/resource_servers/types/update_resource_server_request_content.rb
@@ -24,6 +24,8 @@ class UpdateResourceServerRequestContent < Internal::Types::Model
field :token_lifetime, -> { Integer }, optional: true, nullable: false
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
+
field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectSchemaEnum }, optional: true, nullable: false
field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
diff --git a/lib/auth0/types/advance_ramp_response_content.rb b/lib/auth0/types/advance_ramp_response_content.rb
new file mode 100644
index 000000000..3a6022dc5
--- /dev/null
+++ b/lib/auth0/types/advance_ramp_response_content.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class AdvanceRampResponseContent < Internal::Types::Model
+ field :experiment_id, -> { String }, optional: false, nullable: false
+
+ field :from_level, -> { Integer }, optional: false, nullable: false
+
+ field :to_level, -> { Integer }, optional: false, nullable: false
+
+ field :current_level, -> { Integer }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/anonymous_sessions.rb b/lib/auth0/types/anonymous_sessions.rb
new file mode 100644
index 000000000..4ba4ed06e
--- /dev/null
+++ b/lib/auth0/types/anonymous_sessions.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ # Anonymous sessions configuration for this client.
+ class AnonymousSessions < Internal::Types::Model
+ field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/client.rb b/lib/auth0/types/client.rb
index 321514201..3b98813e1 100644
--- a/lib/auth0/types/client.rb
+++ b/lib/auth0/types/client.rb
@@ -5,6 +5,10 @@ module Types
class Client < Internal::Types::Model
field :client_id, -> { String }, optional: true, nullable: false
+ field :created_at, -> { String }, optional: true, nullable: false
+
+ field :updated_at, -> { String }, optional: true, nullable: false
+
field :tenant, -> { String }, optional: true, nullable: false
field :name, -> { String }, optional: true, nullable: false
@@ -117,6 +121,8 @@ class Client < Internal::Types::Model
field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
+ field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
+
field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
diff --git a/lib/auth0/types/connection_identity_provider_enum.rb b/lib/auth0/types/connection_identity_provider_enum.rb
index e8ac2eb37..8c0bbd2b5 100644
--- a/lib/auth0/types/connection_identity_provider_enum.rb
+++ b/lib/auth0/types/connection_identity_provider_enum.rb
@@ -61,23 +61,14 @@ module ConnectionIdentityProviderEnum
YAHOO = "yahoo"
YANDEX = "yandex"
NOTION_MCP = "notion-mcp"
- ASANA_MCP = "asana-mcp"
- ATLASSIAN_MCP = "atlassian-mcp"
+ ASANA = "asana"
+ ATLASSIAN = "atlassian"
CLOUDFLARE_MCP = "cloudflare-mcp"
- DOCUSIGN_MCP = "docusign-mcp"
- FIGMA_MCP = "figma-mcp"
- GITLAB_MCP = "gitlab-mcp"
- GUSTO_MCP = "gusto-mcp"
- HEROKU_MCP = "heroku-mcp"
+ GITLAB = "gitlab"
HUBSPOT_MCP = "hubspot-mcp"
- INTERCOM_MCP = "intercom-mcp"
LINEAR_MCP = "linear-mcp"
- PAGERDUTY_MCP = "pagerduty-mcp"
SENTRY_MCP = "sentry-mcp"
- SLACK_MCP = "slack-mcp"
- SUPABASE_MCP = "supabase-mcp"
- VERCEL_MCP = "vercel-mcp"
- XERO_MCP = "xero-mcp"
+ SLACK = "slack"
end
end
end
diff --git a/lib/auth0/types/connection_strategy_enum.rb b/lib/auth0/types/connection_strategy_enum.rb
index 3277fe674..8c3d5e577 100644
--- a/lib/auth0/types/connection_strategy_enum.rb
+++ b/lib/auth0/types/connection_strategy_enum.rb
@@ -61,23 +61,14 @@ module ConnectionStrategyEnum
YAHOO = "yahoo"
YANDEX = "yandex"
NOTION_MCP = "notion-mcp"
- ASANA_MCP = "asana-mcp"
- ATLASSIAN_MCP = "atlassian-mcp"
+ ASANA = "asana"
+ ATLASSIAN = "atlassian"
CLOUDFLARE_MCP = "cloudflare-mcp"
- DOCUSIGN_MCP = "docusign-mcp"
- FIGMA_MCP = "figma-mcp"
- GITLAB_MCP = "gitlab-mcp"
- GUSTO_MCP = "gusto-mcp"
- HEROKU_MCP = "heroku-mcp"
+ GITLAB = "gitlab"
HUBSPOT_MCP = "hubspot-mcp"
- INTERCOM_MCP = "intercom-mcp"
LINEAR_MCP = "linear-mcp"
- PAGERDUTY_MCP = "pagerduty-mcp"
SENTRY_MCP = "sentry-mcp"
- SLACK_MCP = "slack-mcp"
- SUPABASE_MCP = "supabase-mcp"
- VERCEL_MCP = "vercel-mcp"
- XERO_MCP = "xero-mcp"
+ SLACK = "slack"
AUTH0ADLDAP = "auth0-adldap"
end
end
diff --git a/lib/auth0/types/create_anonymous_sessions.rb b/lib/auth0/types/create_anonymous_sessions.rb
new file mode 100644
index 000000000..cf12fb886
--- /dev/null
+++ b/lib/auth0/types/create_anonymous_sessions.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ # Anonymous sessions configuration for this client.
+ class CreateAnonymousSessions < Internal::Types::Model
+ field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/create_client_response_content.rb b/lib/auth0/types/create_client_response_content.rb
index 10c12ec3d..21c3d2b4c 100644
--- a/lib/auth0/types/create_client_response_content.rb
+++ b/lib/auth0/types/create_client_response_content.rb
@@ -5,6 +5,10 @@ module Types
class CreateClientResponseContent < Internal::Types::Model
field :client_id, -> { String }, optional: true, nullable: false
+ field :created_at, -> { String }, optional: true, nullable: false
+
+ field :updated_at, -> { String }, optional: true, nullable: false
+
field :tenant, -> { String }, optional: true, nullable: false
field :name, -> { String }, optional: true, nullable: false
@@ -117,6 +121,8 @@ class CreateClientResponseContent < Internal::Types::Model
field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
+ field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
+
field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
diff --git a/lib/auth0/types/create_resource_server_response_content.rb b/lib/auth0/types/create_resource_server_response_content.rb
index 7a95e3738..9a75b335f 100644
--- a/lib/auth0/types/create_resource_server_response_content.rb
+++ b/lib/auth0/types/create_resource_server_response_content.rb
@@ -31,6 +31,8 @@ class CreateResourceServerResponseContent < Internal::Types::Model
field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
+
field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false
field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false
diff --git a/lib/auth0/types/get_client_response_content.rb b/lib/auth0/types/get_client_response_content.rb
index 3568bb77e..5d8afc665 100644
--- a/lib/auth0/types/get_client_response_content.rb
+++ b/lib/auth0/types/get_client_response_content.rb
@@ -5,6 +5,10 @@ module Types
class GetClientResponseContent < Internal::Types::Model
field :client_id, -> { String }, optional: true, nullable: false
+ field :created_at, -> { String }, optional: true, nullable: false
+
+ field :updated_at, -> { String }, optional: true, nullable: false
+
field :tenant, -> { String }, optional: true, nullable: false
field :name, -> { String }, optional: true, nullable: false
@@ -117,6 +121,8 @@ class GetClientResponseContent < Internal::Types::Model
field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
+ field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
+
field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
diff --git a/lib/auth0/types/get_email_factor_settings_response_content.rb b/lib/auth0/types/get_email_factor_settings_response_content.rb
new file mode 100644
index 000000000..db4bf6e38
--- /dev/null
+++ b/lib/auth0/types/get_email_factor_settings_response_content.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class GetEmailFactorSettingsResponseContent < Internal::Types::Model
+ field :otp_length, -> { Integer }, optional: false, nullable: false
+
+ field :otp_expiration_time, -> { Integer }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/get_guardian_settings_response_content.rb b/lib/auth0/types/get_guardian_settings_response_content.rb
new file mode 100644
index 000000000..0c31d369a
--- /dev/null
+++ b/lib/auth0/types/get_guardian_settings_response_content.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class GetGuardianSettingsResponseContent < Internal::Types::Model
+ field :display_remember_me_checkbox, -> { Internal::Types::Boolean }, optional: false, nullable: false
+
+ field :remember_me_default_value, -> { Internal::Types::Boolean }, optional: false, nullable: false
+
+ field :mfa_session_inactivity_timeout, -> { Integer }, optional: false, nullable: false
+
+ field :mfa_session_overall_timeout, -> { Integer }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/get_phone_factor_settings_response_content.rb b/lib/auth0/types/get_phone_factor_settings_response_content.rb
new file mode 100644
index 000000000..d844c7915
--- /dev/null
+++ b/lib/auth0/types/get_phone_factor_settings_response_content.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class GetPhoneFactorSettingsResponseContent < Internal::Types::Model
+ field :otp_length, -> { Integer }, optional: false, nullable: false
+
+ field :otp_expiration_time, -> { Integer }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/get_resource_server_response_content.rb b/lib/auth0/types/get_resource_server_response_content.rb
index 019e2c134..5c0c1f380 100644
--- a/lib/auth0/types/get_resource_server_response_content.rb
+++ b/lib/auth0/types/get_resource_server_response_content.rb
@@ -31,6 +31,8 @@ class GetResourceServerResponseContent < Internal::Types::Model
field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
+
field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false
field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false
diff --git a/lib/auth0/types/list_organization_templates_paginated_response_content.rb b/lib/auth0/types/list_organization_templates_paginated_response_content.rb
deleted file mode 100644
index 9eb7526bc..000000000
--- a/lib/auth0/types/list_organization_templates_paginated_response_content.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-module Auth0
- module Types
- class ListOrganizationTemplatesPaginatedResponseContent < Internal::Types::Model
- field :next_, -> { String }, optional: true, nullable: false, api_name: "next"
-
- field :organization_templates, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplate] }, optional: true, nullable: false
- end
- end
-end
diff --git a/lib/auth0/types/oauth_scope.rb b/lib/auth0/types/oauth_scope.rb
index ba83e9a65..c4173d0e5 100644
--- a/lib/auth0/types/oauth_scope.rb
+++ b/lib/auth0/types/oauth_scope.rb
@@ -89,6 +89,7 @@ module OauthScope
UPDATE_EVENT_STREAMS = "update:event_streams"
DELETE_EVENT_STREAMS = "delete:event_streams"
READ_EVENTS = "read:events"
+ UPDATE_EXPERIMENTATION = "update:experimentation"
CREATE_FLOWS = "create:flows"
READ_FLOWS = "read:flows"
UPDATE_FLOWS = "update:flows"
@@ -249,9 +250,7 @@ module OauthScope
READ_ORGANIZATION_CLIENTS = "read:organization_clients"
UPDATE_ORGANIZATION_CLIENTS = "update:organization_clients"
DELETE_ORGANIZATION_CLIENTS = "delete:organization_clients"
- CREATE_ORGANIZATION_TEMPLATES = "create:organization_templates"
READ_ORGANIZATION_TEMPLATES = "read:organization_templates"
- UPDATE_ORGANIZATION_TEMPLATES = "update:organization_templates"
CREATE_NETWORK_ACL_KEYS = "create:network_acl_keys"
READ_NETWORK_ACL_KEYS = "read:network_acl_keys"
DELETE_NETWORK_ACL_KEYS = "delete:network_acl_keys"
diff --git a/lib/auth0/types/organization_sort_field_enum.rb b/lib/auth0/types/organization_sort_field_enum.rb
new file mode 100644
index 000000000..c6d989154
--- /dev/null
+++ b/lib/auth0/types/organization_sort_field_enum.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ module OrganizationSortFieldEnum
+ extend Auth0::Internal::Types::Enum
+
+ NAME = "name"
+ DISPLAY_NAME = "display_name"
+ CREATED_AT = "created_at"
+ end
+ end
+end
diff --git a/lib/auth0/types/organization_template_assigned_organization.rb b/lib/auth0/types/organization_template_assigned_organization.rb
deleted file mode 100644
index 19612b10b..000000000
--- a/lib/auth0/types/organization_template_assigned_organization.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# frozen_string_literal: true
-
-module Auth0
- module Types
- # An organization assigned to the template.
- class OrganizationTemplateAssignedOrganization < Internal::Types::Model
- field :id, -> { String }, optional: false, nullable: false
- end
- end
-end
diff --git a/lib/auth0/types/resource_server.rb b/lib/auth0/types/resource_server.rb
index 5e5b18251..73b1eddb6 100644
--- a/lib/auth0/types/resource_server.rb
+++ b/lib/auth0/types/resource_server.rb
@@ -31,6 +31,8 @@ class ResourceServer < Internal::Types::Model
field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
+
field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false
field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false
diff --git a/lib/auth0/types/resource_server_search_response.rb b/lib/auth0/types/resource_server_search_response.rb
new file mode 100644
index 000000000..c80b95086
--- /dev/null
+++ b/lib/auth0/types/resource_server_search_response.rb
@@ -0,0 +1,51 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class ResourceServerSearchResponse < Internal::Types::Model
+ field :id, -> { String }, optional: true, nullable: false
+
+ field :name, -> { String }, optional: true, nullable: false
+
+ field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false
+
+ field :identifier, -> { String }, optional: true, nullable: false
+
+ field :scopes, -> { Internal::Types::Array[Auth0::Types::ResourceServerScope] }, optional: true, nullable: false
+
+ field :signing_alg, -> { Auth0::Types::SigningAlgorithmEnum }, optional: true, nullable: false
+
+ field :allow_offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false
+
+ field :allow_online_access, -> { Internal::Types::Boolean }, optional: true, nullable: false
+
+ field :allow_online_access_with_ephemeral_sessions, -> { Internal::Types::Boolean }, optional: true, nullable: false
+
+ field :skip_consent_for_verifiable_first_party_clients, -> { Internal::Types::Boolean }, optional: true, nullable: false
+
+ field :token_lifetime, -> { Integer }, optional: true, nullable: false
+
+ field :token_lifetime_for_web, -> { Integer }, optional: true, nullable: false
+
+ field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
+
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
+
+ field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false
+
+ field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false
+
+ field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false
+
+ field :authorization_details, -> { Internal::Types::Array[Object] }, optional: true, nullable: false
+
+ field :proof_of_possession, -> { Auth0::Types::ResourceServerProofOfPossession }, optional: true, nullable: false
+
+ field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false
+
+ field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false
+
+ field :client_id, -> { String }, optional: true, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/resource_server_sort_field_enum.rb b/lib/auth0/types/resource_server_sort_field_enum.rb
new file mode 100644
index 000000000..9c10e08b9
--- /dev/null
+++ b/lib/auth0/types/resource_server_sort_field_enum.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ module ResourceServerSortFieldEnum
+ extend Auth0::Internal::Types::Enum
+
+ IDENTIFIER = "identifier"
+ NAME = "name"
+ UPDATED_AT = "updated_at"
+ end
+ end
+end
diff --git a/lib/auth0/types/resource_server_subject_type_authorization.rb b/lib/auth0/types/resource_server_subject_type_authorization.rb
index 9d2210c36..7446f159a 100644
--- a/lib/auth0/types/resource_server_subject_type_authorization.rb
+++ b/lib/auth0/types/resource_server_subject_type_authorization.rb
@@ -7,6 +7,8 @@ class ResourceServerSubjectTypeAuthorization < Internal::Types::Model
field :user, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationUser }, optional: true, nullable: false
field :client, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationClient }, optional: true, nullable: false
+
+ field :anonymous_user, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationAnonymousUser }, optional: true, nullable: false
end
end
end
diff --git a/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user.rb b/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user.rb
new file mode 100644
index 000000000..3feeef83f
--- /dev/null
+++ b/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ # Access Permissions for anonymous user flows
+ class ResourceServerSubjectTypeAuthorizationAnonymousUser < Internal::Types::Model
+ field :policy, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum }, optional: true, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.rb b/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.rb
new file mode 100644
index 000000000..39015a2dc
--- /dev/null
+++ b/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ module ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum
+ extend Auth0::Internal::Types::Enum
+
+ DENY_ALL = "deny_all"
+ REQUIRE_CLIENT_GRANT = "require_client_grant"
+ end
+ end
+end
diff --git a/lib/auth0/types/rotate_client_secret_response_content.rb b/lib/auth0/types/rotate_client_secret_response_content.rb
index 6c806e9fa..1f6e78017 100644
--- a/lib/auth0/types/rotate_client_secret_response_content.rb
+++ b/lib/auth0/types/rotate_client_secret_response_content.rb
@@ -5,6 +5,10 @@ module Types
class RotateClientSecretResponseContent < Internal::Types::Model
field :client_id, -> { String }, optional: true, nullable: false
+ field :created_at, -> { String }, optional: true, nullable: false
+
+ field :updated_at, -> { String }, optional: true, nullable: false
+
field :tenant, -> { String }, optional: true, nullable: false
field :name, -> { String }, optional: true, nullable: false
@@ -117,6 +121,8 @@ class RotateClientSecretResponseContent < Internal::Types::Model
field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
+ field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
+
field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
diff --git a/lib/auth0/types/search_organization.rb b/lib/auth0/types/search_organization.rb
new file mode 100644
index 000000000..aacc318db
--- /dev/null
+++ b/lib/auth0/types/search_organization.rb
@@ -0,0 +1,23 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class SearchOrganization < Internal::Types::Model
+ field :id, -> { String }, optional: true, nullable: false
+
+ field :name, -> { String }, optional: true, nullable: false
+
+ field :display_name, -> { String }, optional: true, nullable: false
+
+ field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false
+
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
+
+ field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false
+
+ field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false
+
+ field :is_app_entitlement_active, -> { Internal::Types::Boolean }, optional: true, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/list_template_organizations_paginated_response_content.rb b/lib/auth0/types/search_organizations_paginated_response_content.rb
similarity index 57%
rename from lib/auth0/types/list_template_organizations_paginated_response_content.rb
rename to lib/auth0/types/search_organizations_paginated_response_content.rb
index 596126dce..16d406681 100644
--- a/lib/auth0/types/list_template_organizations_paginated_response_content.rb
+++ b/lib/auth0/types/search_organizations_paginated_response_content.rb
@@ -2,10 +2,10 @@
module Auth0
module Types
- class ListTemplateOrganizationsPaginatedResponseContent < Internal::Types::Model
- field :next_, -> { String }, optional: true, nullable: false, api_name: "next"
+ class SearchOrganizationsPaginatedResponseContent < Internal::Types::Model
+ field :organizations, -> { Internal::Types::Array[Auth0::Types::SearchOrganization] }, optional: false, nullable: false
- field :organizations, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplateAssignedOrganization] }, optional: false, nullable: false
+ field :next_, -> { String }, optional: true, nullable: false, api_name: "next"
end
end
end
diff --git a/lib/auth0/types/search_parser_enum.rb b/lib/auth0/types/search_parser_enum.rb
new file mode 100644
index 000000000..fc9b33995
--- /dev/null
+++ b/lib/auth0/types/search_parser_enum.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ module SearchParserEnum
+ extend Auth0::Internal::Types::Enum
+
+ SCIM = "scim"
+ LUCENE = "lucene"
+ end
+ end
+end
diff --git a/lib/auth0/types/search_resource_servers_response_content.rb b/lib/auth0/types/search_resource_servers_response_content.rb
new file mode 100644
index 000000000..ea47ea3d8
--- /dev/null
+++ b/lib/auth0/types/search_resource_servers_response_content.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class SearchResourceServersResponseContent < Internal::Types::Model
+ field :resource_servers, -> { Internal::Types::Array[Auth0::Types::ResourceServerSearchResponse] }, optional: false, nullable: false
+
+ field :next_, -> { String }, optional: true, nullable: false, api_name: "next"
+ end
+ end
+end
diff --git a/lib/auth0/types/set_email_factor_settings_response_content.rb b/lib/auth0/types/set_email_factor_settings_response_content.rb
new file mode 100644
index 000000000..256ceadda
--- /dev/null
+++ b/lib/auth0/types/set_email_factor_settings_response_content.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class SetEmailFactorSettingsResponseContent < Internal::Types::Model
+ field :otp_length, -> { Integer }, optional: false, nullable: false
+
+ field :otp_expiration_time, -> { Integer }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/set_guardian_settings_response_content.rb b/lib/auth0/types/set_guardian_settings_response_content.rb
new file mode 100644
index 000000000..866d74a9f
--- /dev/null
+++ b/lib/auth0/types/set_guardian_settings_response_content.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class SetGuardianSettingsResponseContent < Internal::Types::Model
+ field :display_remember_me_checkbox, -> { Internal::Types::Boolean }, optional: false, nullable: false
+
+ field :remember_me_default_value, -> { Internal::Types::Boolean }, optional: false, nullable: false
+
+ field :mfa_session_inactivity_timeout, -> { Integer }, optional: false, nullable: false
+
+ field :mfa_session_overall_timeout, -> { Integer }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/set_phone_factor_settings_response_content.rb b/lib/auth0/types/set_phone_factor_settings_response_content.rb
new file mode 100644
index 000000000..adbb54956
--- /dev/null
+++ b/lib/auth0/types/set_phone_factor_settings_response_content.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ class SetPhoneFactorSettingsResponseContent < Internal::Types::Model
+ field :otp_length, -> { Integer }, optional: false, nullable: false
+
+ field :otp_expiration_time, -> { Integer }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/tenant_settings_sessions.rb b/lib/auth0/types/tenant_settings_sessions.rb
index c72e718ef..cdd17d427 100644
--- a/lib/auth0/types/tenant_settings_sessions.rb
+++ b/lib/auth0/types/tenant_settings_sessions.rb
@@ -5,6 +5,8 @@ module Types
# Sessions related settings for tenant
class TenantSettingsSessions < Internal::Types::Model
field :oidc_logout_prompt_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
+
+ field :anonymous, -> { Auth0::Types::TenantSettingsSessionsAnonymous }, optional: true, nullable: false
end
end
end
diff --git a/lib/auth0/types/tenant_settings_sessions_anonymous.rb b/lib/auth0/types/tenant_settings_sessions_anonymous.rb
new file mode 100644
index 000000000..caf70b108
--- /dev/null
+++ b/lib/auth0/types/tenant_settings_sessions_anonymous.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ # Anonymous session settings for tenant.
+ class TenantSettingsSessionsAnonymous < Internal::Types::Model
+ field :lifetime_in_minutes, -> { Integer }, optional: true, nullable: false
+
+ field :activate_cookie, -> { Internal::Types::Boolean }, optional: true, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/update_anonymous_sessions.rb b/lib/auth0/types/update_anonymous_sessions.rb
new file mode 100644
index 000000000..1f9f5a0b5
--- /dev/null
+++ b/lib/auth0/types/update_anonymous_sessions.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module Auth0
+ module Types
+ # Anonymous sessions configuration for this client.
+ class UpdateAnonymousSessions < Internal::Types::Model
+ field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false
+ end
+ end
+end
diff --git a/lib/auth0/types/update_client_response_content.rb b/lib/auth0/types/update_client_response_content.rb
index 57aa63960..677ec789c 100644
--- a/lib/auth0/types/update_client_response_content.rb
+++ b/lib/auth0/types/update_client_response_content.rb
@@ -5,6 +5,10 @@ module Types
class UpdateClientResponseContent < Internal::Types::Model
field :client_id, -> { String }, optional: true, nullable: false
+ field :created_at, -> { String }, optional: true, nullable: false
+
+ field :updated_at, -> { String }, optional: true, nullable: false
+
field :tenant, -> { String }, optional: true, nullable: false
field :name, -> { String }, optional: true, nullable: false
@@ -117,6 +121,8 @@ class UpdateClientResponseContent < Internal::Types::Model
field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
+ field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
+
field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
diff --git a/lib/auth0/types/update_resource_server_response_content.rb b/lib/auth0/types/update_resource_server_response_content.rb
index 4f0d72fe3..fa1308465 100644
--- a/lib/auth0/types/update_resource_server_response_content.rb
+++ b/lib/auth0/types/update_resource_server_response_content.rb
@@ -31,6 +31,8 @@ class UpdateResourceServerResponseContent < Internal::Types::Model
field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
+
field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false
field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false
diff --git a/test/wire/experimentation_experiments_test.rb b/test/wire/experimentation_experiments_test.rb
new file mode 100644
index 000000000..77fe5aefe
--- /dev/null
+++ b/test/wire/experimentation_experiments_test.rb
@@ -0,0 +1,36 @@
+# frozen_string_literal: true
+
+require_relative "wiremock_test_case"
+
+class ExperimentationExperimentsWireTest < WireMockTestCase
+ def setup
+ super
+
+ @client = Auth0::Management.new(
+ token: "",
+ base_url: WIREMOCK_BASE_URL
+ )
+ end
+
+ def test_experimentation_experiments_advance_ramp_with_wiremock
+ test_id = "experimentation.experiments.advance_ramp.0"
+
+ @client.experimentation.experiments.advance_ramp(
+ id: "id",
+ target_level: 1,
+ request_options: {
+ additional_headers: {
+ "X-Test-Id" => "experimentation.experiments.advance_ramp.0"
+ }
+ }
+ )
+
+ verify_request_count(
+ test_id: test_id,
+ method: "POST",
+ url_path: "/experimentation/experiments/id/advance-ramp",
+ query_params: nil,
+ expected: 1
+ )
+ end
+end
diff --git a/test/wire/guardian_factors_email_test.rb b/test/wire/guardian_factors_email_test.rb
new file mode 100644
index 000000000..9c253c796
--- /dev/null
+++ b/test/wire/guardian_factors_email_test.rb
@@ -0,0 +1,54 @@
+# frozen_string_literal: true
+
+require_relative "wiremock_test_case"
+
+class GuardianFactorsEmailWireTest < WireMockTestCase
+ def setup
+ super
+
+ @client = Auth0::Management.new(
+ token: "",
+ base_url: WIREMOCK_BASE_URL
+ )
+ end
+
+ def test_guardian_factors_email_get_with_wiremock
+ test_id = "guardian.factors.email.get.0"
+
+ @client.guardian.factors.email.get(request_options: {
+ additional_headers: {
+ "X-Test-Id" => "guardian.factors.email.get.0"
+ }
+ })
+
+ verify_request_count(
+ test_id: test_id,
+ method: "GET",
+ url_path: "/guardian/factors/email/settings",
+ query_params: nil,
+ expected: 1
+ )
+ end
+
+ def test_guardian_factors_email_set_with_wiremock
+ test_id = "guardian.factors.email.set.0"
+
+ @client.guardian.factors.email.set(
+ otp_length: 1,
+ otp_expiration_time: 1,
+ request_options: {
+ additional_headers: {
+ "X-Test-Id" => "guardian.factors.email.set.0"
+ }
+ }
+ )
+
+ verify_request_count(
+ test_id: test_id,
+ method: "PUT",
+ url_path: "/guardian/factors/email/settings",
+ query_params: nil,
+ expected: 1
+ )
+ end
+end
diff --git a/test/wire/guardian_factors_phone_test.rb b/test/wire/guardian_factors_phone_test.rb
index 77f990478..66b456e5b 100644
--- a/test/wire/guardian_factors_phone_test.rb
+++ b/test/wire/guardian_factors_phone_test.rb
@@ -126,6 +126,46 @@ def test_guardian_factors_phone_set_provider_with_wiremock
)
end
+ def test_guardian_factors_phone_get_with_wiremock
+ test_id = "guardian.factors.phone.get.0"
+
+ @client.guardian.factors.phone.get(request_options: {
+ additional_headers: {
+ "X-Test-Id" => "guardian.factors.phone.get.0"
+ }
+ })
+
+ verify_request_count(
+ test_id: test_id,
+ method: "GET",
+ url_path: "/guardian/factors/phone/settings",
+ query_params: nil,
+ expected: 1
+ )
+ end
+
+ def test_guardian_factors_phone_set_with_wiremock
+ test_id = "guardian.factors.phone.set.0"
+
+ @client.guardian.factors.phone.set(
+ otp_length: 1,
+ otp_expiration_time: 1,
+ request_options: {
+ additional_headers: {
+ "X-Test-Id" => "guardian.factors.phone.set.0"
+ }
+ }
+ )
+
+ verify_request_count(
+ test_id: test_id,
+ method: "PUT",
+ url_path: "/guardian/factors/phone/settings",
+ query_params: nil,
+ expected: 1
+ )
+ end
+
def test_guardian_factors_phone_get_templates_with_wiremock
test_id = "guardian.factors.phone.get_templates.0"
diff --git a/test/wire/guardian_test.rb b/test/wire/guardian_test.rb
new file mode 100644
index 000000000..bf6cbc0ab
--- /dev/null
+++ b/test/wire/guardian_test.rb
@@ -0,0 +1,56 @@
+# frozen_string_literal: true
+
+require_relative "wiremock_test_case"
+
+class GuardianWireTest < WireMockTestCase
+ def setup
+ super
+
+ @client = Auth0::Management.new(
+ token: "",
+ base_url: WIREMOCK_BASE_URL
+ )
+ end
+
+ def test_guardian_get_with_wiremock
+ test_id = "guardian.get.0"
+
+ @client.guardian.get(request_options: {
+ additional_headers: {
+ "X-Test-Id" => "guardian.get.0"
+ }
+ })
+
+ verify_request_count(
+ test_id: test_id,
+ method: "GET",
+ url_path: "/guardian/settings",
+ query_params: nil,
+ expected: 1
+ )
+ end
+
+ def test_guardian_set_with_wiremock
+ test_id = "guardian.set.0"
+
+ @client.guardian.set(
+ display_remember_me_checkbox: true,
+ remember_me_default_value: true,
+ mfa_session_inactivity_timeout: 1,
+ mfa_session_overall_timeout: 1,
+ request_options: {
+ additional_headers: {
+ "X-Test-Id" => "guardian.set.0"
+ }
+ }
+ )
+
+ verify_request_count(
+ test_id: test_id,
+ method: "PUT",
+ url_path: "/guardian/settings",
+ query_params: nil,
+ expected: 1
+ )
+ end
+end
diff --git a/test/wire/organization_templates_test.rb b/test/wire/organization_templates_test.rb
deleted file mode 100644
index 0c23b7977..000000000
--- a/test/wire/organization_templates_test.rb
+++ /dev/null
@@ -1,127 +0,0 @@
-# frozen_string_literal: true
-
-require_relative "wiremock_test_case"
-
-class OrganizationTemplatesWireTest < WireMockTestCase
- def setup
- super
-
- @client = Auth0::Management.new(
- token: "",
- base_url: WIREMOCK_BASE_URL
- )
- end
-
- def test_organization_templates_list_with_wiremock
- test_id = "organization_templates.list.0"
-
- result = @client.organization_templates.list(
- from: "from",
- take: 1,
- request_options: {
- additional_headers: {
- "X-Test-Id" => "organization_templates.list.0"
- }
- }
- )
- result.pages.next_page
-
- verify_request_count(
- test_id: test_id,
- method: "GET",
- url_path: "/organization-templates",
- query_params: nil,
- expected: 1
- )
- end
-
- def test_organization_templates_create_with_wiremock
- test_id = "organization_templates.create.0"
-
- @client.organization_templates.create(
- name: "name",
- organization_deletion_behavior: "allow",
- enforce_permission_ceiling: true,
- enforce_self_assignment_restriction: true,
- request_options: {
- additional_headers: {
- "X-Test-Id" => "organization_templates.create.0"
- }
- }
- )
-
- verify_request_count(
- test_id: test_id,
- method: "POST",
- url_path: "/organization-templates",
- query_params: nil,
- expected: 1
- )
- end
-
- def test_organization_templates_get_with_wiremock
- test_id = "organization_templates.get.0"
-
- @client.organization_templates.get(
- id: "id",
- request_options: {
- additional_headers: {
- "X-Test-Id" => "organization_templates.get.0"
- }
- }
- )
-
- verify_request_count(
- test_id: test_id,
- method: "GET",
- url_path: "/organization-templates/id",
- query_params: nil,
- expected: 1
- )
- end
-
- def test_organization_templates_update_with_wiremock
- test_id = "organization_templates.update.0"
-
- @client.organization_templates.update(
- id: "id",
- request_options: {
- additional_headers: {
- "X-Test-Id" => "organization_templates.update.0"
- }
- }
- )
-
- verify_request_count(
- test_id: test_id,
- method: "PATCH",
- url_path: "/organization-templates/id",
- query_params: nil,
- expected: 1
- )
- end
-
- def test_organization_templates_list_organizations_with_wiremock
- test_id = "organization_templates.list_organizations.0"
-
- result = @client.organization_templates.list_organizations(
- id: "id",
- from: "from",
- take: 1,
- request_options: {
- additional_headers: {
- "X-Test-Id" => "organization_templates.list_organizations.0"
- }
- }
- )
- result.pages.next_page
-
- verify_request_count(
- test_id: test_id,
- method: "GET",
- url_path: "/organization-templates/id/organizations",
- query_params: nil,
- expected: 1
- )
- end
-end
diff --git a/test/wire/organizations_test.rb b/test/wire/organizations_test.rb
index d85f66d7c..d998ae8fb 100644
--- a/test/wire/organizations_test.rb
+++ b/test/wire/organizations_test.rb
@@ -80,6 +80,32 @@ def test_organizations_get_by_name_with_wiremock
)
end
+ def test_organizations_search_with_wiremock
+ test_id = "organizations.search.0"
+
+ result = @client.organizations.search(
+ q: "q",
+ parser: "scim",
+ take: 1,
+ from: "from",
+ sort: "name",
+ request_options: {
+ additional_headers: {
+ "X-Test-Id" => "organizations.search.0"
+ }
+ }
+ )
+ result.pages.next_page
+
+ verify_request_count(
+ test_id: test_id,
+ method: "GET",
+ url_path: "/organizations/search",
+ query_params: nil,
+ expected: 1
+ )
+ end
+
def test_organizations_get_with_wiremock
test_id = "organizations.get.0"
diff --git a/test/wire/resource_servers_test.rb b/test/wire/resource_servers_test.rb
index 9fcc37187..f61fe209d 100644
--- a/test/wire/resource_servers_test.rb
+++ b/test/wire/resource_servers_test.rb
@@ -59,6 +59,34 @@ def test_resource_servers_create_with_wiremock
)
end
+ def test_resource_servers_search_with_wiremock
+ test_id = "resource_servers.search.0"
+
+ result = @client.resource_servers.search(
+ q: "q",
+ parser: "scim",
+ fields: "fields",
+ include_fields: true,
+ take: 1,
+ from: "from",
+ sort: "identifier",
+ request_options: {
+ additional_headers: {
+ "X-Test-Id" => "resource_servers.search.0"
+ }
+ }
+ )
+ result.pages.next_page
+
+ verify_request_count(
+ test_id: test_id,
+ method: "GET",
+ url_path: "/resource-servers/search",
+ query_params: nil,
+ expected: 1
+ )
+ end
+
def test_resource_servers_get_with_wiremock
test_id = "resource_servers.get.0"
diff --git a/wiremock/wiremock-mappings.json b/wiremock/wiremock-mappings.json
index f4e74dd92..4782c38b6 100644
--- a/wiremock/wiremock-mappings.json
+++ b/wiremock/wiremock-mappings.json
@@ -753,7 +753,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ]\n}",
+ "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ]\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -785,7 +785,7 @@
},
"response": {
"status": 201,
- "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
+ "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -891,7 +891,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
+ "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -963,7 +963,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
+ "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -999,7 +999,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
+ "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -3007,6 +3007,69 @@
}
}
},
+ {
+ "id": "030ba040-b4c7-4f3a-80f7-7fb0d0f518d4",
+ "name": "Get Guardian Settings - default",
+ "request": {
+ "urlPathTemplate": "/guardian/settings",
+ "method": "GET",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "body": "{\n \"display_remember_me_checkbox\": true,\n \"remember_me_default_value\": true,\n \"mfa_session_inactivity_timeout\": 1,\n \"mfa_session_overall_timeout\": 1\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "030ba040-b4c7-4f3a-80f7-7fb0d0f518d4",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ },
+ "postServeActions": []
+ },
+ {
+ "id": "907da77c-fa4a-45bc-ae41-5c52367c3a9b",
+ "name": "Set the Guardian Settings - default",
+ "request": {
+ "urlPathTemplate": "/guardian/settings",
+ "method": "PUT",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "body": "{\n \"display_remember_me_checkbox\": true,\n \"remember_me_default_value\": true,\n \"mfa_session_inactivity_timeout\": 1,\n \"mfa_session_overall_timeout\": 1\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "907da77c-fa4a-45bc-ae41-5c52367c3a9b",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ }
+ },
{
"id": "8e59d144-ec26-4602-a30e-51471fa41a83",
"name": "Get hooks - default",
@@ -3720,10 +3783,10 @@
}
},
{
- "id": "8032ba05-4233-422f-87a0-dbe77dca80ed",
- "name": "Get organization templates - default",
+ "id": "a4016e68-1c58-4a5c-b698-27ca350b937c",
+ "name": "Get organizations - default",
"request": {
- "urlPathTemplate": "/organization-templates",
+ "urlPathTemplate": "/organizations",
"method": "GET",
"headers": {
"Authorization": {
@@ -3731,22 +3794,31 @@
}
},
"queryParameters": {
+ "include_totals": {
+ "equalTo": "true"
+ },
"from": {
"equalTo": "from"
},
"take": {
"equalTo": "1"
+ },
+ "sort": {
+ "equalTo": "sort"
+ },
+ "include_client_association_for": {
+ "equalTo": "include_client_association_for"
}
}
},
"response": {
"status": 200,
- "body": "{\n \"next\": \"next\",\n \"organization_templates\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_default\": true,\n \"organization_deletion_behavior\": \"allow\",\n \"connection_deletion_behavior\": \"allow\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true,\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"adfs\"\n ],\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"admin_roles_assignment\": [\n \"admin_roles_assignment\"\n ],\n \"use_for_organization_discovery\": {\n \"default_value\": true\n },\n \"role_visibility_policy\": {\n \"default_value\": \"write\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}",
+ "body": "{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true\n }\n ]\n}",
"headers": {
"Content-Type": "application/json"
}
},
- "uuid": "8032ba05-4233-422f-87a0-dbe77dca80ed",
+ "uuid": "a4016e68-1c58-4a5c-b698-27ca350b937c",
"persistent": true,
"priority": 3,
"metadata": {
@@ -3760,10 +3832,10 @@
"postServeActions": []
},
{
- "id": "d0ef713b-3207-460d-8c96-60d152baf538",
- "name": "Create an organization template - default",
+ "id": "61349de2-c20a-4002-822b-9ed84e87ca1f",
+ "name": "Create an Organization - default",
"request": {
- "urlPathTemplate": "/organization-templates",
+ "urlPathTemplate": "/organizations",
"method": "POST",
"headers": {
"Authorization": {
@@ -3773,12 +3845,12 @@
},
"response": {
"status": 201,
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_default\": true,\n \"organization_deletion_behavior\": \"allow\",\n \"connection_deletion_behavior\": \"allow\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true,\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"adfs\"\n ],\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"admin_roles_assignment\": [\n \"admin_roles_assignment\"\n ],\n \"use_for_organization_discovery\": {\n \"default_value\": true,\n \"allowed_values\": [\n true\n ]\n },\n \"role_visibility_policy\": {\n \"default_value\": \"write\",\n \"overrides\": [\n {\n \"role_id\": \"role_id\",\n \"access\": \"write\"\n }\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true,\n \"client\": {\n \"use_for_member_access\": true\n },\n \"enabled_connections\": [\n {\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true\n }\n ]\n}",
"headers": {
"Content-Type": "application/json"
}
},
- "uuid": "d0ef713b-3207-460d-8c96-60d152baf538",
+ "uuid": "61349de2-c20a-4002-822b-9ed84e87ca1f",
"persistent": true,
"priority": 3,
"metadata": {
@@ -3791,10 +3863,10 @@
}
},
{
- "id": "96d95b7a-7269-4bdc-98df-28fb7c1d2c5a",
- "name": "Get organization template - default",
+ "id": "dabd338a-8798-40ba-aaa0-8ce9b262b711",
+ "name": "Get organization by name - default",
"request": {
- "urlPathTemplate": "/organization-templates/{id}",
+ "urlPathTemplate": "/organizations/name/{name}",
"method": "GET",
"headers": {
"Authorization": {
@@ -3802,55 +3874,19 @@
}
},
"pathParameters": {
- "id": {
- "equalTo": "id"
- }
- }
- },
- "response": {
- "status": 200,
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_default\": true,\n \"organization_deletion_behavior\": \"allow\",\n \"connection_deletion_behavior\": \"allow\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true,\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"adfs\"\n ],\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"admin_roles_assignment\": [\n \"admin_roles_assignment\"\n ],\n \"use_for_organization_discovery\": {\n \"default_value\": true,\n \"allowed_values\": [\n true\n ]\n },\n \"role_visibility_policy\": {\n \"default_value\": \"write\",\n \"overrides\": [\n {\n \"role_id\": \"role_id\",\n \"access\": \"write\"\n }\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
- "headers": {
- "Content-Type": "application/json"
- }
- },
- "uuid": "96d95b7a-7269-4bdc-98df-28fb7c1d2c5a",
- "persistent": true,
- "priority": 3,
- "metadata": {
- "mocklab": {
- "created": {
- "at": "2020-01-01T00:00:00.000Z",
- "via": "SYSTEM"
- }
- }
- }
- },
- {
- "id": "ef471896-6d56-4f21-99e3-8d4dcb359dde",
- "name": "Modify an organization template - default",
- "request": {
- "urlPathTemplate": "/organization-templates/{id}",
- "method": "PATCH",
- "headers": {
- "Authorization": {
- "matches": "Bearer .+"
- }
- },
- "pathParameters": {
- "id": {
- "equalTo": "id"
+ "name": {
+ "equalTo": "name"
}
}
},
"response": {
"status": 200,
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_default\": true,\n \"organization_deletion_behavior\": \"allow\",\n \"connection_deletion_behavior\": \"allow\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true,\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"adfs\"\n ],\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"admin_roles_assignment\": [\n \"admin_roles_assignment\"\n ],\n \"use_for_organization_discovery\": {\n \"default_value\": true,\n \"allowed_values\": [\n true\n ]\n },\n \"role_visibility_policy\": {\n \"default_value\": \"write\",\n \"overrides\": [\n {\n \"role_id\": \"role_id\",\n \"access\": \"write\"\n }\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}",
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true,\n \"client\": {\n \"use_for_member_access\": true\n }\n}",
"headers": {
"Content-Type": "application/json"
}
},
- "uuid": "ef471896-6d56-4f21-99e3-8d4dcb359dde",
+ "uuid": "dabd338a-8798-40ba-aaa0-8ce9b262b711",
"persistent": true,
"priority": 3,
"metadata": {
@@ -3863,86 +3899,42 @@
}
},
{
- "id": "8efcf58a-7877-473d-89dd-b497be80ab92",
- "name": "Get organizations assigned to a template - default",
+ "id": "649058a2-0c93-4131-92c0-7ce68e3716db",
+ "name": "Search organizations - default",
"request": {
- "urlPathTemplate": "/organization-templates/{id}/organizations",
+ "urlPathTemplate": "/organizations/search",
"method": "GET",
"headers": {
"Authorization": {
"matches": "Bearer .+"
}
},
- "pathParameters": {
- "id": {
- "equalTo": "id"
- }
- },
"queryParameters": {
- "from": {
- "equalTo": "from"
+ "q": {
+ "equalTo": "q"
+ },
+ "parser": {
+ "equalTo": "scim"
},
"take": {
"equalTo": "1"
- }
- }
- },
- "response": {
- "status": 200,
- "body": "{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\"\n }\n ]\n}",
- "headers": {
- "Content-Type": "application/json"
- }
- },
- "uuid": "8efcf58a-7877-473d-89dd-b497be80ab92",
- "persistent": true,
- "priority": 3,
- "metadata": {
- "mocklab": {
- "created": {
- "at": "2020-01-01T00:00:00.000Z",
- "via": "SYSTEM"
- }
- }
- }
- },
- {
- "id": "a4016e68-1c58-4a5c-b698-27ca350b937c",
- "name": "Get organizations - default",
- "request": {
- "urlPathTemplate": "/organizations",
- "method": "GET",
- "headers": {
- "Authorization": {
- "matches": "Bearer .+"
- }
- },
- "queryParameters": {
- "include_totals": {
- "equalTo": "true"
},
"from": {
"equalTo": "from"
},
- "take": {
- "equalTo": "1"
- },
"sort": {
- "equalTo": "sort"
- },
- "include_client_association_for": {
- "equalTo": "include_client_association_for"
+ "equalTo": "name"
}
}
},
"response": {
"status": 200,
- "body": "{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true\n }\n ]\n}",
+ "body": "{\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true\n }\n ],\n \"next\": \"next\"\n}",
"headers": {
"Content-Type": "application/json"
}
},
- "uuid": "a4016e68-1c58-4a5c-b698-27ca350b937c",
+ "uuid": "649058a2-0c93-4131-92c0-7ce68e3716db",
"persistent": true,
"priority": 3,
"metadata": {
@@ -3955,73 +3947,6 @@
},
"postServeActions": []
},
- {
- "id": "61349de2-c20a-4002-822b-9ed84e87ca1f",
- "name": "Create an Organization - default",
- "request": {
- "urlPathTemplate": "/organizations",
- "method": "POST",
- "headers": {
- "Authorization": {
- "matches": "Bearer .+"
- }
- }
- },
- "response": {
- "status": 201,
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true,\n \"client\": {\n \"use_for_member_access\": true\n },\n \"enabled_connections\": [\n {\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true\n }\n ]\n}",
- "headers": {
- "Content-Type": "application/json"
- }
- },
- "uuid": "61349de2-c20a-4002-822b-9ed84e87ca1f",
- "persistent": true,
- "priority": 3,
- "metadata": {
- "mocklab": {
- "created": {
- "at": "2020-01-01T00:00:00.000Z",
- "via": "SYSTEM"
- }
- }
- }
- },
- {
- "id": "dabd338a-8798-40ba-aaa0-8ce9b262b711",
- "name": "Get organization by name - default",
- "request": {
- "urlPathTemplate": "/organizations/name/{name}",
- "method": "GET",
- "headers": {
- "Authorization": {
- "matches": "Bearer .+"
- }
- },
- "pathParameters": {
- "name": {
- "equalTo": "name"
- }
- }
- },
- "response": {
- "status": 200,
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"third_party_client_access\": \"block\",\n \"is_app_entitlement_active\": true,\n \"client\": {\n \"use_for_member_access\": true\n }\n}",
- "headers": {
- "Content-Type": "application/json"
- }
- },
- "uuid": "dabd338a-8798-40ba-aaa0-8ce9b262b711",
- "persistent": true,
- "priority": 3,
- "metadata": {
- "mocklab": {
- "created": {
- "at": "2020-01-01T00:00:00.000Z",
- "via": "SYSTEM"
- }
- }
- }
- },
{
"id": "da7fe10b-f528-48cf-b4e0-8d769617a66c",
"name": "Get organization - default",
@@ -4607,7 +4532,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n }\n ]\n}",
+ "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n }\n ]\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -4639,7 +4564,7 @@
},
"response": {
"status": 201,
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -4656,6 +4581,61 @@
}
}
},
+ {
+ "id": "d0cae775-80a1-4fdf-bda8-308cccbf3e2d",
+ "name": "Search resource servers - default",
+ "request": {
+ "urlPathTemplate": "/resource-servers/search",
+ "method": "GET",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ },
+ "queryParameters": {
+ "q": {
+ "equalTo": "q"
+ },
+ "parser": {
+ "equalTo": "scim"
+ },
+ "fields": {
+ "equalTo": "fields"
+ },
+ "include_fields": {
+ "equalTo": "true"
+ },
+ "take": {
+ "equalTo": "1"
+ },
+ "from": {
+ "equalTo": "from"
+ },
+ "sort": {
+ "equalTo": "identifier"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "body": "{\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n }\n ],\n \"next\": \"next\"\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "d0cae775-80a1-4fdf-bda8-308cccbf3e2d",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ },
+ "postServeActions": []
+ },
{
"id": "da399a32-c9a2-481c-9995-fc402c47f72a",
"name": "Get a resource server - default",
@@ -4680,7 +4660,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -4752,7 +4732,7 @@
},
"response": {
"status": 201,
- "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
+ "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n },\n \"anonymous_user\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -10081,6 +10061,42 @@
}
}
},
+ {
+ "id": "82b4942b-e9d7-43ff-9167-27f89f0fb6e3",
+ "name": "Advance the rollout level of a ramp experiment. - default",
+ "request": {
+ "urlPathTemplate": "/experimentation/experiments/{id}/advance-ramp",
+ "method": "POST",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ },
+ "pathParameters": {
+ "id": {
+ "equalTo": "id"
+ }
+ }
+ },
+ "response": {
+ "status": 201,
+ "body": "{\n \"experiment_id\": \"experiment_id\",\n \"from_level\": 1,\n \"to_level\": 1,\n \"current_level\": 1\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "82b4942b-e9d7-43ff-9167-27f89f0fb6e3",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ }
+ },
{
"id": "62d121a4-93bc-4281-8659-06708ac8d781",
"name": "Get flow executions - default",
@@ -10797,6 +10813,69 @@
}
}
},
+ {
+ "id": "42069ebb-c0f8-4cbd-9a08-c6006af4bdc2",
+ "name": "Get Email Factor Settings - default",
+ "request": {
+ "urlPathTemplate": "/guardian/factors/email/settings",
+ "method": "GET",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "body": "{\n \"otp_length\": 1,\n \"otp_expiration_time\": 1\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "42069ebb-c0f8-4cbd-9a08-c6006af4bdc2",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ },
+ "postServeActions": []
+ },
+ {
+ "id": "2e305645-5aea-4725-9542-96afbf858842",
+ "name": "Set the Email Factor Settings - default",
+ "request": {
+ "urlPathTemplate": "/guardian/factors/email/settings",
+ "method": "PUT",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "body": "{\n \"otp_length\": 1,\n \"otp_expiration_time\": 1\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "2e305645-5aea-4725-9542-96afbf858842",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ }
+ },
{
"id": "ed435b3e-66b6-47b0-882f-08d926944cad",
"name": "Get Enabled Phone Factors - default",
@@ -10986,6 +11065,69 @@
}
}
},
+ {
+ "id": "a1c996a2-8f68-4dd2-9497-e1fac204c099",
+ "name": "Get Phone Factor Settings - default",
+ "request": {
+ "urlPathTemplate": "/guardian/factors/phone/settings",
+ "method": "GET",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "body": "{\n \"otp_length\": 1,\n \"otp_expiration_time\": 1\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "a1c996a2-8f68-4dd2-9497-e1fac204c099",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ },
+ "postServeActions": []
+ },
+ {
+ "id": "d96e86d1-f45b-45a8-ac01-0c50ac8b829e",
+ "name": "Set the Phone Factor Settings - default",
+ "request": {
+ "urlPathTemplate": "/guardian/factors/phone/settings",
+ "method": "PUT",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "body": "{\n \"otp_length\": 1,\n \"otp_expiration_time\": 1\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "d96e86d1-f45b-45a8-ac01-0c50ac8b829e",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ }
+ },
{
"id": "0e83b2df-19bf-4909-b1c4-0522a7f929a3",
"name": "Get Enrollment and Verification Phone Templates - default",
@@ -15414,7 +15556,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}",
+ "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true,\n \"anonymous\": {\n \"lifetime_in_minutes\": 1,\n \"activate_cookie\": true\n }\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -15446,7 +15588,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}",
+ "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true,\n \"anonymous\": {\n \"lifetime_in_minutes\": 1,\n \"activate_cookie\": true\n }\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -16963,6 +17105,6 @@
}
],
"meta": {
- "total": 453
+ "total": 457
}
}
\ No newline at end of file
From 41336ad8404b106aaea37a52fe21e97cb8801ad3 Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Fri, 11 Sep 2026 02:45:21 +0000
Subject: [PATCH 2/3] [fern-replay] advance lockfile
---
.fern/replay.lock | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.fern/replay.lock b/.fern/replay.lock
index 5dbe7dbaa..72a9aba0a 100644
--- a/.fern/replay.lock
+++ b/.fern/replay.lock
@@ -42,5 +42,11 @@ generations:
cli_version: unknown
generator_versions:
fernapi/fern-ruby-sdk: 1.17.8
-current_generation: 78116dc530cd08317c9323863f3127c2fdec29ee
+ - commit_sha: af0e4ccb617c25e289450e2e16bc590d07ecafaa
+ tree_hash: 028cbd1bfed980bf2cc7959747c57330d8a6642f
+ timestamp: 2026-09-11T02:45:18.087Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-ruby-sdk: 1.17.8
+current_generation: af0e4ccb617c25e289450e2e16bc590d07ecafaa
patches: []
From 8117d9aad1f9cc7ff3e0250603e2054eaab5ff68 Mon Sep 17 00:00:00 2001
From: Kunal Dawar
Date: Fri, 11 Sep 2026 10:53:25 +0530
Subject: [PATCH 3/3] Restore auth_client require and timeout/headers params in
client.rb
---
lib/auth0/client.rb | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/lib/auth0/client.rb b/lib/auth0/client.rb
index ac5abc562..bf30f8628 100644
--- a/lib/auth0/client.rb
+++ b/lib/auth0/client.rb
@@ -4,24 +4,23 @@ module Auth0
class Management
# @param token [String]
# @param base_url [String, nil]
- # @param tenant_domain [String, nil]
- # @param max_retries [Integer]
+ # @param timeout [Float, nil] Request timeout in seconds.
+ # @param max_retries [Integer, nil] Maximum number of request retries.
+ # @param headers [Hash, nil] Additional headers to include in requests.
#
# @return [void]
- def initialize(token:, base_url: nil, tenant_domain: nil, max_retries: 2)
- if base_url.nil? && (!tenant_domain.nil?)
- tenant_domain_value = tenant_domain.nil? ? "{TENANT}.auth0.com" : tenant_domain
- base_url = "https://#{tenant_domain_value}/api/v2"
- end
-
- @raw_client = Auth0::Internal::Http::RawClient.new(
+ def initialize(token:, base_url: nil, timeout: nil, max_retries: nil, headers: nil)
+ raw_client_opts = {
base_url: base_url || Auth0::Environment::DEFAULT,
headers: {
"X-Fern-Language" => "Ruby",
Authorization: "Bearer #{token}"
- },
- max_retries: max_retries
- )
+ }.merge(headers || {})
+ }
+ raw_client_opts[:timeout] = timeout if timeout
+ raw_client_opts[:max_retries] = max_retries if max_retries
+
+ @raw_client = Auth0::Internal::Http::RawClient.new(**raw_client_opts)
end
# @return [Auth0::Actions::Client]
@@ -260,3 +259,5 @@ def verifiable_credentials
end
end
end
+
+require_relative "auth_client"