微信第三方集成
最后更新于:2022-04-02 07:22:02
查看application.yml **justauth.type.WECHAT_OPEN** 配置,需要配置三个信息
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/ec/fb/ecfb635c11cf0d8b04a46abc8f56f66d_1253x150.png)
进入微信开放平台点击管理中心,进入网站应用
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/34/38/3438dd1f76ddee05c3f8a3ab769cbe8e_1094x200.png)
此过程需要网站应用,如果没有需要创建
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/62/9d/629d564e742fb7d7af237a3d5e47a73f_1585x439.png)
创建成功后进入查看获取到appid和AppSecret,并将之填写到对应的yml中
```
client-id -> appid
client-secret -> AppSecret
```
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2c/52/2c526eb0d9b6257720cccb32920d4949_1349x225.png)
修改回调地址
网页滑到最下方,点击修改即可
注意:回调地址不用带http和https
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/16/b9/16b9dbba3b25b7ca500344c712578ccf_1606x221.png)
将回调地址填入yml中即可
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/53/31/533188abfdf7749e62a24cfb01959f0c_1089x51.png)
';