Skip to content

Commit

Permalink
Merge pull request #152 from sreeragksgh/cbrelease-4.0.2-dev
Browse files Browse the repository at this point in the history
New Generate OTP EXT API
  • Loading branch information
Haritest authored Nov 23, 2023
2 parents aec8b8e + fa8368f commit aa8108b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10527,4 +10527,20 @@ kong_apis:
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ medium_request_size_limit }}"
config.allowed_payload_size: "{{ medium_request_size_limit }}"

- name: generateOtpEXT
uris: "{{ otp_service_prefix }}/ext/v1/generate"
upstream_url: "{{ sb_cb_ext_service_url }}/user/otp/v1/generate"
strip_uri: true
plugins:
- name: cors
- "{{ statsd_pulgin }}"
- name: rate-limiting
config.policy: local
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"


0 comments on commit aa8108b

Please sign in to comment.