企业微信配置
最后更新于:2022-04-02 07:21:55
查看application.yml **justauth.type.WECHAT_ENTERPRISE** 配置,需要配置四个信息
1. **client-id** :登录企业微信后台,获取企业ID即client-id
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/25/b7/25b7eb3e95fb63d1473f95cc59f00c7d_2876x1672.png)
2.进入应用管理,创建应用
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/34/60/3460042f6b28e399158ae5effb8288a1_1303x789.png)
3. **client-secret** :应用的Secret
4. **agent-id** :应用的AgentId
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/27/7c/277c9572edb6c3413d998f6b30e01557_2878x1676.png)
4.进入登录授权界面
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/06/cb/06cb57b639480168d1e9f8919bd159af_1369x696.png)
5.配置回调域名,需带上端口,不用http开头
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/44/24/44244c78ee7600e7b69e6f6291f5d169_1208x452.png)
6. **redirect-uri**: 需和上述域名保持一致,其他参数不变
';