66 Commits

Author SHA1 Message Date
Yang Luo
f014554415 Generate real access token. 2021-03-14 22:48:09 +08:00
Yang Luo
1fd6ee388c Add /api/oauth/code API. 2021-03-14 18:18:03 +08:00
Yang Luo
202a94a8e5 Add /api/oauth/token API. 2021-03-14 00:18:11 +08:00
Yang Luo
85523fa9d4 Add token pages. 2021-03-14 00:00:29 +08:00
Yang Luo
5e04b8c726 Add HomepageUrl and Description to app. 2021-03-06 21:50:48 +08:00
Yang Luo
45ec95b859 Add RedirectUrls to app. 2021-03-06 21:41:24 +08:00
Yang Luo
9e8bde509a Add clientId and clientSecret to app. 2021-03-06 16:39:17 +08:00
Yang Luo
e792e814d4 Add other authz rules. 2021-03-06 00:40:11 +08:00
Yang Luo
f3f902af45 Parse subOwner, subName. 2021-02-28 23:14:48 +08:00
Yang Luo
dfa77ab25d Add GoogleIdProvider. 2021-02-21 23:51:40 +08:00
Yang Luo
e91fdca5e7 Improve SelectLanguageBox. 2021-02-21 22:35:50 +08:00
Yang Luo
62c69a89c1 Improve passwordType control. 2021-02-20 23:27:30 +08:00
hsluoyz
717d655fdb Merge pull request #14 from RobotHuang/master
feat: support i18n
2021-02-20 18:00:12 +08:00
RobotHuang
e301121c21 feat: support i18n
Signed-off-by: RobotHuang <1183598761@qq.com>
2021-02-20 10:25:29 +08:00
Yang Luo
df5514ef31 Add getUsers() to Auth folder. 2021-02-15 23:28:25 +08:00
Yang Luo
60ad52f7ae Add User.isGlobalAdmin 2021-02-15 22:14:19 +08:00
Yang Luo
d44a5ee2c1 Update app default logo URL. 2021-02-15 17:19:48 +08:00
Yang Luo
bf4bbeeb15 Fix initAuthWithConfig() arg. 2021-02-15 17:08:48 +08:00
Yang Luo
475f79ffc8 Set face logo width to 250. 2021-02-15 16:54:05 +08:00
Yang Luo
e71311b1af Add InitDb(). 2021-02-15 10:05:14 +08:00
Yang Luo
906fe9758e Add profile links. 2021-02-14 22:49:06 +08:00
Yang Luo
65eee22099 Check user under org. 2021-02-14 21:45:40 +08:00
Yang Luo
46fb2b4bff Use a href for oauth icon. 2021-02-14 17:40:15 +08:00
Yang Luo
b5b86262d6 Refactor the auth code. 2021-02-14 17:12:08 +08:00
Yang Luo
9b45e5fe43 Add setAuthServerUrl(). 2021-02-14 15:59:25 +08:00
Yang Luo
277dec0af3 Define auth.ServerUrl. 2021-02-14 15:51:56 +08:00
Yang Luo
20b70c323d Rename to method. 2021-02-14 15:45:48 +08:00
Yang Luo
faeb93494c Improve auth folder. 2021-02-14 15:40:57 +08:00
Yang Luo
001496b90f Add auth folder. 2021-02-14 14:34:03 +08:00
Yang Luo
40587f35e3 Add user's Affiliation and IsAdmin. 2021-02-14 13:43:55 +08:00
Yang Luo
4b66c24bb6 Add app's EnablePassword. 2021-02-14 10:56:37 +08:00
Yang Luo
8543d09d05 Improve UI. 2021-02-14 10:20:42 +08:00
Yang Luo
2dd4afbe7b Fix github login. 2021-02-14 01:04:51 +08:00
Yang Luo
101d418257 Fix code format. 2021-02-14 00:55:17 +08:00
Yang Luo
c81118feff Add github oauth. 2021-02-14 00:22:24 +08:00
Yang Luo
ea09beffe2 Show oauth logos. 2021-02-13 23:00:43 +08:00
Yang Luo
bac289d387 Add github oauth logo. 2021-02-13 21:04:23 +08:00
Yang Luo
cf2152846c Change CRLF to LF. 2021-02-13 20:35:41 +08:00
Yang Luo
7bffb03b29 Fix favicon. 2021-02-13 20:15:53 +08:00
Yang Luo
6e015a959f Add user's id. 2021-02-13 20:10:41 +08:00
Yang Luo
34f87c78d8 Use new account page. 2021-02-13 17:56:58 +08:00
Yang Luo
e57590ab70 Fix menu key conflict. 2021-02-13 17:56:15 +08:00
Yang Luo
6824d558ca Add HomePage. 2021-02-13 17:34:32 +08:00
Yang Luo
9677282017 Add user's avatar. 2021-02-13 14:49:31 +08:00
Yang Luo
4daa4416c1 Add react-github-corner. 2021-02-13 14:22:49 +08:00
Yang Luo
35df55cf70 Add license header. 2021-02-13 13:30:51 +08:00
Yang Luo
09b39d69f6 Change CRLF to LF. 2021-02-13 12:15:19 +08:00
Yang Luo
7304e62f95 Add login and account pages. 2021-02-13 01:33:06 +08:00
Yang Luo
cdc1445883 Fix login. 2021-02-13 00:11:12 +08:00
Yang Luo
d30c96038d Fix links. 2021-02-12 01:07:23 +08:00