File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -28,23 +28,51 @@ Oauth2 Client通常是要被保护的资源,例如app接口。配套的Oauth2
28
28
7 . 集成Druid数据库连接池;
29
29
8 . 自定义Oauth2Exception异常返回的json信息。
30
30
31
+
32
+ 请下载与Spring Boot对应版本的oauthserver:
33
+ <table border =" 1 " >
34
+ <tr >
35
+ <th>Spring Boot version</th>
36
+ <th>oauthserver version</th>
37
+ </tr >
38
+ <tr >
39
+ <td>1.x.x</td>
40
+ <td>1.x.x</td>
41
+ </tr >
42
+ <tr >
43
+ <td>2.x.x</td>
44
+ <td>2.x.x</td>
45
+ </tr >
46
+ </table >
47
+
48
+ ## 升级指南
49
+ oauthserver从v1.2.0以前版本(不包括v1.2.0)升级到v2.x,或者是使用v2.x版本,需要修改数据表oauth_client_details的clicent_secret列的值,从明文secret改为经过Scrypt加密的字符串$2a$11$uBcjOC6qWFpxkQJtPyMhPOweH.8gP3Ig1mt27mGDpBncR7gErOuF6。
50
+
31
51
## 更新日志
32
52
### v1.2.0(2018-07-25)
33
53
- 集成Mybatis,以及Mybatis三大插件:通用Mapper,Mybatis-Plus,PageHelper;
34
- - 集成swagger2,并配置非全局、无需重复输入的header参数(token);
54
+ - 集成swagger2,并配置非全局、无需重复输入的header参数(token),访问 [ http://localhost:8182/swagger-ui.html ] ( http://localhost:8182/swagger-ui.html ) ;
35
55
- authorities表使用user_id代替username字段;
36
56
- 集成Redis缓存;
57
+ - 自定义登录页面和授权页面,并修复授权码模式与密码模式共存问题;
37
58
- 更棒的接口示例HelloWorldController,强烈建议您阅读该Controller代码。
38
59
60
+ ### v2.0.0.alpha(2018-07-16)
61
+ - 升级Spring Boot版本从1.5.14.RELEASE到2.0.3.RELEASE。
62
+
39
63
### v1.1.1(2018-07-07)
40
64
- 升级Spring Boot版本从1.5.13.RELEASE到1.5.14.RELEASE;
41
65
- 修复检查的access_token无法识别时,返回中文message。
66
+
42
67
### v1.1.0(2018-06-01)
43
68
- 自定义Oauth2Exception异常返回的json信息。
69
+
44
70
### v1.0.3
45
71
- bug修复。
72
+
46
73
### v1.0.1
47
74
- 获取token时,username允许传用户名、手机号或者邮箱。
75
+
48
76
### v1.0.0
49
77
- 完成基础Oauth服务。
50
78
You can’t perform that action at this time.
0 commit comments