Files
OpenAuth.Net/OpenAuth.Mvc/appsettings.json
2020-10-22 14:59:36 +08:00

21 lines
784 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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提交
"DbType": "SqlServer" //数据库类型SqlServer、MySql
}
}