切换至中文
To create WeChat work app:
...
(2)Intall weChatToolKits.war(DownLoad)
Supplement: If the click fails, please right-click to copy the link, paste in the new window and download
(3)Set a trusted domain, which can be used as the callback domain name for app's OAuth2.0-based webpage authorization feature.
...
Browse directory:weChatToolKits
Supplement: If Jira deploys https, then the transit server needs to support https, please modify the configuration information under webapps\weChatToolKits\WEB-INF\config.properties:
...
Step2:Sign in your https://work.weixin.qq.com
...
Request token URL fill in: Jira system baseUrl + /plugins/servlet/oauth/request-token
Access token URL fill in: Jira system baseUrl + /plugins/servlet/oauth/access-token
Fill in the authentication URL: Jira system baseUrl + /plugins/servlet/oauth/oauth/authorize
consumer Key must be consistent with the content in the basic service configuration, as shown below:
...
When you are done,Do not check to create incoming links, click continue. Get an application link that looks like this:
...
Where, the consumer key and the consumer name should be set to the same as the consumer Key in a window.
The publickey (publickey) should be copied from the jira_publickey.pem file (You need to get rid of the newline in jira_publickey.pem first. The public key should be a continuous, newline-free string);
Expand | ||||
---|---|---|---|---|
| ||||
On your PC, install openssl environment. Run the following openssl command: openssl genrsa -out jira_privatekey.pem 1024 After running the above command, several files are generated. Where, the file jira_privatekey.pcks8 contains the privatekey; The publickey is stored in the jira_publickey.pem file.
|
...
Customer callback URL filling: Forwarding service address + /page/getAccessToken.
When you have finished typing, click Continue. The application link is created.
...