{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "yh": { "open": { "enabled": true, "base-host": "http://userbase.example.com", "base-path": "/userbase", "app-key": "100476", "app-secret": "请替换为在UserBase注册的appSecret", "connectTimeoutMs": 1500, "readTimeoutMs": 5000 }, "app-auth": { "enabled": true, "expireMs": 300000, "app-key": "100476", "app-secret": "请替换为在UserBase注册的appSecret", "userBaseSignKeyFallbackEnabled": false, "userBaseBaseUrl": "http://userbase.example.com/userbase", "redisConnectionString": "" }, "auth": { "enabled": true, "CookieExpireMinutes": 30, "cookieName": ".yh.auth" }, "sso": { "casServerUrlPrefix": "https://sso.example.com/cas", "appBaseUrl": "https://your-app.example.com", "signInCallbackPath": "/signin-cas" } } }