mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: update WeCom QR code iframe URL to use state instead of accessToken
This commit is contained in:
parent
a568cfe893
commit
153a3faa8a
|
|
@ -40,7 +40,7 @@ const init = async () => {
|
|||
const redirectUri = encodeURIComponent(data.redirectUri)
|
||||
console.log('redirectUri', data.redirectUri)
|
||||
// 手动构建生成二维码的url
|
||||
iframeUrl.value = `https://login.work.weixin.qq.com/wwlogin/sso/login?login_type=CorpApp&appid=${data.corpId}&agentid=${data.agentId}&redirect_uri=${redirectUri}&accessToken=${accessToken}&state=fit2cloud-wecom-qr&lang=${lang}&lang=${lang}&panel_size=small`
|
||||
iframeUrl.value = `https://login.work.weixin.qq.com/wwlogin/sso/login?login_type=CorpApp&appid=${data.corpId}&agentid=${data.agentId}&redirect_uri=${redirectUri}&state=${accessToken}&lang=${lang}&lang=${lang}&panel_size=small`
|
||||
}
|
||||
|
||||
init()
|
||||
|
|
|
|||
Loading…
Reference in New Issue