We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de6968b + 687dd17 commit 05e1c1fCopy full SHA for 05e1c1f
1 file changed
app/controllers/repp/v1/registrar/auth_controller.rb
@@ -7,6 +7,7 @@ class AuthController < BaseController
7
skip_before_action :check_registrar_ip_restriction, only: :tara_callback
8
skip_before_action :check_api_ip_restriction, only: :tara_callback
9
skip_before_action :validate_api_user_cert, only: :tara_callback
10
+ skip_before_action :validate_webclient, only: :tara_callback, if: -> { (Rails.env.staging? || Rails.env.development?) && ENV['BYPASS_WEBCLIENT_CERT'] == 'true' }
11
12
THROTTLED_ACTIONS = %i[index tara_callback].freeze
13
include Shunter::Integration::Throttle
0 commit comments