Allow users to log in with WeChat. User can also link or unlink it's WeChat account (in user settings).
- Use Bazaar or install manually with composer:
composer require nomiscz/flarum-ext-auth-wechat
- Register new app https://open.weixin.qq.com/ and get APP ID and Secret for you application
⚠️ Callback domain name info: http://www.programmersought.com/article/69151622340/, don't add http/https protocol header to domain string.
- Enable extension in admin page and set APP ID and Secret in settings.
composer update nomiscz/flarum-ext-auth-wechat
php flarum cache:clear
🔎 Info: For older versions of the Flarum BETA:
🐛 Known issues
🔎 Error: Flarum encountered a boot error (FastRoute\BadRouteException) Static route "/auth/wechat" is shadowed by previously defined variable route "/auth/([^/]+)" for method "GET"
🔎 Error: Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
- 👉 Update extension / make sure you're using correct version of the extension for your Flarum version