diff --git a/docs/provider/oauth/Wechat.md b/docs/provider/oauth/Wechat.md index ee8561b60..71dbcb62c 100644 --- a/docs/provider/oauth/Wechat.md +++ b/docs/provider/oauth/Wechat.md @@ -20,7 +20,7 @@ The WeChat provider offers two different sets of keypairs: - The second keypair (`Client ID 2`, `Client Secret 2`) and `Access Token` field is for the `WeChat Media Platform (微信公众平台)` and is intended for the inside-WeChat-app login scenario.`Access Token` field is the `Token` you fill in the `server configuration` of the `WeChat Media Platform (微信公众平台)`. It enables users to log in with the WeChat built-in browser inside the WeChat mobile app, which will redirect them to your `WeChat Official Account (微信公众号)` to log in. Please note that WeChat does not support logging in outside of the WeChat app in other mobile browsers or apps. This limitation is imposed by WeChat and not by Casdoor. -If you fill in the second keypair (`Client ID 2`, `Client Secret 2`), fill the `Access Token` field and enable the `Enable QR code` switch, Casdoor will ask the user to follow the WeChat official account (微信公众号) before proceeding with the login process when the user clicks on the WeChat button to log in. It's important to note that this functionality is only available in the PC login scenario because a mobile phone cannot scan the QR code by itself. When used in the mobile scenario (i.e., the WeChat built-in browser inside the WeChat mobile app), Casdoor will automatically skip this step. +If you fill in the second keypair (`Client ID 2`, `Client Secret 2`), fill the `Access Token` field and enable the `Enable QR code` switch, then you can choose to login directly using the information from the `WeChat Media Platform (微信公众平台)` after scanning the QR code, or use the information from the `WeChat Open Platform (微信开放平台)` to login, if you choose `use Wechat Open Platform to login`,after user follow the the WeChat official account (微信公众号), users will be required to scan the QR code of `WeChat Open Platform (微信开放平台)`to login. Casdoor will ask the user to follow the WeChat official account (微信公众号) before proceeding with the login process when the user clicks on the WeChat button to login. It's important to note that this functionality is only available in the PC login scenario because a mobile phone cannot scan the QR code by itself. When used in the mobile scenario (i.e., the WeChat built-in browser inside the WeChat mobile app), Casdoor will automatically skip this step. :::tip diff --git a/static/img/providers/OAuth/wechat.png b/static/img/providers/OAuth/wechat.png index 13f7df6e4..d0e77f638 100644 Binary files a/static/img/providers/OAuth/wechat.png and b/static/img/providers/OAuth/wechat.png differ