fix 环境setting

This commit is contained in:
2023-12-26 15:44:27 +08:00
parent 2b8aa5ff5b
commit 41e586e1cc
2 changed files with 20 additions and 9 deletions

View File

@@ -7,5 +7,22 @@
}, },
"InternalRequest": { "InternalRequest": {
"CommonRequestUrl": "http://localhost:5001" "CommonRequestUrl": "http://localhost:5001"
},
"SwaggerOptions": {
"Enable": true,
"Authority": "https://yikatong.isawesome.cn/oauth2",
"ClientId": "4fb184324eac4180",
"ClientSecret": "8ac8f235152f1524",
"Scopes": {
"openid": "openid",
"profile": "profile",
"yikatong": "yikatong"
}
},
"IdentityServerOptions": {
"Authority": "https://yikatong.isawesome.cn/oauth2",
"RequireHttpsMetadata": true,
"Issuer": "identity.isawesome.cn",
"Audience": ""
} }
} }

View File

@@ -18,7 +18,7 @@
}, },
"SwaggerOptions": { "SwaggerOptions": {
"Enable": true, "Enable": true,
"Authority": "https://yikatong.isawesome.cn/oauth2", "Authority": "http://identity",
"ClientId": "4fb184324eac4180", "ClientId": "4fb184324eac4180",
"ClientSecret": "8ac8f235152f1524", "ClientSecret": "8ac8f235152f1524",
"Scopes": { "Scopes": {
@@ -28,16 +28,10 @@
} }
}, },
"IdentityServerOptions": { "IdentityServerOptions": {
"Authority": "https://yikatong.isawesome.cn/oauth2", "Authority": "http://identity",
"RequireHttpsMetadata": true, "RequireHttpsMetadata": true,
"Issuer": "identity.isawesome.cn", "Issuer": "identity.isawesome.cn",
"Audience": "", "Audience": ""
"Pat": {
"Enable": false,
"Scheme": "token",
"ClientId": "reference",
"ClientSecret": "123456"
}
}, },
"Serilog": { "Serilog": {
"MinimumLevel": { "MinimumLevel": {