Questions tagged [konga]

35 questions
0
votes
1 answer

ACL + key-auth plugin on a Kong service not working

I'm using Kong Gateway (community edition, using database, dockerized setup, kong:3.3.0) and Konga + King + manual apis to manage it. I have a key-auth plugin setup on a service in Kong, and when I hit the route under it with a consumer's valid…
Nikhil VJ
  • 5,630
  • 7
  • 34
  • 55
0
votes
0 answers

How to redirect to the upstream address configured by Konga in the custom plugin of Kong?

For example, if the parameters of the plugin are configured with 1, after a period of business logic analysis, it will jump to upstream1, and if configured with 2, it will jump to 2.I try to do,but fail.It always redirect to upstream1 because my…
flower
  • 2,212
  • 3
  • 29
  • 44
0
votes
1 answer

Implementation of Kong Api Gateway in production

I want to implement Kong Api Gateway in GKE with Konga, the question I have is the following: To do it, do I necessarily have to have the external database? Or in production I can also have the database in pods....... if so, what measures should I…
0
votes
0 answers

How to allow Alice to use Bob's JWT via kong's plugin?

I have the following api service: https://magic-api.com to access it I use Bob's credential: login+password. Then I receive a JWT and I communicate with magic-api. Now, I'm using Kong as my api gateway and I'm using Konga to set up the services and…
ProcolHarum
  • 721
  • 3
  • 17
0
votes
0 answers

konga with prometheus' plugin + grafana

I'm using kong, grafana and konga. With Konga I just added the prometheus plugin and I wish to create a Data Sources (Prometheus). The Test & Save fails with: Error reading Prometheus: Post "http://192.168.4.47:9000/api/v1/query": dial tcp…
ProcolHarum
  • 721
  • 3
  • 17
0
votes
0 answers

Konga service to require authentication for certain routes and no need authen for others, while also adding a strip path for a specific route

I am setting a service in Konga that require authentication for certain routes (I am using Keycloak JWT token) and allow anonymous access for others, while also adding a strip path for a specific route. But the problem is when we have a route enable…
0
votes
0 answers

Kong API Gateway - Domain Restriction

I have a Service that is mapped to a consumer, and I want to allow the Service Routes to the specific domain name. We have a plugin to restrict the IP https://docs.konghq.com/hub/kong-inc/ip-restriction/. is there any way to restrict the domain?
Gowtham Raj
  • 103
  • 2
  • 13
0
votes
0 answers

How to fetch API from swagger file using kong gateway

I have create a service, a route, an auth, a consumer, a username and a password in the kong admin UI through curl command. Below there is the command that I have used and it's showing in the kong admin UI. I have installed Kong as docker container…
Mohd Rashid
  • 101
  • 2
  • 9
0
votes
1 answer

Proxy Caching with Vary Query Params

I am trying to configure caching in KONGA for certain URL with query params. What I would like to achieve is : This should be cached -> GET /my-awesome-service/get-something?filter-one=this&filter-two=that This should be cached differently -> GET…
Raja
  • 851
  • 9
  • 22
0
votes
1 answer

how to connect Kong prometheus plugin to Grafana using docker?

I'm using Kong with KONGA as GUI and added Prometheus plugin for monitoring, however when I try to add the data source to Grafana using Kong endpoint http://host.docker.internal:8001/metrics I always get the below error Error reading Prometheus:…
northwest
  • 23
  • 7
0
votes
0 answers

Front End routing in Kong

I have a couple of microservices and a frontend running over different ports exposed via Kong. The issue is even for routes like "/add", "/edit", "/swagger" etc., the route for frontend which is "/" gets called. Service: abc-microservice Path:…
0
votes
1 answer

Kong Regex for Replacing String in URI

I am facing a particular issue with the "strip_path" feature available **Service Name**: application-svc **Service Path**: /application **Route for Service**: application-route **Route Path**: / **Strip_Path**: True **Backend API**:…
0
votes
0 answers

Multiple files for Kong configuration

I'm planning to generate multiple Kong declarative files based on swagger yml. Is there a way to combine them into the one? The only option I see is to use Kong Deck, but it's not clear whether it works with DB-less mode. What's the good practice to…
Nikita
  • 4,435
  • 3
  • 24
  • 44
0
votes
1 answer

Expose Kong API gateway at custom domain/URL

I have setup Kong API gateway following the documentation here. With the curl command below, I can confirm that Kong is up and responding via localhost. curl -i http://localhost:8001/services HTTP/1.1 200 OK Date: Thu, 13 May 2021…
Kuyashii
  • 360
  • 1
  • 4
  • 21
0
votes
1 answer

Passing Bearer token from kong to keycloak to be authenticated and then procceds to api call

I have set up keycloak-oidc on kong, and I have a protected API behind kong. I am able to call keycloak through kong because I added a filter /auth/*. Below is my oidc configuration for keycloak. I configured my REALM and CLIENT_ID on keycloak as…
DaviesTobi alex
  • 610
  • 1
  • 9
  • 34