diff --git a/CHANGELOG.md b/CHANGELOG.md index db791be..7198792 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## 版本更新记录 +### 【1.4.0】2021-05-10 + +- 升级 `JustAuth` 版本:1.16.1,新增Amazon、Slack、LINE、Okta、钉钉账号登录,同时修复若干BUG,详细信息请参考参考:https://github.com/justauth/JustAuth/blob/master/CHANGELOGS.md#1161 +- 升级 `hutool-core` 版本:5.6.5 + ### 【1.3.5】2021-01-04 - 升级 `JustAuth` 版本:1.15.9,新增飞书、京东、阿里云、喜马拉雅、企业微信网页端登录 diff --git a/README.md b/README.md index 4409ed0..196f5e3 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ https://github.com/xkcoding/justauth-spring-boot-starter-demo com.xkcoding.justauth justauth-spring-boot-starter - 1.3.5 + 1.4.0 ``` diff --git a/pom.xml b/pom.xml index a182f4c..69a0a38 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ com.xkcoding.justauth justauth-spring-boot-starter - 1.3.5 + 1.4.0 justauth-spring-boot-starter https://github.com/xkcoding/justauth-spring-boot-starter @@ -72,8 +72,8 @@ 2.1.8.RELEASE - 1.15.9 - 5.5.6 + 1.16.1 + 5.6.5 diff --git a/src/main/java/com/xkcoding/justauth/AuthRequestFactory.java b/src/main/java/com/xkcoding/justauth/AuthRequestFactory.java index e133d4b..fd75376 100644 --- a/src/main/java/com/xkcoding/justauth/AuthRequestFactory.java +++ b/src/main/java/com/xkcoding/justauth/AuthRequestFactory.java @@ -186,6 +186,8 @@ public class AuthRequestFactory { return new AuthGiteeRequest(config, authStateCache); case DINGTALK: return new AuthDingTalkRequest(config, authStateCache); + case DINGTALK_ACCOUNT: + return new AuthDingTalkAccountRequest(config, authStateCache); case BAIDU: return new AuthBaiduRequest(config, authStateCache); case CSDN: @@ -198,10 +200,10 @@ public class AuthRequestFactory { return new AuthAlipayRequest(config, authStateCache); case QQ: return new AuthQqRequest(config, authStateCache); - case WECHAT_MP: - return new AuthWeChatMpRequest(config, authStateCache); case WECHAT_OPEN: return new AuthWeChatOpenRequest(config, authStateCache); + case WECHAT_MP: + return new AuthWeChatMpRequest(config, authStateCache); case WECHAT_ENTERPRISE: return new AuthWeChatEnterpriseQrcodeRequest(config, authStateCache); case WECHAT_ENTERPRISE_WEB: @@ -250,6 +252,14 @@ public class AuthRequestFactory { return new AuthAliyunRequest(config, authStateCache); case XMLY: return new AuthXmlyRequest(config, authStateCache); + case AMAZON: + return new AuthAmazonRequest(config, authStateCache); + case SLACK: + return new AuthSlackRequest(config, authStateCache); + case LINE: + return new AuthLineRequest(config, authStateCache); + case OKTA: + return new AuthOktaRequest(config, authStateCache); default: return null; }