Enterprise WeChat application authorization, how to open it again after the mobile phone number is not authorized for the first time


foreword

简单记录一下:

Recently, I have made a few enterprise WeChat application authorization webs, which are similar to the authorization of ordinary WeChat public accounts. Record it


1. About enterprise WeChat application authorization

1. Create a new application

At present [2023-02-10] Enterprise WeChat can be registered personally, it is recommended to register a self-debugging
Create a new application in the application management, get the application [AgentId] and [Secret], check the [Enterprise ID] in My Enterprise
insert image description here
insert image description here
insert image description here

2. Enterprise WeChat application authorization

Application authorization document: https://developer.work.weixin.qq.com/document/path/91022
Just do the authorization according to the document

insert image description here

It is very similar to official account authorization. It should be noted that a secure ip address and domain name must be added, and the domain name needs to be associated with the enterprise first.

insert image description here
insert image description here

2. How to manually open after the first rejection

Enterprise WeChat shows the authorization, and you can manually choose whether to authorize the following three information,
1, profile picture, nickname
2, mobile phone number
3, email

If you cancel the check, the authorization can also be successful, but you can’t get the corresponding data, and the authorization pop-up window only appears once a month. If you want to enter the page for the second time to authorize and get the unchecked information, you need the user in the The client manually changes the authorization information of a single application,
as shown in the figure below:
insert image description here
insert image description hereinsert image description here

After changing the authorization permission, authorize again, and you can get the previously canceled content


Summarize

That's all for today

Guess you like

Origin blog.csdn.net/lyk520dtf/article/details/128972189