Commit b947398e authored by wty's avatar wty

重写阿波罗配置获取9

parent d4da63f6
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
"SSO": { "SSO": {
"ssourl": "http://sso.duibadev.com.cn", "ssourl": "http://sso.duibadev.com.cn",
"systemId": 491, "systemId": 491,
"systemName": "dui123", "appSecret": "9e51dbe27cf3eb68e5686a4a433ae14b",
"systemName": "duiba-aurora-node",
"profiles": "dev" "profiles": "dev"
}, },
"secret": "5d0cb61fe5ef40afa49bc22b64f9ede1" "secret": "5d0cb61fe5ef40afa49bc22b64f9ede1"
......
...@@ -4,7 +4,7 @@ const config = require('../../config/getConfig')() ...@@ -4,7 +4,7 @@ const config = require('../../config/getConfig')()
const SsoOauth2 = require('sso-oauth2').default const SsoOauth2 = require('sso-oauth2').default
const ssoOauth2 = new SsoOauth2({ const ssoOauth2 = new SsoOauth2({
...config.SSO, ...config.SSO,
appSecret: global['SSO_APP_SECRET'] // appSecret: global['SSO_APP_SECRET']
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment