diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.Development.json b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.Development.json new file mode 100644 index 0000000..2c63c08 --- /dev/null +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.Development.json @@ -0,0 +1,2 @@ +{ +} diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.json b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.json new file mode 100644 index 0000000..bc81261 --- /dev/null +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.json @@ -0,0 +1,37 @@ +{ + "App": { + "SelfUrl": "https://scp.iacchina.net:9988", + "CorsOrigins": "https://scp.iacchina.net:9977,https://scp.iacchina.net:9988,https://localhost:9977,https://localhost:9988", + "RedirectAllowedUrls": "https://scp.iacchina.net:9977,https://scp.iacchina.net:9988" + }, + "ConnectionStrings": { + "Default": "Server=127.0.0.1;Database=Scp_WebApi;User ID=sa;Password=Microsoft2008;connection timeout=600;", + "V1Scp": "Server=127.0.0.1;Database=Scp_V1;User ID=sa;Password=Microsoft2008;connection timeout=600;" + }, + "AuthServer": { + "Authority": "https://scp.iacchina.net:9988", + "RequireHttpsMetadata": "false", + "SwaggerClientId": "WebApi_Swagger", + "SwaggerClientSecret": "1q2w3e*" + }, + "IdentityServer": { + "Clients": { + "WebApi_Web": { + "ClientId": "WebApi_Web", + "ClientSecret": "1q2w3e*", + "RootUrl": "https://scp.iacchina.net:9988" + }, + "WebApi_App": { + "ClientId": "WebApi_App", + "ClientSecret": "1q2w3e*", + "RootUrl": "https://scp.iacchina.net:9988" + }, + "WebApi_Swagger": { + "ClientId": "WebApi_Swagger", + "ClientSecret": "1q2w3e*", + "RootUrl": "https://scp.iacchina.net:9988" + } + } + }, + "AlwaysAllowAuthorization": false +} \ No newline at end of file diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.secrets.json b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.secrets.json new file mode 100644 index 0000000..7a73a41 --- /dev/null +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.Production.secrets.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json index 613b03f..f7d92ee 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json @@ -1,8 +1,8 @@ { "App": { "SelfUrl": "https://localhost:9988", - "CorsOrigins": "https://scp.iacchina.net:9977,https://localhost:9977,https://localhost:9988,https://scp.iacchina.net:9988", - "RedirectAllowedUrls": "http://localhost:4200,https://localhost:9988" + "CorsOrigins": "https://localhost:9977,https://localhost:9988", + "RedirectAllowedUrls": "https://localhost:9977,,https://localhost:9988" }, "ConnectionStrings": { "Default": "Server=127.0.0.1;Database=Scp_WebApi;User ID=sa;Password=Microsoft2008;connection timeout=600;", @@ -26,11 +26,6 @@ "ClientSecret": "1q2w3e*", "RootUrl": "https://localhost:9988" }, - "WebApi_BlazorServerTiered": { - "ClientId": "WebApi_BlazorServerTiered", - "ClientSecret": "1q2w3e*", - "RootUrl": "https://localhost:9988" - }, "WebApi_Swagger": { "ClientId": "WebApi_Swagger", "ClientSecret": "1q2w3e*", diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.Production.json b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.Production.json index 00bd5e5..cd33aae 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.Production.json +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.Production.json @@ -13,8 +13,10 @@ "BaseUrl": "https://scp.iacchina.net:9988/" } }, - "BasicAuthentication": { - "Username": "admin", - "Password": "admin" - } -} + "AuthServer": { + "Authority": "https://scp.iacchina.net:9988", + "RequireHttpsMetadata": "false", + "SwaggerClientId": "WebApi_Swagger", + "SwaggerClientSecret": "1q2w3e*" + } +} \ No newline at end of file diff --git a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.json b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.json index 5e78db3..71410d6 100644 --- a/WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.json +++ b/WebApiService/src/Win_in.Sfs.Scp.WebApi.Xml.Host/appsettings.json @@ -10,7 +10,7 @@ "RemoteServices": { "Default": { - "BaseUrl": "https://scp.iacchina.net:9988/" + "BaseUrl": "https://localhost:9988/" } }, "AuthServer": {