WeChat Login for Web Apps is based on the OAuth 2.0 protocol. https://api. weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code= .