企业微信
介绍
WeCom provides an authorized login method using OAuth, which allows you to obtain members' identity information directly from the webpage opened by the WeCom terminal, eliminating the need for a login process.
There are two types of applications: internal applications and third-party applications.
Basic Configuration
To configure a WeCom provider, you need to provide the following parameters:
参数描述:
参数 | 描述 |
---|---|
Sub type | 内部或第三方 |
Method | 静默或正常模式 |
Client ID | The enterprise CorpID |
Client secret | The enterprise CorpSecret |
Agent ID | 应用程序Agentid |
WeCom supports two authorization methods: Silent authorization and normal authorization.
Silent authorization: After the user clicks the link, the page is redirected to redirect_URI? code=CODE&state=STATE
Normal authorization: After the user clicks the link, a middle page is displayed for the user to choose whether to authorize or not. After the user confirms the authorization, they are redirected to redirect_uri?code=CODE&state=STATE
For more details, please refer to the official documentation.
More Information
For more information about internal applications, please refer to the Internal Application documentation.
For information about third-party applications, please refer to the Third-Party Application documentation.