diff --git a/.fern/metadata.json b/.fern/metadata.json index 8d66d544..2a111a82 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -10,9 +10,9 @@ "offsetSemantics": "page-index", "useDefaultRequestParameterValues": true }, - "originGitCommit": "275ad23d02d33d550693bc23ebae86dfa8ee7101", + "originGitCommit": "aefe30334437d71b2ff2f2167e02f15659ee5f83", "originGitCommitIsDirty": false, "invokedBy": "ci", "ciProvider": "github", - "sdkVersion": "6.4.1" + "sdkVersion": "6.5.1" } \ No newline at end of file diff --git a/.fern/replay.lock b/.fern/replay.lock index 3c86e5f2..170f8b14 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -6,5 +6,11 @@ generations: timestamp: 2026-10-27T11:22:31.372Z cli_version: unknown generator_versions: {} -current_generation: 1af018d42213a5a5a4a5857b8ee326c968405184 + - commit_sha: 1f0cde99ca7fdddcfc5635a1f41bf51a7efe863c + tree_hash: 781e4e5affb287da31d3713a3f16811228a7ada7 + timestamp: 2026-10-27T11:30:28.609Z + cli_version: unknown + generator_versions: + fernapi/fern-ruby-sdk: 1.24.1 +current_generation: 1f0cde99ca7fdddcfc5635a1f41bf51a7efe863c patches: [] diff --git a/lib/auth0.rb b/lib/auth0.rb index fbd06ae9..c51eeaef 100644 --- a/lib/auth0.rb +++ b/lib/auth0.rb @@ -149,23 +149,6 @@ require_relative "auth0/types/attack_protection_captcha_auth_challenge_response_content" require_relative "auth0/types/attack_protection_captcha_friendly_captcha_response_content" require_relative "auth0/types/attack_protection_captcha_hcaptcha_response_content" -require_relative "auth0/types/captcha_active_provider_enum" -require_relative "auth0/types/captcha_policy_action_arkose" -require_relative "auth0/types/captcha_policy_action_auth_challenge" -require_relative "auth0/types/captcha_policy_action_friendly_captcha" -require_relative "auth0/types/captcha_policy_action_hcaptcha" -require_relative "auth0/types/captcha_policy_action_recaptcha_enterprise" -require_relative "auth0/types/captcha_policy_action_recaptcha_v2" -require_relative "auth0/types/captcha_policy_action_simple_captcha" -require_relative "auth0/types/attack_protection_captcha_policy_action" -require_relative "auth0/types/attack_protection_captcha_policy_match" -require_relative "auth0/types/attack_protection_captcha_policy" -require_relative "auth0/types/captcha_policy_action_arkose_input" -require_relative "auth0/types/captcha_policy_action_friendly_captcha_input" -require_relative "auth0/types/captcha_policy_action_hcaptcha_input" -require_relative "auth0/types/captcha_policy_action_recaptcha_enterprise_input" -require_relative "auth0/types/captcha_policy_action_recaptcha_v2input" -require_relative "auth0/types/attack_protection_captcha_policy_action_input" require_relative "auth0/types/attack_protection_captcha_provider_id" require_relative "auth0/types/attack_protection_captcha_recaptcha_enterprise_response_content" require_relative "auth0/types/attack_protection_captcha_recaptcha_v2response_content" @@ -312,6 +295,8 @@ require_relative "auth0/types/client_oidc_backchannel_logout_initiators" require_relative "auth0/types/client_oidc_backchannel_logout_session_metadata" require_relative "auth0/types/client_oidc_backchannel_logout_settings" +require_relative "auth0/types/client_oidc_support_allowed_scopes_enum" +require_relative "auth0/types/client_oidc_support" require_relative "auth0/types/client_organization_discovery_enum" require_relative "auth0/types/client_organization_require_behavior_enum" require_relative "auth0/types/client_organization_usage_enum" @@ -372,7 +357,6 @@ require_relative "auth0/types/client_grant_sort_field_enum" require_relative "auth0/types/client_my_organization_patch_configuration" require_relative "auth0/types/client_my_organization_post_configuration" -require_relative "auth0/types/client_oidc_support_allowed_scopes_enum" require_relative "auth0/types/client_oidc_support_patch" require_relative "auth0/types/client_oidc_support_post" require_relative "auth0/types/client_organization_require_behavior_patch_enum" @@ -481,6 +465,7 @@ require_relative "auth0/types/connection_client_id_o_auth2" require_relative "auth0/types/connection_client_id_oidc" require_relative "auth0/types/connection_client_id_paypal" +require_relative "auth0/types/connection_client_id_samlxaa_requesting_app" require_relative "auth0/types/connection_client_id_salesforce" require_relative "auth0/types/connection_client_id_windows_live" require_relative "auth0/types/connection_options_idp_initiated_client_protocol_enum_saml" @@ -499,6 +484,7 @@ require_relative "auth0/types/connection_client_secret_o_auth2" require_relative "auth0/types/connection_client_secret_oidc" require_relative "auth0/types/connection_client_secret_paypal" +require_relative "auth0/types/connection_client_secret_samlxaa_requesting_app" require_relative "auth0/types/connection_client_secret_salesforce" require_relative "auth0/types/connection_client_secret_windows_live" require_relative "auth0/types/connection_display_name" @@ -646,6 +632,8 @@ require_relative "auth0/types/connection_scope_amazon" require_relative "auth0/types/connection_options_amazon" require_relative "auth0/types/connection_options_apple" +require_relative "auth0/types/connection_otp_channel_settings" +require_relative "auth0/types/connection_otp_settings" require_relative "auth0/types/connection_passkey_challenge_ui_enum" require_relative "auth0/types/connection_passkey_options" require_relative "auth0/types/connection_password_complexity_options" @@ -972,6 +960,7 @@ require_relative "auth0/types/connection_response_content_yandex_strategy" require_relative "auth0/types/connection_response_content_yandex" require_relative "auth0/types/connection_strategy_enum" +require_relative "auth0/types/consent_signing_key" require_relative "auth0/types/csp_directives" require_relative "auth0/types/csp_flag" require_relative "auth0/types/csp_flags" @@ -1900,6 +1889,7 @@ require_relative "auth0/types/resource_server_token_encryption_format_enum" require_relative "auth0/types/resource_server_token_encryption_key" require_relative "auth0/types/resource_server_token_encryption" +require_relative "auth0/types/resource_server_type_enum" require_relative "auth0/types/create_resource_server_response_content" require_relative "auth0/types/role_owner_id" require_relative "auth0/types/role_type_enum" @@ -2252,6 +2242,10 @@ require_relative "auth0/types/event_stream_cloud_event_context_request_geo" require_relative "auth0/types/event_stream_cloud_event_context_request" require_relative "auth0/types/event_stream_cloud_event_context_tenant" +require_relative "auth0/types/event_stream_cloud_event_context_transaction_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_context_transaction_response_mode_enum" +require_relative "auth0/types/event_stream_cloud_event_context_transaction_response_type_item_enum" +require_relative "auth0/types/event_stream_cloud_event_context_transaction" require_relative "auth0/types/event_stream_cloud_event_context" require_relative "auth0/types/event_stream_cloud_event_connection_created_data" require_relative "auth0/types/event_stream_cloud_event_spec_version_enum" @@ -3547,7 +3541,6 @@ require_relative "auth0/types/list_aculs_response_content_item" require_relative "auth0/types/list_aculs_offset_paginated_response_content" require_relative "auth0/types/list_agents_response_content" -require_relative "auth0/types/list_attack_protection_captcha_policies_response_content" require_relative "auth0/types/phone_provider_schema_masked" require_relative "auth0/types/list_branding_phone_providers_response_content" require_relative "auth0/types/list_client_connections_response_content" @@ -3644,6 +3637,7 @@ require_relative "auth0/types/list_user_blocks_by_identifier_response_content" require_relative "auth0/types/list_user_blocks_response_content" require_relative "auth0/types/list_user_connected_accounts_response_content" +require_relative "auth0/types/list_user_consent_signing_keys_response_content" require_relative "auth0/types/user_effective_permission_role_source_enum" require_relative "auth0/types/user_effective_permission_role_source_response_content" require_relative "auth0/types/list_user_effective_permission_role_sources_response_content" @@ -4114,9 +4108,6 @@ require_relative "auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content" require_relative "auth0/attack_protection/captcha/client" require_relative "auth0/attack_protection/captcha/types/update_attack_protection_captcha_request_content" -require_relative "auth0/attack_protection/captcha_policies/client" -require_relative "auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content" -require_relative "auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content" require_relative "auth0/attack_protection/phone_provider_protection/client" require_relative "auth0/attack_protection/phone_provider_protection/types/patch_phone_provider_protection_request_content" require_relative "auth0/attack_protection/suspicious_ip_throttling/client" diff --git a/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb b/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb index a200e83f..4564bdb9 100644 --- a/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb +++ b/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb @@ -13,9 +13,9 @@ class UpdateBruteForceSettingsRequestContent < Internal::Types::Model field :mode, -> { Auth0::Types::BruteForceProtectionModeEnum }, optional: true, nullable: false - field :max_attempts, -> { Integer }, optional: true, nullable: false - field :form_submission_mode, -> { Auth0::Types::BruteForceProtectionFormSubmissionModeEnum }, optional: true, nullable: false + + field :max_attempts, -> { Integer }, optional: true, nullable: false end end end diff --git a/lib/auth0/attack_protection/captcha_policies/client.rb b/lib/auth0/attack_protection/captcha_policies/client.rb deleted file mode 100644 index 9bc41727..00000000 --- a/lib/auth0/attack_protection/captcha_policies/client.rb +++ /dev/null @@ -1,210 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module AttackProtection - module CaptchaPolicies - class Client - # @param client [Auth0::Internal::Http::RawClient] - # - # @return [void] - def initialize(client:) - @client = client - end - - # Retrieve all CAPTCHA attack protection policies for the tenant, sorted by priority ascending. - # - # @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 - # - # @example - # client.attack_protection.captcha_policies.list - # - # @return [Array[Auth0::Types::AttackProtectionCaptchaPolicy]] - def list(request_options: {}, **_params) - request = Auth0::Internal::JSON::Request.new( - base_url: request_options[:base_url], - method: "GET", - path: "attack-protection/captcha/policies", - 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) - (response.body.to_s.empty? ? nil : Auth0::Types::ListAttackProtectionCaptchaPoliciesResponseContent.load(response.body)) - else - error_class = Auth0::Errors::ResponseError.subclass_for_code(code) - raise error_class.new(response.body, code: code) - end - end - - # Create a new CAPTCHA attack protection policy for the tenant. The maximum number of policies per tenant is - # determined by the tenant's subscription. - # - # @param request_options [Hash] - # @param params [Auth0::AttackProtection::CaptchaPolicies::Types::CreateAttackProtectionCaptchaPolicyRequestContent] - # @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 - # - # @example - # client.attack_protection.captcha_policies.create( - # name: "name", - # priority: 1, - # match: {}, - # action: {} - # ) - # - # @return [Auth0::Types::AttackProtectionCaptchaPolicy] - 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: "attack-protection/captcha/policies", - body: Auth0::AttackProtection::CaptchaPolicies::Types::CreateAttackProtectionCaptchaPolicyRequestContent.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) - (response.body.to_s.empty? ? nil : Auth0::Types::AttackProtectionCaptchaPolicy.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 single CAPTCHA attack protection policy for the tenant 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 - # - # @example - # client.attack_protection.captcha_policies.get(id: "id") - # - # @return [Auth0::Types::AttackProtectionCaptchaPolicy] - 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: "attack-protection/captcha/policies/#{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) - (response.body.to_s.empty? ? nil : Auth0::Types::AttackProtectionCaptchaPolicy.load(response.body)) - else - error_class = Auth0::Errors::ResponseError.subclass_for_code(code) - raise error_class.new(response.body, code: code) - end - end - - # Delete a CAPTCHA attack protection policy for the tenant. - # - # @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 - # - # @example - # client.attack_protection.captcha_policies.delete(id: "id") - # - # @return [untyped] - def delete(request_options: {}, **params) - params = Auth0::Internal::Types::Utils.normalize_keys(params) - request = Auth0::Internal::JSON::Request.new( - base_url: request_options[:base_url], - method: "DELETE", - path: "attack-protection/captcha/policies/#{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 - return if code.between?(200, 299) - - error_class = Auth0::Errors::ResponseError.subclass_for_code(code) - raise error_class.new(response.body, code: code) - end - - # Partially update a CAPTCHA attack protection policy. Only the provided fields are modified. A provided match - # or action replaces the stored value in full rather than merging with it; within action, a provider secret or - # API key that is omitted from a provided provider block keeps its stored value. - # - # @param request_options [Hash] - # @param params [Auth0::AttackProtection::CaptchaPolicies::Types::UpdateAttackProtectionCaptchaPolicyRequestContent] - # @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 - # - # @example - # client.attack_protection.captcha_policies.update(id: "id") - # - # @return [Auth0::Types::AttackProtectionCaptchaPolicy] - def update(request_options: {}, **params) - params = Auth0::Internal::Types::Utils.normalize_keys(params) - request_data = Auth0::AttackProtection::CaptchaPolicies::Types::UpdateAttackProtectionCaptchaPolicyRequestContent.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: "attack-protection/captcha/policies/#{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) - (response.body.to_s.empty? ? nil : Auth0::Types::AttackProtectionCaptchaPolicy.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/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content.rb b/lib/auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content.rb deleted file mode 100644 index 8cd10405..00000000 --- a/lib/auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module AttackProtection - module CaptchaPolicies - module Types - class CreateAttackProtectionCaptchaPolicyRequestContent < Internal::Types::Model - field :name, -> { String }, optional: false, nullable: false - - field :description, -> { String }, optional: true, nullable: false - - field :priority, -> { Integer }, optional: false, nullable: false - - field :match, -> { Auth0::Types::AttackProtectionCaptchaPolicyMatch }, optional: false, nullable: false - - field :action, -> { Auth0::Types::AttackProtectionCaptchaPolicyActionInput }, optional: false, nullable: false - end - end - end - end -end diff --git a/lib/auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content.rb b/lib/auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content.rb deleted file mode 100644 index fe02d546..00000000 --- a/lib/auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module AttackProtection - module CaptchaPolicies - module Types - class UpdateAttackProtectionCaptchaPolicyRequestContent < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :name, -> { String }, optional: true, nullable: false - - field :description, -> { String }, optional: true, nullable: false - - field :priority, -> { Integer }, optional: true, nullable: false - - field :match, -> { Auth0::Types::AttackProtectionCaptchaPolicyMatch }, optional: true, nullable: false - - field :action, -> { Auth0::Types::AttackProtectionCaptchaPolicyActionInput }, optional: true, nullable: false - end - end - end - end -end diff --git a/lib/auth0/attack_protection/client.rb b/lib/auth0/attack_protection/client.rb index 1e5f3f09..ed318358 100644 --- a/lib/auth0/attack_protection/client.rb +++ b/lib/auth0/attack_protection/client.rb @@ -30,11 +30,6 @@ def captcha @captcha ||= Auth0::AttackProtection::Captcha::Client.new(client: @client) end - # @return [Auth0::CaptchaPolicies::Client] - def captcha_policies - @captcha_policies ||= Auth0::AttackProtection::CaptchaPolicies::Client.new(client: @client) - end - # @return [Auth0::PhoneProviderProtection::Client] def phone_provider_protection @phone_provider_protection ||= Auth0::AttackProtection::PhoneProviderProtection::Client.new(client: @client) diff --git a/lib/auth0/client.rb b/lib/auth0/client.rb index 5d48a7da..d4d37732 100644 --- a/lib/auth0/client.rb +++ b/lib/auth0/client.rb @@ -4,12 +4,20 @@ module Auth0 class Management # @param token [String] # @param base_url [String, nil] + # @param tenant_domain [String, nil] Tenant domain, such as "example.auth0.com", used to build the base URL. # @param timeout [Float, nil] Request timeout in seconds. - # @param max_retries [Integer, nil] Maximum number of request retries. + # @param max_retries [Integer] Maximum number of request retries, defaults to 2. # @param headers [Hash, nil] Additional headers to include in requests. # # @return [void] - def initialize(token:, base_url: nil, timeout: nil, max_retries: nil, headers: nil) + def initialize(token:, base_url: nil, tenant_domain: nil, timeout: nil, max_retries: 2, headers: nil) + unless tenant_domain.nil? + environment_url_templates = { + Auth0::Environment::DEFAULT => "https://#{tenant_domain}/api/v2" + } + base_url = base_url.nil? ? "https://#{tenant_domain}/api/v2" : environment_url_templates.fetch(base_url, base_url) + end + raw_client_opts = { base_url: base_url || Auth0::Environment::DEFAULT, headers: { diff --git a/lib/auth0/experimentation/experiments/client.rb b/lib/auth0/experimentation/experiments/client.rb index 068f0f06..d5c7c0c4 100644 --- a/lib/auth0/experimentation/experiments/client.rb +++ b/lib/auth0/experimentation/experiments/client.rb @@ -88,7 +88,8 @@ def list(request_options: {}, **params) # client.experimentation.experiments.create( # name: "name", # feature_flag_id: "feature_flag_id", - # authentication_flow: "authentication" + # authentication_flow: "authentication", + # allocation_strategy: "percentage" # ) # # @return [Auth0::Types::CreateExperimentResponseContent] diff --git a/lib/auth0/experimentation/experiments/types/create_experiment_request_content.rb b/lib/auth0/experimentation/experiments/types/create_experiment_request_content.rb index 896b20da..dcdbfd78 100644 --- a/lib/auth0/experimentation/experiments/types/create_experiment_request_content.rb +++ b/lib/auth0/experimentation/experiments/types/create_experiment_request_content.rb @@ -15,7 +15,7 @@ class CreateExperimentRequestContent < Internal::Types::Model field :default_config, -> { Auth0::Types::DefaultConfigEnum }, optional: true, nullable: false - field :allocation_strategy, -> { Auth0::Types::AllocationStrategyEnum }, optional: true, nullable: false + field :allocation_strategy, -> { Auth0::Types::AllocationStrategyEnum }, optional: false, nullable: false field :allocations, -> { Internal::Types::Array[Auth0::Types::AllocationRequestItem] }, optional: true, nullable: false diff --git a/lib/auth0/experimentation/segments/client.rb b/lib/auth0/experimentation/segments/client.rb index 205d0778..6c056f93 100644 --- a/lib/auth0/experimentation/segments/client.rb +++ b/lib/auth0/experimentation/segments/client.rb @@ -23,12 +23,14 @@ def initialize(client:) # @option params [String, nil] :from # @option params [Integer, nil] :take # @option params [Auth0::Types::SegmentTypeFilterEnum, nil] :type + # @option params [Auth0::Types::SegmentStatusEnum, nil] :status # # @example # client.experimentation.segments.list( # from: "from", # take: 1, - # type: "auth0" + # type: "auth0", + # status: "active" # ) # # @return [Auth0::Types::ListSegmentsResponseContent] @@ -38,6 +40,7 @@ def list(request_options: {}, **params) query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) query_params["type"] = params[:type] if params.key?(:type) + query_params["status"] = params[:status] if params.key?(:status) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, diff --git a/lib/auth0/experimentation/segments/types/list_segments_request_parameters.rb b/lib/auth0/experimentation/segments/types/list_segments_request_parameters.rb index 1d34d670..08ff89df 100644 --- a/lib/auth0/experimentation/segments/types/list_segments_request_parameters.rb +++ b/lib/auth0/experimentation/segments/types/list_segments_request_parameters.rb @@ -10,6 +10,8 @@ class ListSegmentsRequestParameters < Internal::Types::Model field :take, -> { Integer }, optional: true, nullable: false field :type, -> { Auth0::Types::SegmentTypeFilterEnum }, optional: true, nullable: false + + field :status, -> { Auth0::Types::SegmentStatusEnum }, optional: true, nullable: false end end end 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 ad234b80..9ea6d110 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 @@ -45,6 +45,8 @@ class CreateResourceServerRequestContent < Internal::Types::Model field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false + + field :type, -> { Auth0::Types::ResourceServerTypeEnum }, optional: true, nullable: false 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 297dcf36..7543bc62 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 @@ -45,6 +45,8 @@ class UpdateResourceServerRequestContent < Internal::Types::Model field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false + + field :type, -> { Auth0::Types::ResourceServerTypeEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/attack_protection_captcha_policy.rb b/lib/auth0/types/attack_protection_captcha_policy.rb deleted file mode 100644 index 1c5978a5..00000000 --- a/lib/auth0/types/attack_protection_captcha_policy.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # An attack protection policy override for CAPTCHA. - class AttackProtectionCaptchaPolicy < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :name, -> { String }, optional: false, nullable: false - - field :description, -> { String }, optional: true, nullable: false - - field :priority, -> { Integer }, optional: false, nullable: false - - field :match, -> { Auth0::Types::AttackProtectionCaptchaPolicyMatch }, optional: false, nullable: false - - field :action, -> { Auth0::Types::AttackProtectionCaptchaPolicyAction }, optional: false, nullable: false - - field :created_at, -> { String }, optional: false, nullable: false - - field :updated_at, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/auth0/types/attack_protection_captcha_policy_action.rb b/lib/auth0/types/attack_protection_captcha_policy_action.rb deleted file mode 100644 index 4ec68efe..00000000 --- a/lib/auth0/types/attack_protection_captcha_policy_action.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # CAPTCHA configuration override stored for this policy. - class AttackProtectionCaptchaPolicyAction < Internal::Types::Model - field :active_provider_id, -> { Auth0::Types::CaptchaActiveProviderEnum }, optional: true, nullable: false - - field :simple_captcha, -> { Auth0::Types::CaptchaPolicyActionSimpleCaptcha }, optional: true, nullable: false - - field :auth_challenge, -> { Auth0::Types::CaptchaPolicyActionAuthChallenge }, optional: true, nullable: false - - field :recaptcha_v2, -> { Auth0::Types::CaptchaPolicyActionRecaptchaV2 }, optional: true, nullable: false - - field :recaptcha_enterprise, -> { Auth0::Types::CaptchaPolicyActionRecaptchaEnterprise }, optional: true, nullable: false - - field :hcaptcha, -> { Auth0::Types::CaptchaPolicyActionHcaptcha }, optional: true, nullable: false - - field :friendly_captcha, -> { Auth0::Types::CaptchaPolicyActionFriendlyCaptcha }, optional: true, nullable: false - - field :arkose, -> { Auth0::Types::CaptchaPolicyActionArkose }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/attack_protection_captcha_policy_action_input.rb b/lib/auth0/types/attack_protection_captcha_policy_action_input.rb deleted file mode 100644 index 2e0e67df..00000000 --- a/lib/auth0/types/attack_protection_captcha_policy_action_input.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # CAPTCHA configuration override for this policy. - class AttackProtectionCaptchaPolicyActionInput < Internal::Types::Model - field :active_provider_id, -> { Auth0::Types::CaptchaActiveProviderEnum }, optional: true, nullable: false - - field :simple_captcha, -> { Auth0::Types::CaptchaPolicyActionSimpleCaptcha }, optional: true, nullable: false - - field :auth_challenge, -> { Auth0::Types::CaptchaPolicyActionAuthChallenge }, optional: true, nullable: false - - field :recaptcha_v2, -> { Auth0::Types::CaptchaPolicyActionRecaptchaV2Input }, optional: true, nullable: false - - field :recaptcha_enterprise, -> { Auth0::Types::CaptchaPolicyActionRecaptchaEnterpriseInput }, optional: true, nullable: false - - field :hcaptcha, -> { Auth0::Types::CaptchaPolicyActionHcaptchaInput }, optional: true, nullable: false - - field :friendly_captcha, -> { Auth0::Types::CaptchaPolicyActionFriendlyCaptchaInput }, optional: true, nullable: false - - field :arkose, -> { Auth0::Types::CaptchaPolicyActionArkoseInput }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/attack_protection_captcha_policy_match.rb b/lib/auth0/types/attack_protection_captcha_policy_match.rb deleted file mode 100644 index 10c471ab..00000000 --- a/lib/auth0/types/attack_protection_captcha_policy_match.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # Traffic matching criteria for the policy. Exactly one of auth0_managed or geo_country_codes must be specified. - class AttackProtectionCaptchaPolicyMatch < Internal::Types::Model - field :auth0managed, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "auth0_managed" - - field :geo_country_codes, -> { Internal::Types::Array[String] }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_active_provider_enum.rb b/lib/auth0/types/captcha_active_provider_enum.rb deleted file mode 100644 index 7ff271d5..00000000 --- a/lib/auth0/types/captcha_active_provider_enum.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - module CaptchaActiveProviderEnum - extend Auth0::Internal::Types::Enum - - SIMPLE_CAPTCHA = "simple_captcha" - AUTH_CHALLENGE = "auth_challenge" - RECAPTCHA_V2 = "recaptcha_v2" - RECAPTCHA_ENTERPRISE = "recaptcha_enterprise" - HCAPTCHA = "hcaptcha" - FRIENDLY_CAPTCHA = "friendly_captcha" - ARKOSE = "arkose" - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_arkose.rb b/lib/auth0/types/captcha_policy_action_arkose.rb deleted file mode 100644 index 78abbadb..00000000 --- a/lib/auth0/types/captcha_policy_action_arkose.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # Arkose Labs provider configuration. - class CaptchaPolicyActionArkose < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - - field :client_subdomain, -> { String }, optional: true, nullable: false - - field :verify_subdomain, -> { String }, optional: true, nullable: false - - field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_arkose_input.rb b/lib/auth0/types/captcha_policy_action_arkose_input.rb deleted file mode 100644 index 5a158658..00000000 --- a/lib/auth0/types/captcha_policy_action_arkose_input.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # Arkose Labs provider configuration. - class CaptchaPolicyActionArkoseInput < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - - field :secret, -> { String }, optional: true, nullable: false - - field :client_subdomain, -> { String }, optional: true, nullable: false - - field :verify_subdomain, -> { String }, optional: true, nullable: false - - field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_auth_challenge.rb b/lib/auth0/types/captcha_policy_action_auth_challenge.rb deleted file mode 100644 index 8cf600a3..00000000 --- a/lib/auth0/types/captcha_policy_action_auth_challenge.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # Auth Challenge CAPTCHA provider configuration. - class CaptchaPolicyActionAuthChallenge < Internal::Types::Model - field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_friendly_captcha.rb b/lib/auth0/types/captcha_policy_action_friendly_captcha.rb deleted file mode 100644 index 01e814b8..00000000 --- a/lib/auth0/types/captcha_policy_action_friendly_captcha.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # Friendly Captcha provider configuration. - class CaptchaPolicyActionFriendlyCaptcha < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_friendly_captcha_input.rb b/lib/auth0/types/captcha_policy_action_friendly_captcha_input.rb deleted file mode 100644 index 7e25dbb9..00000000 --- a/lib/auth0/types/captcha_policy_action_friendly_captcha_input.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # Friendly Captcha provider configuration. - class CaptchaPolicyActionFriendlyCaptchaInput < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - - field :secret, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_hcaptcha.rb b/lib/auth0/types/captcha_policy_action_hcaptcha.rb deleted file mode 100644 index 9c7efd2b..00000000 --- a/lib/auth0/types/captcha_policy_action_hcaptcha.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # hCaptcha provider configuration. - class CaptchaPolicyActionHcaptcha < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_hcaptcha_input.rb b/lib/auth0/types/captcha_policy_action_hcaptcha_input.rb deleted file mode 100644 index 64d8a476..00000000 --- a/lib/auth0/types/captcha_policy_action_hcaptcha_input.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # hCaptcha provider configuration. - class CaptchaPolicyActionHcaptchaInput < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - - field :secret, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_recaptcha_enterprise.rb b/lib/auth0/types/captcha_policy_action_recaptcha_enterprise.rb deleted file mode 100644 index bb07cf24..00000000 --- a/lib/auth0/types/captcha_policy_action_recaptcha_enterprise.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # reCAPTCHA Enterprise provider configuration. - class CaptchaPolicyActionRecaptchaEnterprise < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - - field :project_id, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_recaptcha_enterprise_input.rb b/lib/auth0/types/captcha_policy_action_recaptcha_enterprise_input.rb deleted file mode 100644 index 99badfbe..00000000 --- a/lib/auth0/types/captcha_policy_action_recaptcha_enterprise_input.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # reCAPTCHA Enterprise provider configuration. - class CaptchaPolicyActionRecaptchaEnterpriseInput < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - - field :project_id, -> { String }, optional: true, nullable: false - - field :api_key, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_recaptcha_v2.rb b/lib/auth0/types/captcha_policy_action_recaptcha_v2.rb deleted file mode 100644 index 8fe1dacd..00000000 --- a/lib/auth0/types/captcha_policy_action_recaptcha_v2.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # reCAPTCHA v2 provider configuration. - class CaptchaPolicyActionRecaptchaV2 < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_recaptcha_v2input.rb b/lib/auth0/types/captcha_policy_action_recaptcha_v2input.rb deleted file mode 100644 index 6a603099..00000000 --- a/lib/auth0/types/captcha_policy_action_recaptcha_v2input.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # reCAPTCHA v2 provider configuration. - class CaptchaPolicyActionRecaptchaV2Input < Internal::Types::Model - field :site_key, -> { String }, optional: true, nullable: false - - field :secret, -> { String }, optional: true, nullable: false - end - end -end diff --git a/lib/auth0/types/captcha_policy_action_simple_captcha.rb b/lib/auth0/types/captcha_policy_action_simple_captcha.rb deleted file mode 100644 index 09dc28aa..00000000 --- a/lib/auth0/types/captcha_policy_action_simple_captcha.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - # Simple CAPTCHA provider configuration. - class CaptchaPolicyActionSimpleCaptcha < Internal::Types::Model; end - end -end diff --git a/lib/auth0/types/client.rb b/lib/auth0/types/client.rb index eaa0631e..5d9860d4 100644 --- a/lib/auth0/types/client.rb +++ b/lib/auth0/types/client.rb @@ -127,6 +127,8 @@ class Client < Internal::Types::Model field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :oidc_support, -> { Auth0::Types::ClientOidcSupport }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false field :resource_server_identifier, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/client_oidc_support.rb b/lib/auth0/types/client_oidc_support.rb new file mode 100644 index 00000000..a820efca --- /dev/null +++ b/lib/auth0/types/client_oidc_support.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OIDC support configuration for this client. + class ClientOidcSupport < Internal::Types::Model + field :is_allowed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :allow_all_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :allowed_scopes, -> { Internal::Types::Array[Auth0::Types::ClientOidcSupportAllowedScopesEnum] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_search_response.rb b/lib/auth0/types/client_search_response.rb index d9f6fb87..dd069420 100644 --- a/lib/auth0/types/client_search_response.rb +++ b/lib/auth0/types/client_search_response.rb @@ -119,6 +119,8 @@ class ClientSearchResponse < Internal::Types::Model field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :oidc_support, -> { Auth0::Types::ClientOidcSupport }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false field :resource_server_identifier, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/list_attack_protection_captcha_policies_response_content.rb b/lib/auth0/types/connection_client_id_samlxaa_requesting_app.rb similarity index 70% rename from lib/auth0/types/list_attack_protection_captcha_policies_response_content.rb rename to lib/auth0/types/connection_client_id_samlxaa_requesting_app.rb index 06d735de..9510f141 100644 --- a/lib/auth0/types/list_attack_protection_captcha_policies_response_content.rb +++ b/lib/auth0/types/connection_client_id_samlxaa_requesting_app.rb @@ -2,8 +2,8 @@ module Auth0 module Types - module ListAttackProtectionCaptchaPoliciesResponseContent - # ListAttackProtectionCaptchaPoliciesResponseContent is an alias for Array + module ConnectionClientIDSamlxaaRequestingApp + # ConnectionClientIDSamlxaaRequestingApp is an alias for ConnectionClientIDOidc # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_samlxaa_requesting_app.rb b/lib/auth0/types/connection_client_secret_samlxaa_requesting_app.rb new file mode 100644 index 00000000..51192e67 --- /dev/null +++ b/lib/auth0/types/connection_client_secret_samlxaa_requesting_app.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ConnectionClientSecretSamlxaaRequestingApp + # ConnectionClientSecretSamlxaaRequestingApp is an alias for String + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/connection_options_auth0.rb b/lib/auth0/types/connection_options_auth0.rb index 228cb710..55cccd17 100644 --- a/lib/auth0/types/connection_options_auth0.rb +++ b/lib/auth0/types/connection_options_auth0.rb @@ -28,6 +28,8 @@ class ConnectionOptionsAuth0 < Internal::Types::Model field :mfa, -> { Auth0::Types::ConnectionMfa }, optional: true, nullable: false + field :otp_settings, -> { Auth0::Types::ConnectionOtpSettings }, optional: true, nullable: false + field :passkey_options, -> { Auth0::Types::ConnectionPasskeyOptions }, optional: true, nullable: false field :password_policy, -> { Auth0::Types::ConnectionPasswordPolicyEnum }, optional: true, nullable: false, api_name: "passwordPolicy" diff --git a/lib/auth0/types/connection_options_saml.rb b/lib/auth0/types/connection_options_saml.rb index aa9fc82f..954844a3 100644 --- a/lib/auth0/types/connection_options_saml.rb +++ b/lib/auth0/types/connection_options_saml.rb @@ -40,6 +40,10 @@ class ConnectionOptionsSAML < Internal::Types::Model field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + + field :client_secret, -> { String }, optional: true, nullable: false + field :debug, -> { Internal::Types::Boolean }, optional: true, nullable: false field :deflate, -> { Internal::Types::Boolean }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_otp_channel_settings.rb b/lib/auth0/types/connection_otp_channel_settings.rb new file mode 100644 index 00000000..059b60e3 --- /dev/null +++ b/lib/auth0/types/connection_otp_channel_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OTP settings for a delivery channel. + class ConnectionOtpChannelSettings < Internal::Types::Model + field :otp_length, -> { Integer }, optional: true, nullable: false + + field :otp_expiry, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/connection_otp_settings.rb b/lib/auth0/types/connection_otp_settings.rb new file mode 100644 index 00000000..c0fc52c4 --- /dev/null +++ b/lib/auth0/types/connection_otp_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # One-time password settings, configurable per delivery channel. + class ConnectionOtpSettings < Internal::Types::Model + field :email, -> { Auth0::Types::ConnectionOtpChannelSettings }, optional: true, nullable: false + + field :phone, -> { Auth0::Types::ConnectionOtpChannelSettings }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/connection_properties_options.rb b/lib/auth0/types/connection_properties_options.rb index ed5c22de..89b13e34 100644 --- a/lib/auth0/types/connection_properties_options.rb +++ b/lib/auth0/types/connection_properties_options.rb @@ -22,6 +22,8 @@ class ConnectionPropertiesOptions < Internal::Types::Model field :custom_scripts, -> { Auth0::Types::ConnectionCustomScripts }, optional: true, nullable: false, api_name: "customScripts" + field :otp_settings, -> { Auth0::Types::ConnectionOtpSettings }, optional: true, nullable: false + field :authentication_methods, -> { Auth0::Types::ConnectionAuthenticationMethods }, optional: true, nullable: false field :passkey_options, -> { Auth0::Types::ConnectionPasskeyOptions }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_saml.rb b/lib/auth0/types/connection_response_content_saml.rb index 92301016..3b01ff39 100644 --- a/lib/auth0/types/connection_response_content_saml.rb +++ b/lib/auth0/types/connection_response_content_saml.rb @@ -24,6 +24,8 @@ class ConnectionResponseContentSAML < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentSAMLStrategy }, optional: false, nullable: false + field :cross_app_access_requesting_app, -> { Auth0::Types::CrossAppAccessRequestingApp }, optional: true, nullable: false + field :cross_app_access_resource_app, -> { Auth0::Types::ConnectionCrossAppAccessResourceApp }, optional: true, nullable: false field :options, -> { Auth0::Types::ConnectionOptionsSAML }, optional: true, nullable: false diff --git a/lib/auth0/types/consent_signing_key.rb b/lib/auth0/types/consent_signing_key.rb new file mode 100644 index 00000000..c10e8f5c --- /dev/null +++ b/lib/auth0/types/consent_signing_key.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class ConsentSigningKey < Internal::Types::Model + field :kid, -> { String }, optional: false, nullable: false + + field :device_identifier, -> { String }, optional: false, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :expires_at, -> { String }, 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 52fc691a..9d53a8ee 100644 --- a/lib/auth0/types/create_client_response_content.rb +++ b/lib/auth0/types/create_client_response_content.rb @@ -127,6 +127,8 @@ class CreateClientResponseContent < Internal::Types::Model field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :oidc_support, -> { Auth0::Types::ClientOidcSupport }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false field :resource_server_identifier, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/create_connection_request_content_saml.rb b/lib/auth0/types/create_connection_request_content_saml.rb index 5cf02242..796db4ca 100644 --- a/lib/auth0/types/create_connection_request_content_saml.rb +++ b/lib/auth0/types/create_connection_request_content_saml.rb @@ -16,6 +16,8 @@ class CreateConnectionRequestContentSAML < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentSAMLStrategy }, optional: false, nullable: false + field :cross_app_access_requesting_app, -> { Auth0::Types::CrossAppAccessRequestingApp }, optional: true, nullable: false + field :cross_app_access_resource_app, -> { Auth0::Types::ConnectionCrossAppAccessResourceApp }, optional: true, nullable: false field :options, -> { Auth0::Types::ConnectionOptionsSAML }, 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 58f3839b..01a3ad28 100644 --- a/lib/auth0/types/create_resource_server_response_content.rb +++ b/lib/auth0/types/create_resource_server_response_content.rb @@ -52,6 +52,8 @@ class CreateResourceServerResponseContent < Internal::Types::Model field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false field :client_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::ResourceServerTypeEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/event_stream_cloud_event_context.rb b/lib/auth0/types/event_stream_cloud_event_context.rb index 77023a60..d8674bba 100644 --- a/lib/auth0/types/event_stream_cloud_event_context.rb +++ b/lib/auth0/types/event_stream_cloud_event_context.rb @@ -15,6 +15,8 @@ class EventStreamCloudEventContext < Internal::Types::Model field :request, -> { Auth0::Types::EventStreamCloudEventContextRequest }, optional: true, nullable: false field :tenant, -> { Auth0::Types::EventStreamCloudEventContextTenant }, optional: false, nullable: false + + field :transaction, -> { Auth0::Types::EventStreamCloudEventContextTransaction }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/event_stream_cloud_event_context_transaction.rb b/lib/auth0/types/event_stream_cloud_event_context_transaction.rb new file mode 100644 index 00000000..5e27fd5a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_transaction.rb @@ -0,0 +1,30 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # An auth transaction. + class EventStreamCloudEventContextTransaction < Internal::Types::Model + field :acr_values, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :locale, -> { String }, optional: false, nullable: false + + field :login_hint, -> { String }, optional: true, nullable: false + + field :prompt, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :protocol, -> { Auth0::Types::EventStreamCloudEventContextTransactionProtocolEnum }, optional: true, nullable: false + + field :redirect_uri, -> { String }, optional: true, nullable: false + + field :requested_scopes, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :response_mode, -> { Auth0::Types::EventStreamCloudEventContextTransactionResponseModeEnum }, optional: true, nullable: false + + field :response_type, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventContextTransactionResponseTypeItemEnum] }, optional: true, nullable: false + + field :state, -> { String }, optional: true, nullable: false + + field :ui_locales, -> { Internal::Types::Array[String] }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context_transaction_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_context_transaction_protocol_enum.rb new file mode 100644 index 00000000..96a2ae5b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_transaction_protocol_enum.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventContextTransactionProtocolEnum + extend Auth0::Internal::Types::Enum + + OIDC_BASIC_PROFILE = "oidc-basic-profile" + OIDC_IMPLICIT_PROFILE = "oidc-implicit-profile" + OAUTH2DEVICE_CODE = "oauth2-device-code" + OAUTH2RESOURCE_OWNER = "oauth2-resource-owner" + OAUTH2RESOURCE_OWNER_JWT_BEARER = "oauth2-resource-owner-jwt-bearer" + OAUTH2PASSWORD = "oauth2-password" + OAUTH2WEBAUTHN = "oauth2-webauthn" + OAUTH2ACCESS_TOKEN = "oauth2-access-token" + OAUTH2REFRESH_TOKEN = "oauth2-refresh-token" + OAUTH2TOKEN_EXCHANGE = "oauth2-token-exchange" + OIDC_HYBRID_PROFILE = "oidc-hybrid-profile" + SAMLP = "samlp" + WSFED = "wsfed" + WSTRUST_USERNAMEMIXED = "wstrust-usernamemixed" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context_transaction_response_mode_enum.rb b/lib/auth0/types/event_stream_cloud_event_context_transaction_response_mode_enum.rb new file mode 100644 index 00000000..1b0fa2ba --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_transaction_response_mode_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventContextTransactionResponseModeEnum + extend Auth0::Internal::Types::Enum + + QUERY = "query" + FRAGMENT = "fragment" + FORM_POST = "form_post" + WEB_MESSAGE = "web_message" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context_transaction_response_type_item_enum.rb b/lib/auth0/types/event_stream_cloud_event_context_transaction_response_type_item_enum.rb new file mode 100644 index 00000000..a0600c69 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_transaction_response_type_item_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventContextTransactionResponseTypeItemEnum + extend Auth0::Internal::Types::Enum + + CODE = "code" + TOKEN = "token" + ID_TOKEN = "id_token" + end + end +end diff --git a/lib/auth0/types/get_brute_force_settings_response_content.rb b/lib/auth0/types/get_brute_force_settings_response_content.rb index cedc4a5b..5555d77e 100644 --- a/lib/auth0/types/get_brute_force_settings_response_content.rb +++ b/lib/auth0/types/get_brute_force_settings_response_content.rb @@ -11,9 +11,9 @@ class GetBruteForceSettingsResponseContent < Internal::Types::Model field :mode, -> { Auth0::Types::BruteForceProtectionModeEnum }, optional: true, nullable: false - field :max_attempts, -> { Integer }, optional: true, nullable: false - field :form_submission_mode, -> { Auth0::Types::BruteForceProtectionFormSubmissionModeEnum }, optional: true, nullable: false + + field :max_attempts, -> { Integer }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/get_client_response_content.rb b/lib/auth0/types/get_client_response_content.rb index b2a78266..671c03cf 100644 --- a/lib/auth0/types/get_client_response_content.rb +++ b/lib/auth0/types/get_client_response_content.rb @@ -127,6 +127,8 @@ class GetClientResponseContent < Internal::Types::Model field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :oidc_support, -> { Auth0::Types::ClientOidcSupport }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false field :resource_server_identifier, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/get_resource_server_response_content.rb b/lib/auth0/types/get_resource_server_response_content.rb index c8474164..7bcbdb84 100644 --- a/lib/auth0/types/get_resource_server_response_content.rb +++ b/lib/auth0/types/get_resource_server_response_content.rb @@ -52,6 +52,8 @@ class GetResourceServerResponseContent < Internal::Types::Model field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false field :client_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::ResourceServerTypeEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/guardian_factor_name_enum.rb b/lib/auth0/types/guardian_factor_name_enum.rb index 5cd9f887..065e2d64 100644 --- a/lib/auth0/types/guardian_factor_name_enum.rb +++ b/lib/auth0/types/guardian_factor_name_enum.rb @@ -13,6 +13,7 @@ module GuardianFactorNameEnum WEBAUTHN_ROAMING = "webauthn-roaming" WEBAUTHN_PLATFORM = "webauthn-platform" RECOVERY_CODE = "recovery-code" + PASSKEY = "passkey" end end end diff --git a/lib/auth0/types/list_user_consent_signing_keys_response_content.rb b/lib/auth0/types/list_user_consent_signing_keys_response_content.rb new file mode 100644 index 00000000..f8af9341 --- /dev/null +++ b/lib/auth0/types/list_user_consent_signing_keys_response_content.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ListUserConsentSigningKeysResponseContent + # ListUserConsentSigningKeysResponseContent is an alias for Array + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/resource_server.rb b/lib/auth0/types/resource_server.rb index 3910e361..273d9e11 100644 --- a/lib/auth0/types/resource_server.rb +++ b/lib/auth0/types/resource_server.rb @@ -52,6 +52,8 @@ class ResourceServer < Internal::Types::Model field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false field :client_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::ResourceServerTypeEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/resource_server_search_response.rb b/lib/auth0/types/resource_server_search_response.rb index b7e88c91..21d3e62b 100644 --- a/lib/auth0/types/resource_server_search_response.rb +++ b/lib/auth0/types/resource_server_search_response.rb @@ -50,6 +50,8 @@ class ResourceServerSearchResponse < Internal::Types::Model field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false field :client_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::ResourceServerTypeEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/resource_server_type_enum.rb b/lib/auth0/types/resource_server_type_enum.rb new file mode 100644 index 00000000..452100a6 --- /dev/null +++ b/lib/auth0/types/resource_server_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ResourceServerTypeEnum + extend Auth0::Internal::Types::Enum + + UNIVERSAL_COMMERCE_PROTOCOL_SERVER = "universal_commerce_protocol_server" + 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 3982f080..c8ee36db 100644 --- a/lib/auth0/types/rotate_client_secret_response_content.rb +++ b/lib/auth0/types/rotate_client_secret_response_content.rb @@ -127,6 +127,8 @@ class RotateClientSecretResponseContent < Internal::Types::Model field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :oidc_support, -> { Auth0::Types::ClientOidcSupport }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false field :resource_server_identifier, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/update_brute_force_settings_response_content.rb b/lib/auth0/types/update_brute_force_settings_response_content.rb index 4b722414..955f6e18 100644 --- a/lib/auth0/types/update_brute_force_settings_response_content.rb +++ b/lib/auth0/types/update_brute_force_settings_response_content.rb @@ -11,9 +11,9 @@ class UpdateBruteForceSettingsResponseContent < Internal::Types::Model field :mode, -> { Auth0::Types::BruteForceProtectionModeEnum }, optional: true, nullable: false - field :max_attempts, -> { Integer }, optional: true, nullable: false - field :form_submission_mode, -> { Auth0::Types::BruteForceProtectionFormSubmissionModeEnum }, optional: true, nullable: false + + field :max_attempts, -> { Integer }, optional: true, 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 2526a92e..a34381a5 100644 --- a/lib/auth0/types/update_client_response_content.rb +++ b/lib/auth0/types/update_client_response_content.rb @@ -127,6 +127,8 @@ class UpdateClientResponseContent < Internal::Types::Model field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :oidc_support, -> { Auth0::Types::ClientOidcSupport }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false field :resource_server_identifier, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/update_connection_options.rb b/lib/auth0/types/update_connection_options.rb index 160bcc49..910ee14f 100644 --- a/lib/auth0/types/update_connection_options.rb +++ b/lib/auth0/types/update_connection_options.rb @@ -25,6 +25,8 @@ class UpdateConnectionOptions < Internal::Types::Model field :custom_scripts, -> { Auth0::Types::ConnectionCustomScripts }, optional: true, nullable: false, api_name: "customScripts" + field :otp_settings, -> { Auth0::Types::ConnectionOtpSettings }, optional: true, nullable: false + field :authentication_methods, -> { Auth0::Types::ConnectionAuthenticationMethods }, optional: true, nullable: false field :passkey_options, -> { Auth0::Types::ConnectionPasskeyOptions }, optional: true, nullable: false diff --git a/lib/auth0/types/update_connection_request_content_saml.rb b/lib/auth0/types/update_connection_request_content_saml.rb index 4102e41d..70ff847a 100644 --- a/lib/auth0/types/update_connection_request_content_saml.rb +++ b/lib/auth0/types/update_connection_request_content_saml.rb @@ -14,6 +14,8 @@ class UpdateConnectionRequestContentSAML < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsSAML }, optional: true, nullable: false + field :cross_app_access_requesting_app, -> { Auth0::Types::CrossAppAccessRequestingApp }, optional: true, nullable: false + field :cross_app_access_resource_app, -> { Auth0::Types::ConnectionCrossAppAccessResourceApp }, optional: true, nullable: false field :show_as_button, -> { Internal::Types::Boolean }, 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 52ee9e30..be8eb5f0 100644 --- a/lib/auth0/types/update_resource_server_response_content.rb +++ b/lib/auth0/types/update_resource_server_response_content.rb @@ -52,6 +52,8 @@ class UpdateResourceServerResponseContent < Internal::Types::Model field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false field :client_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::ResourceServerTypeEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/update_variation_overrides_map.rb b/lib/auth0/types/update_variation_overrides_map.rb index 269bd3b2..9ec399d5 100644 --- a/lib/auth0/types/update_variation_overrides_map.rb +++ b/lib/auth0/types/update_variation_overrides_map.rb @@ -3,7 +3,7 @@ module Auth0 module Types module UpdateVariationOverridesMap - # UpdateVariationOverridesMap is an alias for Hash + # UpdateVariationOverridesMap is an alias for Object # @option str [String] # diff --git a/lib/auth0/users/client.rb b/lib/auth0/users/client.rb index 9ec12496..eeb7b7d3 100644 --- a/lib/auth0/users/client.rb +++ b/lib/auth0/users/client.rb @@ -438,6 +438,126 @@ def update(request_options: {}, **params) end end + # Retrieve all consent signing keys registered for a user. Returns an empty array when the user has no keys + # registered. + # + # @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 + # + # @example + # client.users.list_consent_signing_keys(id: "id") + # + # @return [Array[Auth0::Types::ConsentSigningKey]] + def list_consent_signing_keys(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: "users/#{URI.encode_uri_component(params[:id].to_s)}/consent-signing-keys", + 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) + (response.body.to_s.empty? ? nil : Auth0::Types::ListUserConsentSigningKeysResponseContent.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 single consent signing key for a user by its key identifier (kid). Returns 404 if the key does not + # exist. + # + # @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] :kid + # + # @example + # client.users.get_consent_signing_key( + # id: "id", + # kid: "kid" + # ) + # + # @return [Auth0::Types::ConsentSigningKey] + def get_consent_signing_key(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: "users/#{URI.encode_uri_component(params[:id].to_s)}/consent-signing-keys/#{URI.encode_uri_component(params[:kid].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) + (response.body.to_s.empty? ? nil : Auth0::Types::ConsentSigningKey.load(response.body)) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Remove a single consent signing key for a user by its key identifier (kid). The operation is idempotent and + # returns 204 whether or not the key existed. + # + # @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] :kid + # + # @example + # client.users.delete_consent_signing_key( + # id: "id", + # kid: "kid" + # ) + # + # @return [untyped] + def delete_consent_signing_key(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "DELETE", + path: "users/#{URI.encode_uri_component(params[:id].to_s)}/consent-signing-keys/#{URI.encode_uri_component(params[:kid].to_s)}", + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + return if code.between?(200, 299) + + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + # Remove an existing multi-factor authentication (MFA) [recovery # code](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa) and generate a new one. If a # user cannot access the original device or account used for MFA enrollment, they can use a recovery code to diff --git a/test/wire/attack_protection_captcha_policies_test.rb b/test/wire/attack_protection_captcha_policies_test.rb deleted file mode 100644 index 5be9f5e9..00000000 --- a/test/wire/attack_protection_captcha_policies_test.rb +++ /dev/null @@ -1,119 +0,0 @@ -# frozen_string_literal: true - -require_relative "wiremock_test_case" - -class AttackProtectionCaptchaPoliciesWireTest < WireMockTestCase - def setup - super - - @client = Auth0::Management.new( - token: "", - base_url: WIREMOCK_BASE_URL - ) - end - - def test_attack_protection_captcha_policies_list_with_wiremock - test_id = "attack_protection.captcha_policies.list.0" - - @client.attack_protection.captcha_policies.list(request_options: { - additional_headers: { - "X-Test-Id" => "attack_protection.captcha_policies.list.0" - } - }) - - verify_request_count( - test_id: test_id, - method: "GET", - url_path: "/attack-protection/captcha/policies", - query_params: nil, - expected: 1 - ) - end - - def test_attack_protection_captcha_policies_create_with_wiremock - test_id = "attack_protection.captcha_policies.create.0" - - @client.attack_protection.captcha_policies.create( - name: "name", - priority: 1, - match: {}, - action: {}, - request_options: { - additional_headers: { - "X-Test-Id" => "attack_protection.captcha_policies.create.0" - } - } - ) - - verify_request_count( - test_id: test_id, - method: "POST", - url_path: "/attack-protection/captcha/policies", - query_params: nil, - expected: 1 - ) - end - - def test_attack_protection_captcha_policies_get_with_wiremock - test_id = "attack_protection.captcha_policies.get.0" - - @client.attack_protection.captcha_policies.get( - id: "id", - request_options: { - additional_headers: { - "X-Test-Id" => "attack_protection.captcha_policies.get.0" - } - } - ) - - verify_request_count( - test_id: test_id, - method: "GET", - url_path: "/attack-protection/captcha/policies/id", - query_params: nil, - expected: 1 - ) - end - - def test_attack_protection_captcha_policies_delete_with_wiremock - test_id = "attack_protection.captcha_policies.delete.0" - - @client.attack_protection.captcha_policies.delete( - id: "id", - request_options: { - additional_headers: { - "X-Test-Id" => "attack_protection.captcha_policies.delete.0" - } - } - ) - - verify_request_count( - test_id: test_id, - method: "DELETE", - url_path: "/attack-protection/captcha/policies/id", - query_params: nil, - expected: 1 - ) - end - - def test_attack_protection_captcha_policies_update_with_wiremock - test_id = "attack_protection.captcha_policies.update.0" - - @client.attack_protection.captcha_policies.update( - id: "id", - request_options: { - additional_headers: { - "X-Test-Id" => "attack_protection.captcha_policies.update.0" - } - } - ) - - verify_request_count( - test_id: test_id, - method: "PATCH", - url_path: "/attack-protection/captcha/policies/id", - query_params: nil, - expected: 1 - ) - end -end diff --git a/test/wire/experimentation_experiments_test.rb b/test/wire/experimentation_experiments_test.rb index 409cd38f..0f44bf4f 100644 --- a/test/wire/experimentation_experiments_test.rb +++ b/test/wire/experimentation_experiments_test.rb @@ -45,6 +45,7 @@ def test_experimentation_experiments_create_with_wiremock name: "name", feature_flag_id: "feature_flag_id", authentication_flow: "authentication", + allocation_strategy: "percentage", request_options: { additional_headers: { "X-Test-Id" => "experimentation.experiments.create.0" diff --git a/test/wire/experimentation_segments_test.rb b/test/wire/experimentation_segments_test.rb index da65a84a..2951bd34 100644 --- a/test/wire/experimentation_segments_test.rb +++ b/test/wire/experimentation_segments_test.rb @@ -19,6 +19,7 @@ def test_experimentation_segments_list_with_wiremock from: "from", take: 1, type: "auth0", + status: "active", request_options: { additional_headers: { "X-Test-Id" => "experimentation.segments.list.0" diff --git a/test/wire/users_test.rb b/test/wire/users_test.rb index 13c29e6b..4930f123 100644 --- a/test/wire/users_test.rb +++ b/test/wire/users_test.rb @@ -152,6 +152,71 @@ def test_users_update_with_wiremock ) end + def test_users_list_consent_signing_keys_with_wiremock + test_id = "users.list_consent_signing_keys.0" + + @client.users.list_consent_signing_keys( + id: "id", + request_options: { + additional_headers: { + "X-Test-Id" => "users.list_consent_signing_keys.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "GET", + url_path: "/users/id/consent-signing-keys", + query_params: nil, + expected: 1 + ) + end + + def test_users_get_consent_signing_key_with_wiremock + test_id = "users.get_consent_signing_key.0" + + @client.users.get_consent_signing_key( + id: "id", + kid: "kid", + request_options: { + additional_headers: { + "X-Test-Id" => "users.get_consent_signing_key.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "GET", + url_path: "/users/id/consent-signing-keys/kid", + query_params: nil, + expected: 1 + ) + end + + def test_users_delete_consent_signing_key_with_wiremock + test_id = "users.delete_consent_signing_key.0" + + @client.users.delete_consent_signing_key( + id: "id", + kid: "kid", + request_options: { + additional_headers: { + "X-Test-Id" => "users.delete_consent_signing_key.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "DELETE", + url_path: "/users/id/consent-signing-keys/kid", + query_params: nil, + expected: 1 + ) + end + def test_users_regenerate_recovery_code_with_wiremock test_id = "users.regenerate_recovery_code.0" diff --git a/wiremock/wiremock-mappings.json b/wiremock/wiremock-mappings.json index bfc9967f..baf5e66f 100644 --- a/wiremock/wiremock-mappings.json +++ b/wiremock/wiremock-mappings.json @@ -1019,7 +1019,7 @@ }, "response": { "status": 201, - "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 \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\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_metadata_status\": \"available\",\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 \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"oidc_support\": {\n \"is_allowed\": true,\n \"allow_all_scopes\": true,\n \"allowed_scopes\": [\n \"profile\"\n ]\n },\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_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -1180,7 +1180,7 @@ }, "response": { "status": 200, - "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 \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\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_metadata_status\": \"available\",\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 \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"oidc_support\": {\n \"is_allowed\": true,\n \"allow_all_scopes\": true,\n \"allowed_scopes\": [\n \"profile\"\n ]\n },\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_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -1252,7 +1252,7 @@ }, "response": { "status": 200, - "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 \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\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_metadata_status\": \"available\",\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 \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"oidc_support\": {\n \"is_allowed\": true,\n \"allow_all_scopes\": true,\n \"allowed_scopes\": [\n \"profile\"\n ]\n },\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_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -1288,7 +1288,7 @@ }, "response": { "status": 200, - "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 \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\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_metadata_status\": \"available\",\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 \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"oidc_support\": {\n \"is_allowed\": true,\n \"allow_all_scopes\": true,\n \"allowed_scopes\": [\n \"profile\"\n ]\n },\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_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -4821,7 +4821,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_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 \"require_consent_non_repudiation\": true,\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 \"require_consent_non_repudiation\": true,\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 \"type\": \"universal_commerce_protocol_server\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } @@ -4853,7 +4853,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_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\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 \"require_consent_non_repudiation\": true,\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}", + "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 \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\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 \"require_consent_non_repudiation\": true,\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 \"type\": \"universal_commerce_protocol_server\"\n}", "headers": { "Content-Type": "application/json" } @@ -4907,7 +4907,7 @@ }, "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 \"require_consent_non_repudiation\": true,\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}", + "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 \"require_consent_non_repudiation\": true,\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 \"type\": \"universal_commerce_protocol_server\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } @@ -4949,7 +4949,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_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\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 \"require_consent_non_repudiation\": true,\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}", + "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 \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\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 \"require_consent_non_repudiation\": true,\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 \"type\": \"universal_commerce_protocol_server\"\n}", "headers": { "Content-Type": "application/json" } @@ -5021,7 +5021,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_lifetime_for_anonymous_access_tokens\": 1,\n \"token_dialect\": \"access_token\",\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\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 \"require_consent_non_repudiation\": true,\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}", + "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 \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\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 \"require_consent_non_repudiation\": true,\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 \"type\": \"universal_commerce_protocol_server\"\n}", "headers": { "Content-Type": "application/json" } @@ -6888,6 +6888,120 @@ } } }, + { + "id": "9bc0f8b4-abad-4f66-9979-0abe967f0c6b", + "name": "Get consent signing keys for a user - default", + "request": { + "urlPathTemplate": "/users/{id}/consent-signing-keys", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "[\n {\n \"kid\": \"kid\",\n \"device_identifier\": \"device_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n }\n]", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "9bc0f8b4-abad-4f66-9979-0abe967f0c6b", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "28d3e4b7-f78e-4fa9-b458-5629d6274ebc", + "name": "Get a consent signing key by key ID - default", + "request": { + "urlPathTemplate": "/users/{id}/consent-signing-keys/{kid}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + }, + "kid": { + "equalTo": "kid" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"kid\": \"kid\",\n \"device_identifier\": \"device_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "28d3e4b7-f78e-4fa9-b458-5629d6274ebc", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "a39e1747-47fb-442f-96ba-b45ab6609569", + "name": "Delete a consent signing key by key ID - default", + "request": { + "urlPathTemplate": "/users/{id}/consent-signing-keys/{kid}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + }, + "kid": { + "equalTo": "kid" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "a39e1747-47fb-442f-96ba-b45ab6609569", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, { "id": "365cef77-10c1-4fea-9b15-317ad7a38e99", "name": "Generate New Multi-factor Authentication (MFA) Recovery Code - default", @@ -7820,7 +7934,7 @@ }, "response": { "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1,\n \"form_submission_mode\": \"auto\"\n}", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"form_submission_mode\": \"auto\",\n \"max_attempts\": 1\n}", "headers": { "Content-Type": "application/json" } @@ -7852,7 +7966,7 @@ }, "response": { "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1,\n \"form_submission_mode\": \"auto\"\n}", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"form_submission_mode\": \"auto\",\n \"max_attempts\": 1\n}", "headers": { "Content-Type": "application/json" } @@ -7932,177 +8046,6 @@ } } }, - { - "id": "68c499db-dbcf-4500-b535-2d1b5b0816ac", - "name": "Get CAPTCHA attack protection policies - default", - "request": { - "urlPathTemplate": "/attack-protection/captcha/policies", - "method": "GET", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - } - }, - "response": { - "status": 200, - "body": "[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"priority\": 1,\n \"match\": {\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ]\n },\n \"action\": {\n \"active_provider_id\": \"simple_captcha\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n]", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "68c499db-dbcf-4500-b535-2d1b5b0816ac", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - }, - "postServeActions": [] - }, - { - "id": "d9b60e3e-ceaa-434a-9131-9ae1433967b9", - "name": "Create a CAPTCHA attack protection policy - default", - "request": { - "urlPathTemplate": "/attack-protection/captcha/policies", - "method": "POST", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - } - }, - "response": { - "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"priority\": 1,\n \"match\": {\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ]\n },\n \"action\": {\n \"active_provider_id\": \"simple_captcha\",\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\",\n \"fail_open\": true\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": "d9b60e3e-ceaa-434a-9131-9ae1433967b9", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, - { - "id": "cbf37477-ad4e-4fc9-8028-8e2abc8789f3", - "name": "Get a CAPTCHA attack protection policy - default", - "request": { - "urlPathTemplate": "/attack-protection/captcha/policies/{id}", - "method": "GET", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - } - }, - "response": { - "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"priority\": 1,\n \"match\": {\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ]\n },\n \"action\": {\n \"active_provider_id\": \"simple_captcha\",\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\",\n \"fail_open\": true\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": "cbf37477-ad4e-4fc9-8028-8e2abc8789f3", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, - { - "id": "4a72a5d1-89f5-4cde-bda5-da15dc79e6fe", - "name": "Delete a CAPTCHA attack protection policy - default", - "request": { - "urlPathTemplate": "/attack-protection/captcha/policies/{id}", - "method": "DELETE", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - } - }, - "response": { - "status": 200, - "body": "\"\"", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "4a72a5d1-89f5-4cde-bda5-da15dc79e6fe", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, - { - "id": "4083f648-c7aa-4924-ba4c-8b89886a123d", - "name": "Update a CAPTCHA attack protection policy - default", - "request": { - "urlPathTemplate": "/attack-protection/captcha/policies/{id}", - "method": "PATCH", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - } - }, - "response": { - "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"priority\": 1,\n \"match\": {\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ]\n },\n \"action\": {\n \"active_provider_id\": \"simple_captcha\",\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\",\n \"fail_open\": true\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": "4083f648-c7aa-4924-ba4c-8b89886a123d", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, { "id": "e3a2dc7e-fb58-4806-a3f1-3d94a401a38f", "name": "Get Phone Provider Protection settings - default", @@ -10986,6 +10929,9 @@ }, "type": { "equalTo": "auth0" + }, + "status": { + "equalTo": "active" } } }, @@ -18231,6 +18177,6 @@ } ], "meta": { - "total": 487 + "total": 485 } } \ No newline at end of file