Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
3k views

"ReRoutes": [ { "DownstreamPathTemplate": "/api/Agent/GetPagedAgents?page={page}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "agent.api", "Port": 80 } ...
Ajas Aju's user avatar
  • 785
0 votes
1 answer
124 views

I'm having an issue with middleware configuration in my ASP.NET Core application that runs on IIS with Windows Authentication enabled. My application uses proxy middleware to forward requests to ...
Michael1834's user avatar
22 votes
3 answers
20k views

I'm trying to get JWT bearer authentication in an ASP.Net API gateway using Ocelot to work with multiple authorities/issuers. One issuer is Auth0 and the other is an in-house authentication server ...
Chris Swinchatt's user avatar
15 votes
2 answers
14k views

I am new to API gateways and have a question of understanding. I try too put a series of (micro)services behind an endpoint. For this purpose, I have set up an ASP.NET Core Application and added the ...
mMilk's user avatar
  • 255
3 votes
1 answer
3k views

I have to do some checks on the request's jwt before ocelot authentication, so I'm doing them within the PreAuthenticationMiddleware like this: var config = new OcelotPipelineConfiguration { ...
Doc's user avatar
  • 5,336
2 votes
1 answer
5k views

I'm trying to connect to SignalR hubs using Ocelot as proxy. SignalR is plugged in microservice that gateway passing through websockets traffic. Negotation via HTTP request is executed successfully, ...
Lutz Harrold's user avatar
2 votes
2 answers
5k views

I followed this tutorial and managed to use api with Azure Active Directory authentication & authorization. However I would like to consume the api from behind the Ocelot Api Gateway. I could ...
MSK's user avatar
  • 1,115
2 votes
3 answers
3k views

I am getting the following error in a docker container. I am trying to create api gateway using ocelot and authentication by identity server. message: Client has NOT been authenticated for {api-path} ...
Shubham Goel's user avatar
1 vote
2 answers
1k views

I'm trying to add a custom middleware to add parameters to the query. According to some online search, you can do something like this: { //PreQueryStringBuilderMiddleware occurs after ...
user avatar
1 vote
0 answers
528 views

I have a microservice application consisting of three microservices: Gateway using Ocelot Identity microservice Core API microservice However, when I try to retrieve the client's IP address from the ...
rahim soufiane's user avatar
0 votes
1 answer
736 views

I'm a backend developer, and I've developed a WebApi service with Asp.Net Core. I've also developed ApiGateway using Ocelot library. From front side, front-end developers use React and Axios as HTTP ...
giorgi02's user avatar
  • 1,093
0 votes
1 answer
2k views

I have an Ocelot Gateway configuration as follow: { "ReRoutes": [ { "DownstreamPathTemplate": "/api/{version}/{everything}", "DownstreamScheme": "http", "...
Renato Pereira's user avatar