Skip to main content

Questions tagged [express-gateway]

Express Gateway is a microservices API Gateway built on Express.js.

express-gateway
0 votes
0 answers
16 views

Express Gateway - Cannot change Content-Type value in HTTP request Headers

I'm doing the Microsoft OAuth 2 authentication via Express Gateway, I've hardcoded the body to pass client_id and client_secret as per required. But when I call the Express Gateway API from Postman, ...
Notme2104's user avatar
0 votes
2 answers
51 views

How to fix HTTPS on express-gateway

I'm running a micro-service API, and I use express-gateway. This API has been running since 1 years. I need to implement HTTPS connection to it, and I have difficulties to do. I've generated SSL ...
Alban's user avatar
  • 1
0 votes
0 answers
72 views

Error: read ECONNRESET while using rabbitmq

I am building a microservice application in MERN stack and using RabbitMQ as message broker while running the service I am getting a error after sometime Error: read ECONNRESET at TLSWrap.onStreamRead ...
aswanth6000's user avatar
0 votes
1 answer
61 views

Express gateway always return Bad Gateway when I run with docker-compose or docker

Express gateway always return Bad Gateway when I run with docker-compose or docker I am trying to build a MERN stack application using the NodeJS and microservice architecture and i have completed ...
aswanth6000's user avatar
1 vote
0 answers
64 views

Enable authorization in express-gateway

I'm having a bit of an issue enabling authorization in express-gateway. Based on the docs, Express Gateway is designed to apply policies to specific endpoints using its configuration files (gateway-...
Zoe Lubanza's user avatar
0 votes
1 answer
95 views

How do I use Cognito with Express-gateway for token validation

I have drafted the following architecture I'm having issues on the validate JWT part on the gateway (Not sure if this is how it's supposed to work). From what I understand, when a request gets to the ...
Zoe Lubanza's user avatar
0 votes
0 answers
61 views

using Express Gateway as load balancer for docker containers

we have a big issue now. we have implemented api gateway with express gateway and there is an nginx between client and api gateway. there are 3 containers and api gateway rotates the request to a ...
saman saeedi's user avatar
0 votes
1 answer
172 views

Express gateway is not able to access the API and bind with nginx proxy,server response: cannot get

I have some microservices servers connected to the express gateway, the gateway works fine locally but inside the server it cannot access other API routs for expample if I try to get http://xx.xx.xx....
ARM's user avatar
  • 21
0 votes
0 answers
70 views

Express Gateway - Authorization

I have a simple structure as shown in the image below that I have a gateway that manage all request, validate the token, add the loggedUser in the request, and repass it to the correct container. I ...
Cleriston Martins Cardoso's user avatar
0 votes
0 answers
13 views

Express Gateway OAutn2 client_credentials flow sends incorrect value in expires_in

Express Gateway app created with no scopes Requested access token via api /oauth2/token Request as follows: curl --location 'http://localhost:9080/oauth2/token' \ --header 'Content-Type: application/x-...
user1306828's user avatar
1 vote
1 answer
80 views

express gateway doesn't pass multipart/formdata

I'm using express gateway as my gateway to services. one of my services has to update an image. so when I'm using the service alone it accepts files and I use multer to parse them but when it's behind ...
mohammad's user avatar
  • 521
0 votes
0 answers
224 views

Express gateway return redirect 307 instead of forward requests

Scenario I have two services service1 and service2. First is written in net5 and second in net6. I also would like to have some gateway. I used express gateway. I hosted it as 3 containers with docker ...
zolty13's user avatar
  • 2,081
0 votes
0 answers
57 views

Express Gateway detect authenticated user by cookie

I'm new to express gateway, I've created login in my user service and created oauth2 credentials in gateway, got the secret key and store it as httpOnly cookie on client. Now I have a protected route ...
Alireza's user avatar
  • 924
0 votes
1 answer
448 views

Express Gateway, Request transformer not adding parameters to body and header

I want to add parameters to my express gateway, I followed official documentation. So my pipeline like that: - name: shop apiEndpoints: - shop policies: - proxy: - action:...
Süleyman Ali Akpınar's user avatar
0 votes
1 answer
745 views

Express Gateway. Using multiple services with custom url path

I have 2 services and I want to create an API gateway for these services. Service 1 name : Leon host : api.leon.com endpoints: / /jungle Service 2 name : Tiger host : api.tiger.com endpoints: ...
Süleyman Ali Akpınar's user avatar

15 30 50 per page
1
2 3 4 5
9