Connect Websites to WeChat
Prerequisite
Register a WeChat Open Platform account (微信开放平台账号).
Register a Website Application (网站应用).
Get the information from WeChat Open Platform
Get the
appid
(Client ID)

Get the
appsecret
(Client Secret). It will only be shown once. You need to re-generate if you lose it.

Get the
原始ID
(Account ID) of your WeChat Open Platform account.

Configure Sign in with WeChat in the Authgear portal
Sign in to the Authgear portal.
Select your project.
In the navigation menu, go to Authentication > Social / Enterprise Login.
Click Add Connection.
Select WeChat Web / 网站应用.
Fill in Client ID with the
appid
.Fill in Client Secret with the
appsecret
.Fill in Account ID with the
原始ID
.Save.
Done!
No further changes are needed. The Sign in with WeChat button should be shown in the signup / login page now.
Last updated
Was this helpful?