Skip to content

Commit

Permalink
KB-1722 - Create an API to get the user login details and raise the k…
Browse files Browse the repository at this point in the history
…afka event.

1.Added Kong entry for new api
  • Loading branch information
tarentomaheshvakkund committed Jan 1, 2024
1 parent f2558a7 commit 6018b75
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion ansible/roles/kong-api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10706,4 +10706,18 @@ kong_apis:
config.hour: "{{ medium_rate_limit_per_hour }}"
config.limit_by: credential
- name: request-size-limiting
config.allowed_payload_size: "{{ small_request_size_limit }}"
config.allowed_payload_size: "{{ small_request_size_limit }}"

- name: userfirstloginlastlogin
uris: "/v1/user/login"
upstream_url: "{{ learning_service_url }}/v1/user/login"
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: "{{ medium_request_size_limit }}"

0 comments on commit 6018b75

Please sign in to comment.