Yang Luo
|
ea9bdbf45e
|
Improve UploadAvatar API.
|
2021-04-28 19:02:01 +08:00 |
|
Yang Luo
|
7a0ed4ebaf
|
Replace "register" with "sign up".
|
2021-04-27 22:47:44 +08:00 |
|
Yang Luo
|
c317d601a5
|
Sync info from 3rd-party if possible.
|
2021-04-27 19:35:40 +08:00 |
|
Yang Luo
|
36895801f0
|
Add Link API.
|
2021-04-19 01:14:41 +08:00 |
|
Yang Luo
|
6774b0379c
|
Add Unlink API.
|
2021-04-18 23:14:46 +08:00 |
|
Yang Luo
|
2934d6bdeb
|
Rename userObj to user.
|
2021-04-18 20:47:40 +08:00 |
|
Kininaru
|
3a13b8e73c
|
feat: add go backend API docs
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-03-29 23:40:25 +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
|
d11bb49eac
|
Improve login failure handling.
|
2021-03-26 21:58:19 +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
|
540adfed20
|
Improve IDP username handling.
|
2021-03-24 00:44:41 +08:00 |
|
Yang Luo
|
c24de7d180
|
Change provider interface.
|
2021-03-23 23:23:59 +08:00 |
|
Yang Luo
|
fa141a0edb
|
Add QqIdProvider.
|
2021-03-22 20:00:35 +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
|
63a4066a8d
|
Return code for /api/login
|
2021-03-20 13:05:34 +08:00 |
|
Yang Luo
|
9980ef1975
|
Add /api/get-app-login
|
2021-03-20 10:51:00 +08:00 |
|
Yang Luo
|
c8cd37058e
|
Add codeToResponse().
|
2021-03-20 09:12:24 +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
|
0ce7420907
|
Add HandleLoggedIn().
|
2021-03-15 19:11:41 +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
|
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
|
64c9548019
|
Update license header.
|
2021-03-13 23:09:14 +08:00 |
|
Yang Luo
|
dfa77ab25d
|
Add GoogleIdProvider.
|
2021-02-21 23:51:40 +08:00 |
|
Yang Luo
|
40fb336e95
|
Add IdProvider interface.
|
2021-02-21 22:33:53 +08:00 |
|
Yang Luo
|
65eee22099
|
Check user under org.
|
2021-02-14 21:45:40 +08:00 |
|
Yang Luo
|
15f9d71127
|
Add UseProxy config.
|
2021-02-14 17:24:05 +08:00 |
|
Yang Luo
|
20b70c323d
|
Rename to method.
|
2021-02-14 15:45:48 +08:00 |
|
Yang Luo
|
001496b90f
|
Add auth folder.
|
2021-02-14 14:34:03 +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
|
cdc1445883
|
Fix login.
|
2021-02-13 00:11:12 +08:00 |
|
Yang Luo
|
3ea58a0cdc
|
Add account APIs.
|
2021-02-11 22:56:08 +08:00 |
|
Yang Luo
|
84c1f2634e
|
Add application list and edit pages.
|
2020-12-20 23:24:09 +08:00 |
|
Yang Luo
|
b9adda2277
|
Add provider list and edit pages.
|
2020-12-20 21:25:23 +08:00 |
|
Yang Luo
|
f0692985f1
|
Add organization list and edit pages.
|
2020-12-20 20:31:48 +08:00 |
|
Yang Luo
|
b5eb673c81
|
Add user list and edit pages.
|
2020-10-20 23:14:03 +08:00 |
|
Yang Luo
|
49d84c1c2c
|
Add server code.
|
2020-10-20 21:57:29 +08:00 |
|