The use of egg in Wechat's development background is prohibited from routing redirection.

a security problem has been de
tected for url "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxaf4b4a767b7ecdfa&redirect_uri=http%3a%2f%2ft1.x.cn%2foauth&response_type=code&scope=snsapi_userinfo&state=123-sharpwechat_redirect", redirection is prohibited.

Source code is this.ctx.redirect (" https://open.weixin.qq.com/co.

take out the redirected link behind redirect_uri and put it separately in Wechat to access it.
ask if there is something wrong with the security settings of egg

uses
csrf: {

transferred from natapp.
  enable: false,

}

Apr.09,2021

found the reason, domainWhiteList added '.qq.com'

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31dcb-40357.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31dcb-40357.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?