|
@@ -198,6 +198,16 @@ justauth:
|
|
|
client-secret: 1wTb7hYxnpT2TUbIeHGXGo7T0odav1ic10mLdyyATOw
|
|
|
agent-id: 1000004
|
|
|
ignore-check-redirect-uri: true
|
|
|
+ # noinspection SpringBootApplicationYaml
|
|
|
+ WECHAT_MINI_APP: # 微信小程序
|
|
|
+ client-id: ${wx.miniapp.appid}
|
|
|
+ client-secret: ${wx.miniapp.secret}
|
|
|
+ ignore-check-redirect-uri: true
|
|
|
+ ignore-check-state: true # 微信小程序,不会使用到 state,所以不进行校验
|
|
|
+ WECHAT_MP: # 微信公众号
|
|
|
+ client-id: ${wx.mp.app-id}
|
|
|
+ client-secret: ${wx.mp.secret}
|
|
|
+ ignore-check-redirect-uri: true
|
|
|
cache:
|
|
|
type: REDIS
|
|
|
prefix: 'social_auth_state:' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::
|