From 8e196a5b8bc63e0b6e280f12b2adb1814f41d315 Mon Sep 17 00:00:00 2001 From: Alex Bradley Date: Wed, 15 Jan 2025 15:07:53 -0500 Subject: [PATCH] Add IdentityConfig variable for maximum allowed doc auth socure users changelog: Internal, Doc Auth Socure, add config variable for maximum allowed socure users --- config/application.yml.default | 1 + lib/identity_config.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/config/application.yml.default b/config/application.yml.default index cbcec5b2cc1..998287c5b56 100644 --- a/config/application.yml.default +++ b/config/application.yml.default @@ -106,6 +106,7 @@ doc_auth_max_capture_attempts_before_native_camera: 3 doc_auth_max_submission_attempts_before_native_camera: 3 doc_auth_redirect_to_correct_vendor_disabled: false doc_auth_selfie_desktop_test_mode: false +doc_auth_socure_max_allowed_users: 10_000 doc_auth_socure_wait_polling_refresh_max_seconds: 15 doc_auth_socure_wait_polling_timeout_minutes: 2 doc_auth_supported_country_codes: '["US", "GU", "VI", "AS", "MP", "PR", "USA" ,"GUM", "VIR", "ASM", "MNP", "PRI"]' diff --git a/lib/identity_config.rb b/lib/identity_config.rb index fef3200fbb7..aa4f5f1b654 100644 --- a/lib/identity_config.rb +++ b/lib/identity_config.rb @@ -124,6 +124,7 @@ def self.store config.add(:doc_auth_max_capture_attempts_before_native_camera, type: :integer) config.add(:doc_auth_max_submission_attempts_before_native_camera, type: :integer) config.add(:doc_auth_selfie_desktop_test_mode, type: :boolean) + config.add(:doc_auth_socure_max_allowed_users, type: :integer) config.add(:doc_auth_socure_wait_polling_refresh_max_seconds, type: :integer) config.add(:doc_auth_socure_wait_polling_timeout_minutes, type: :integer) config.add(:doc_auth_supported_country_codes, type: :json)