Yang Luo
|
f5ceae901b
|
Support auto-login.
|
2021-03-28 16:53:49 +08:00 |
|
Yang Luo
|
2029a28d7b
|
Fix getAccount() response.
|
2021-03-28 10:51:08 +08:00 |
|
Yang Luo
|
0127f8fb63
|
Improve response message.
|
2021-03-28 10:36:47 +08:00 |
|
Yang Luo
|
d6715c7601
|
Improve API error handling.
|
2021-03-28 00:48:34 +08:00 |
|
Yang Luo
|
6c2c5be33d
|
Fix React warnings.
|
2021-03-27 11:56:16 +08:00 |
|
Yang Luo
|
2063f1d27d
|
Update antd to 4.14.1
|
2021-03-26 23:41:18 +08:00 |
|
Yang Luo
|
b1ac60fa02
|
Improve provide list.
|
2021-03-26 23:25:09 +08:00 |
|
Yang Luo
|
3bcc292da2
|
Change antd primary-color.
|
2021-03-26 23:18:24 +08:00 |
|
Yang Luo
|
437289438f
|
Improve login page.
|
2021-03-26 21:58:30 +08:00 |
|
Yang Luo
|
d11bb49eac
|
Improve login failure handling.
|
2021-03-26 21:58:19 +08:00 |
|
Yang Luo
|
fa358654e6
|
Use Link.
|
2021-03-26 21:58:10 +08:00 |
|
Yang Luo
|
6880c28194
|
Remove onLoggedIn().
|
2021-03-26 21:57:54 +08:00 |
|
Yang Luo
|
9af2ac49be
|
Add RegisterPage and ResultPage.
|
2021-03-26 21:57:41 +08:00 |
|
Yang Luo
|
3d4c987d32
|
Rename Face to LoginPage.
|
2021-03-26 21:56:51 +08:00 |
|
Yang Luo
|
7fe9705303
|
Rename to SelfLoginPage.
|
2021-03-26 21:56:27 +08:00 |
|
Yang Luo
|
b6b433f26a
|
Add EnableSignUp.
|
2021-03-26 21:55:39 +08:00 |
|
Yang Luo
|
da38f7a6ba
|
Improve login error handling.
|
2021-03-25 23:22:34 +08:00 |
|
Yang Luo
|
1c97501016
|
Simplify callback URL.
|
2021-03-21 16:05:00 +08:00 |
|
Yang Luo
|
6368298715
|
Update logo.
|
2021-03-21 15:31:31 +08:00 |
|
Yang Luo
|
26502350d3
|
Add innerParams.
|
2021-03-21 13:45:55 +08:00 |
|
Yang Luo
|
55b62e9786
|
Make user profile public.
|
2021-03-21 00:44:19 +08:00 |
|
Yang Luo
|
7f367ae346
|
Fix AuthCallback's code handling.
|
2021-03-21 00:38:00 +08:00 |
|
Yang Luo
|
8b921b2c1e
|
Fix double GET params issue, fix double state bug.
|
2021-03-20 23:50:34 +08:00 |
|
Yang Luo
|
808e6c6283
|
Finish /login/oauth/authorize
|
2021-03-20 22:34:22 +08:00 |
|
Yang Luo
|
f89f454e0e
|
Add getOAuthGetParameters().
|
2021-03-20 16:51:10 +08:00 |
|
Yang Luo
|
63a4066a8d
|
Return code for /api/login
|
2021-03-20 13:05:34 +08:00 |
|
Yang Luo
|
7049e09570
|
Add error handling to face page.
|
2021-03-20 12:29:34 +08:00 |
|
Yang Luo
|
80c47dd8c6
|
Add frontend /login/oauth
|
2021-03-20 11:34:04 +08:00 |
|
Yang Luo
|
18c021b009
|
Merge two login functions.
|
2021-03-20 00:30:37 +08:00 |
|
hsluoyz
|
d0e243fca3
|
Merge pull request #23 from Kininaru/master
feat: added avatar tailoring and uploading
|
2021-03-17 13:25:53 +08:00 |
|
Kininaru
|
1908f528c8
|
feat: added avatar tailoring and uploading
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed type errors
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed the wrong folder
Signed-off-by: Kininaru <shiftregister233@outlook.com>
rewrite login check logic, added unix time to avatar url
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed a bug about strconv
Signed-off-by: Kininaru <shiftregister233@outlook.com>
supported oss
Signed-off-by: Kininaru <shiftregister233@outlook.com>
disabled oss provide qiniu
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Fixed avatar url error
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Fixed avatar length bug
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Fixed avatar length bug
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed oss.conf
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Put uploading avatar into UserEditPage
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed avatar dir
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed avatar in main.go
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Made CropperDiv a reusable component, and updated README for OSS config
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Convert ts to js
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed ts
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix: set avatar link to string 255
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix: updated yarn lock
Signed-off-by: Kininaru <shiftregister233@outlook.com>
add: Casbin license
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-03-17 13:19:23 +08:00 |
|
Yang Luo
|
4a170d1d56
|
Change /api/auth/login to POST.
|
2021-03-15 00:49:16 +08:00 |
|
Yang Luo
|
2a481d6a2e
|
Add frontend getOAuthCode() API.
|
2021-03-15 00:28:34 +08:00 |
|
Yang Luo
|
4e22e0523d
|
Rename redirectUrl to redirectUri.
|
2021-03-15 00:01:21 +08:00 |
|
Yang Luo
|
df948e9e34
|
Fix JWT token bugs.
|
2021-03-14 23:08:08 +08:00 |
|
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 |
|