justauth / JustAuth

🏆Gitee 最有价值开源项目 🚀:100: 小而全而美的第三方登录开源组件。目前已支持Github、Gitee、微博、钉钉、百度、Coding、腾讯云开发者平台、OSChina、支付宝、QQ、微信、淘宝、Google、Facebook、抖音、领英、小米、微软、今日头条、Teambition、StackOverflow、Pinterest、人人、华为、企业微信、酷家乐、Gitlab、美团、饿了么、推特、飞书、京东、阿里云、喜马拉雅、Amazon、Slack和 Line 等第三方平台的授权登录。 Login, so easy!
https://www.justauth.cn
MIT License
16.4k stars 2.76k forks source link

feat: 新版企业微信登录有对接计划么? #165

Open flyskyliuhui opened 1 year ago

flyskyliuhui commented 1 year ago

新版企业微信登录

对接新版企业微信登录。

功能描述

新版企业微信登录,除了支持使用移动端企业微信扫码登录之外,还支持通过企业微信桌面端进行快速登录。新版企业微信登录是对原扫码登录的能力升级,建议开发者升级接入,获得更好的登录体验。

https://developer.work.weixin.qq.com/document/path/98151 image

https://developer.work.weixin.qq.com/document/path/98152#%E9%93%BE%E6%8E%A5%E6%A0%BC%E5%BC%8F image

zhangyd-c commented 1 month ago

预计 1.16.7 版本增加。目前可以在尝试以下快照分支:

authRequest = new AuthWeChatEnterpriseQrcodeV2Request(AuthConfig.builder()
                        .clientId("ww9dxxxx")
                        .clientSecret("CiAx7j_mdL3xxxx")
                        .redirectUri("https://xxxx/oauth/callback/wechat_enterprise")
                        .agentId("1000003")
                        .lang("en")
                        .build());