Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Sep 19 03:19
    chrisrichard commented #985
  • Sep 14 02:59
    xinjiguaike commented #934
  • Sep 14 02:58
    xinjiguaike commented #934
  • Sep 11 11:15
    dependabot[bot] labeled #1007
  • Sep 11 11:15
    dependabot[bot] opened #1007
  • Sep 11 11:15

    dependabot[bot] on npm_and_yarn

    Bump node-fetch from 2.6.0 to 2… (compare)

  • Sep 05 08:31

    dependabot[bot] on npm_and_yarn


  • Sep 05 08:30

    XVincentX on master

    Bump http-proxy from 1.18.0 to … Merge pull request #1006 from E… (compare)

  • Sep 05 08:30
    XVincentX closed #1006
  • Sep 04 23:09
    dependabot[bot] labeled #1006
  • Sep 04 23:09
    dependabot[bot] opened #1006
  • Sep 04 23:09

    dependabot[bot] on npm_and_yarn

    Bump http-proxy from 1.18.0 to … (compare)

  • Aug 20 03:56
    mohitt13 opened #1005
  • Aug 06 10:33
    XVincentX closed #997
  • Aug 06 10:33
    XVincentX closed #981
  • Aug 06 10:33
    XVincentX closed #949
  • Aug 06 10:33
    XVincentX closed #926
  • Aug 06 09:58
    Nditah opened #1004
  • Jul 29 07:26
    XVincentX commented #934
  • Jul 29 07:07
    xinjiguaike commented #934
but I want to run APi Gateway from to
How can I achieve that ?
Daniel Barreiro
hello, I suffering an issue when I proxy a request with a large body payload. Can I configure body size in express gateway?
If I call directly to the endpoint (without express-gateway) works flawlessly
Awais Ali
how I can add users or authentication permanently?
Al Tsang
You are saving to the in memory instance
Set up a real redis instance - see the docs
How do I avoid installing express-gateway package to access the CLI within the express gateway docker container?
André Fauth
Hey guys, I've been looking at express gateway and its great so far, but I haven't been able to transform the response, and by that I mean, I have been able to remove nodes from the response object, but haven't been able to add using the response object, wich is... using the example, I'ld like to change the "origin" property to something else. So I removed the origin and then added another using "res.origin" but it simply dosent work.
I know I must be doing something wrong.
Can anyone please explain it to me ?
Using express gateway to call my other micro services
I have large payload size and not able to send my request to other MS
Please help if any configuration is there to allow it
Waleed Saleem

I am trying to set timeout for request and tried

  - proxy:
      - action:
          serviceEndpoint: service-management-srv
          changeOrigin: true
          timeout: 300000

but didn't succeed. I am getting "502 - web server received an invalid response while acting as a gateway or proxy server." when a make an API call which takes more than a minute. Other calls work fine.

