From d34ba75deb14e306f764d5907acb96323480219f Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 29 Apr 2025 11:17:10 +0200 Subject: [PATCH] =?UTF-8?q?refactor(ocelot.json):=20DownstreamPathTemplate?= =?UTF-8?q?=20des=20Authentifizierungsdienstes=20konfiguriert,=20um=20sign?= =?UTF-8?q?-flow-gen=20als=20Verbraucher=20hinzuzuf=C3=BCgen=20und=20den?= =?UTF-8?q?=20Parameter=20cookie-query=20optional=20zu=20machen.=20=20-=20?= =?UTF-8?q?Ent-Punkt=20hinzuf=C3=BCgen,=20um=20den=20Standard-Cookie-Param?= =?UTF-8?q?eter=20falsch=20zu=20machen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ocelot.Development.json | 50 +++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 19 deletions(-) diff --git a/ocelot.Development.json b/ocelot.Development.json index 971a52f..6901aeb 100644 --- a/ocelot.Development.json +++ b/ocelot.Development.json @@ -2,11 +2,11 @@ "Routes": [ { "DownstreamPathTemplate": "/swagger/{route}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7174 } ], "UpstreamPathTemplate": "/swagger/{route}", @@ -19,11 +19,11 @@ }, { "DownstreamPathTemplate": "/swagger/{route1}/{route2}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7174 } ], "UpstreamPathTemplate": "/swagger/{route1}/{route2}", @@ -36,11 +36,11 @@ }, { "DownstreamPathTemplate": "/scalar", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7174 } ], "UpstreamPathTemplate": "/scalar", @@ -53,11 +53,11 @@ }, { "DownstreamPathTemplate": "/scalar/{route}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7174 } ], "UpstreamPathTemplate": "/scalar/{route}", @@ -70,11 +70,11 @@ }, { "DownstreamPathTemplate": "/scalar/{route1}/{route2}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7174 } ], "UpstreamPathTemplate": "/scalar/{route1}/{route2}", @@ -86,12 +86,24 @@ ] }, { - "DownstreamPathTemplate": "/api/Auth/work-flow?cookie=false", - "DownstreamScheme": "http", + "DownstreamPathTemplate": "/api/Auth/sign-flow-gen?cookie={cookie}", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7192 + } + ], + "UpstreamPathTemplate": "/api/Auth?cookie={cookie}", + "UpstreamHttpMethod": [ "Post" ] + }, + { + "DownstreamPathTemplate": "/api/Auth/sign-flow-gen?cookie=false", + "DownstreamScheme": "https", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 7192 } ], "UpstreamPathTemplate": "/api/Auth", @@ -99,11 +111,11 @@ }, { "DownstreamPathTemplate": "/api/Auth/check", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7174 } ], "UpstreamPathTemplate": "/api/Auth/check", @@ -111,11 +123,11 @@ }, { "DownstreamPathTemplate": "/api/{route}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7174 } ], "UpstreamPathTemplate": "/api/{route}", @@ -128,11 +140,11 @@ }, { "DownstreamPathTemplate": "/api/{route}/{id}", - "DownstreamScheme": "http", + "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "localhost", - "Port": 8088 + "Port": 7174 } ], "UpstreamPathTemplate": "/api/{route}{id}",