2020-10-22 14:59:36 +08:00
|
|
|
|
{
|
|
|
|
|
"Logging": {
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Warning"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"AllowedHosts": "*",
|
|
|
|
|
"DataProtection": "temp-keys/",
|
|
|
|
|
"ConnectionStrings": {
|
|
|
|
|
"OpenAuthDBContext": "Data Source=.;Initial Catalog=OpenAuthDB;User=sa;Password=000000"
|
|
|
|
|
//"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthdb;password=000000" //my sql
|
|
|
|
|
},
|
|
|
|
|
"AppSetting": {
|
|
|
|
|
//"IdentityServerUrl": "http://localhost:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
|
|
|
|
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
|
|
|
|
"SSOPassport": "http://localhost:52789",
|
|
|
|
|
"Version": "1.0", //如果为demo,则可以防止post提交
|
2021-04-21 18:02:01 +08:00
|
|
|
|
"DbTypes": {
|
|
|
|
|
"OpenAuthDBContext":"SqlServer" //数据库类型:SqlServer、MySql、Oracle
|
|
|
|
|
}
|
2020-10-22 14:59:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|