From f8fbf1db4df0d59c3387980cd46811de6359131b Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期一, 21 八月 2023 14:57:04 +0800 Subject: [PATCH] 修改登录授权方式,增加zctoken登录方案,增加分布式消息队列 --- DocumentServiceAPI.Application/applicationsettings.json | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/DocumentServiceAPI.Application/applicationsettings.json b/DocumentServiceAPI.Application/applicationsettings.json index 9ba3089..fadfbf6 100644 --- a/DocumentServiceAPI.Application/applicationsettings.json +++ b/DocumentServiceAPI.Application/applicationsettings.json @@ -46,12 +46,25 @@ "KeepVerb": true,//淇濇寔鐗堟湰鍙蜂竴鑷� "LowercaseRoute": false }, - + "CorsAccessorSettings": { "WithExposedHeaders": [ "access-token", "x-access-token", "environment" ] + }, + "ZCUserInfoJwtOP": { //zc鐢ㄦ埛涓績jwt閰嶇疆 鐢ㄤ簬瑙f瀽zc鐨則oken + + "Issuer": "http://zc", + "Audience": "http://zc", + "Expires": 86400, + "weixinExpires": 1296000, // 86400, + "SecurityKey": "superSecretKey@345", + "RefreshTokenExpires": 86400, + "LoginPath": "/_Framework/Redirect401" + } + + } \ No newline at end of file -- Gitblit v1.9.1