Commit 9e2b2d23 authored by wty's avatar wty

重写阿波罗配置获取5

parent a9bfae98
......@@ -10,6 +10,10 @@ const ssoOauth2 = new SsoOauth2({
router.get('/ssoIndex', async (req, res) => {
const {ssoStamp, redirect} = req.query
console.info('ssoConfig:',{
...config.SSO,
appSecret: global['SSO_APP_SECRET']
})
console.info('ssoStamp', ssoStamp)
try {
const ticket = await ssoOauth2.getTicket(ssoStamp)
......
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