企业微信里的OAuth2登陆问题OAuth2 login problem in enterprise WeChat
企业微信里的OAuth2登陆问题I built an application in my own enterprise wechat and log in with oauth2 authorization. The login is on the enterprise wechat end of Android mobile terminal, which can normally obtain relevant information and log in normally. However, in the client of PC terminal, it prompts "please open the link in the enterprise wechat client". According to the experience of others, I tried all kinds of methods, but I don't know why. My authorized login URL is as follows: https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww04add14898ae9e23&redirect_ uri=https%3A%2F%2 FXXX.XXX.com%2FWeiXin -Work&response_ type=code&scope=snsapi_ base&state=123%23wechat_ I hope the government can give us a solution. thank you!
回答:
PC端企业微信是否是最新版本,如果不是,升级到最新版本看下
后台管理里面,信任域名都设置正确。
原文出处:企业微信里的OAuth2登陆问题
你好,构造的oauth2链接有问题,少了#号,