OAuth
How do I add a sign in with WeChat button to the page?
How do I add a sign in with WeChat button to the page?
Self-registration: users remember a password for every site.
Jump to the third party to confirm: Clicking sign in with WeChat jumps to WeChat's authorization page; the user approves on a platform they know.
Return with the result: After approval you return to the site with an authorization result; the whole flow never touches the user's WeChat password.
The site still identifies the user: The site uses its own user records to recognize who this is; OAuth handles the authorization confirmation, not the account system.
Add a sign in with WeChat button to the login page and configure authorization and the callback address. On callback, create or match the corresponding user on this site; keep email registration unchanged. Afterward, actually run the authorization flow once to confirm sign-in works, and explain what users see on failure.