0. \Routing\configuration.Development.json

 


{
  "Routes": [
    {
      "DownstreamPathTemplate": "/auth/api/{version}/authentication/token",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "sale-platform-identity-server-api-dev",
          "Port": 80
        }
      ],
      "UpstreamPathTemplate": "/auth/api/{version}/authentication/token",
      "Priority": 30,
      "UpstreamHttpMethod": [ "POST" ]
    },
    {
      "DownstreamPathTemplate": "/spf-partner/external/{everything}",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "localhost",
          "Port": 5000
        }
      ],
      "UpstreamPathTemplate": "/partner/{everything}",
      "Priority": 0,
      "UpstreamHttpMethod": [ "GET", "POST" ],
      "AuthenticationOptions": {
        "AuthenticationProviderKey": "SalePlatformAuth",
        "AllowedScopes": [ "partner-tgdd" ]
      }
    }
  ],
  "GlobalConfiguration": {}

}




Nhận xét