Hi, I want to create credentials to user but this command response a error. Help please: COMAND: eg credentials create -c bob -t key-auth -q, ERROR: Configuring yargs through package.json is deprecated and will be removed in a future major release, please use the JS API instead.
I use gateway express
Can anyone help me please
Hi guys was wondering if express gateway had websocket support and service discovery + client side loadbalacing support?
@SALOME78_gitlab -q in the command is creating your problem
Prabhu GTSL
SyntaxError: Unexpected string in JSON at position 16
    at JSON.parse (<anonymous>)
    at parse (/home/Documents/api-gateway/node_modules/body-parser/lib/types/json.js:89:19)
    at /home/Documents/api-gateway/node_modules/body-parser/lib/read.js:121:18
    at invokeCallback (/home/Documents/api-gateway/node_modules/raw-body/index.js:224:16)
    at done (/home/prabhu/Documents/api-gateway/node_modules/raw-body/index.js:213:7)
    at IncomingMessage.onEnd (/home/Documents/api-gateway/node_modules/raw-body/index.js:273:7)
    at IncomingMessage.emit (events.js:322:22)
    at endReadableNT (_stream_readable.js:1187:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
can anyone help me to handle this error
hello, rate-limit policy didn't work
Does this works with soap api as well?
Tejas H
Is this active?
Rahul Kumar
Can I use express gateway as API management, if my services are hosted in Google APP engine. If so, where the express gateway will be deployed ?
Geilson Ribeiro Mirandola

and in server.js , write this line at the top

Thank you! Helped here.


Can I use express gateway as API management, if my services are hosted in Google APP engine. If so, where the express gateway will be deployed ?

you can deployed your gateway in Compute instance.

How does the gateway operate ? is it one instance running on server for multiple clients (front) and how the session are managed (the jwt headers) ?? thanks !
Brady (John) Connelly
Hello, I had recently(about two weeks ago) gotten some changes merged into the express-gateway repo. My team is super excited to make use of the new functionality that we had helped contribute to and was hoping to get a timeline on when a new version would be published? I had reached out on github and got no response.
Hi everyone. I was curious about the oauth2.0 introspection plugin. In the documentation, it says that you must provide an authorization_value which represents the client_id/secret combo. This makes total sense for all cases outside of PCKE application where a client secret is not given. A major integration player who does this is okta. Given that info, my question is - Is the plugin unable to handle the okta introspection for a pkce app given that an Authorization Header must not be provided.
Shubham Goel
I am using jwt policy and after that, I have used log policy and printed req.user and getting decoded data, but when printing req.use in my express microservice I am getting undefined, earlier I was getting the decoded data in my microservice
Rahul Kumar
@bhupendrabisht8130 thank you! Also, I wanted to know can I integrate the express gateway with the firebase authentication. (Here I wish that firebase should do the authentication and token validation for every request that goes by the express gateway)
Dave Glendenning
Hi. I have a couple of questions around basic-auth credentials. I am trying to make a basic-auth credential for a user via the admin api. Can you set the password you want the user to have? Can you update the credential with a new password? I am trying to secure an endpoint via basic-auth which will allow for a creation of a jwt token to access the rest of the gateway. When a new user gets created I want to create a basic-auth credential with the password the user added and allow them to reset the password. I have been looking at the documents ans can't see anything about this, but I thought that it would be a basic requirement of the system. Maybe I am not understanding the credential system usage correctly.
Shubham Goel
Can we change the default status code of JWT policy if the token is expired?
does EG use passport ?
Hi, I'm currently trying to get responses from an AWS lambda which are base64 encoded gzip binary data to be returned to the client as regular JSON. So far I haven't been able to come up with a solution using both express-gateway-plugin-compression and express-gateway-plugin-lambda. What would your recommendation be for this? To be clear the only compression I want to exist is on the response of the lambda to the gateway, everything else is uncompressed. Thanks in advance!
2 replies
Do anyone know how to enable webpack hot reload with express gateway?
Bengono Obiang
Please How to combined multiple responses with single gateway endpoint using express gateway?
How to use the same credentials in the two server since I'm using load balancer
hi, how to use in expressgateway
I am getting connect EADDRNOTAVAIL - Local ( this error
Jess Karol
Do conditions in a pipeline get tried in the sequence they are defined in? What about pipelines? Also, with multiple pipelines, is it possible to have a default one that catches any routes that were not previously satisfied by the other pipelines?
Fabricio Canez
Hi, everyone! I would like to get all the users... So I use GET https://{my_url}/gateway/admin/users?start=0. It returns the first user and a nextKey value. But when I make a new search using GET https://{my_url}/gateway/admin/users?start={nextKey value of previous search}, there's no more records inside this search. But I still have more users. Could anyone here help me, please?
hi i want to using https in express-gateway . i m using micro service. i test eg document example about https but not work please send me one correct example
Jose Perera Morales
Hi, can someone take a look at this performance issue: I really appreciate any help

Hello All,

Are there any known issues with Express-Gateway behind an NGINX proxy? We're having issues with the host option of the api-endpoints it doesn't seem to match

Celso Miranda
I would like to know if it is possible for me to create a route at the gateway so that it is directed to that endpoint?
Muhammad Ameer Hamza
Hi, can someone please share getting started tutorials for Express gateway in a good way, thanks
Is the roadmap still up to date?
Hi, is there any examples of service discovery within express gateway ?