The callback domain to use right now is shown on the WeChat QR login → Config page in your superun project: the preview domain before you publish, the production domain afterwards.
The QR area shows a redirect_uri parameter error
WeChat checks two things before generating a code; failing either shows this error instead of a QR code:
- The authorized callback domain is missing or does not match the live domain. On WeChat Open Platform, go to Management center → Website application → Development config → Development info → Domain info and enter the callback domain exactly as shown on the WeChat QR login → Config page. Domain only — no
https://, no port, no path. - The website application has not passed review. QR login does not work before approval; check the review status on WeChat Open Platform.
The QR area stays blank
The QR script is served from a WeChat domain (res.wx.qq.com), so a permanently blank area usually means the script failed to load:
- Check the device’s network and reload the page.
- If the page offers a reload button, use it to retry.
It reports missing credentials or cannot initialize the QR code
The AppID / AppSecret have not been saved to superun yet. On the WeChat QR login → Config page, choose Edit credentials and save the AppID and AppSecret from your WeChat Open Platform website application.The scan succeeds but sign-in fails
- Security check failed: the code sat too long or the page was reused. Go back to the login page and scan again.
- Authorization code invalid or already used: WeChat codes last about 10 minutes and are single-use. Scan again for a fresh code.
- Failing repeatedly: usually a wrong AppSecret (see above). Save the credentials again and retry.

