User GuideAuthentication
WeChat Login Configuration
Configure WeChat account login
Setup Steps
- Visit WeChat Open Platform
- Register developer account and verify
- Management Center => Website Application => Create Website Application
- Get AppID and AppSecret
- Set authorization callback domain
Environment Variables
NEXT_PUBLIC_WECHAT_APP_ID="your_wechat_app_id"
WECHAT_APP_SECRET="your_wechat_app_secret"Callback Domain
Local Development: localhost:7001
Production: yourdomain.com
WeChat Open Platform callback domain only needs the domain name, not the full path.
Important Notes
- WeChat scan login requires enterprise qualification, individuals cannot apply
- Enterprise verification must be completed on WeChat Open Platform
- Callback domain must match the actual access domain