Yang Luo
21392dcc14
Support user's first name and last name.
2022-02-27 14:02:52 +08:00
Steve0x2a
274096fe9d
fix: empty iss return ( #503 )
...
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-18 12:36:11 +08:00
Gucheng Wang
0bd86baf4d
Fix crash in incremental ID.
2022-02-14 22:58:26 +08:00
Gucheng Wang
db37f53d6c
Update license headers.
2022-02-13 23:39:27 +08:00
Steve0x2a
051752340d
feat: add userinfo endpoint ( #447 )
...
* feat: add userinfo endpoint
Signed-off-by: 0x2a <stevesough@gmail.com>
* feat: add scope support
Signed-off-by: 0x2a <stevesough@gmail.com>
* fix: modify the endpoint of discovery
Signed-off-by: 0x2a <stevesough@gmail.com>
2022-01-26 11:56:01 +08:00
Gucheng Wang
c22ab44894
Update import path.
2022-01-20 14:11:46 +08:00
Bingchang Chen
445d3c9d0e
feat: support spring security oauth2 ( #408 )
...
Signed-off-by: abingcbc <abingcbc626@gmail.com>
2021-12-31 19:55:34 +08:00
Yang Luo
d5f802ec7d
Support IdCard in signup page.
2021-12-28 17:48:24 +08:00
Gucheng Wang
318cf52b33
Refactor the original db code.
2021-12-18 01:08:03 +08:00
Steve0x2a
2f70e77e53
fix: wrong sub return and docker-compose boolean value error. ( #375 )
...
* fix: wrong sub return
Signed-off-by: 0x2a <stevesough@gmail.com>
* fix: yaml bool value must be enclosed in quotes
Signed-off-by: 0x2a <stevesough@gmail.com>
2021-12-16 11:10:25 +08:00
Steve0x2a
98f6cc0085
feat: add OIDC feature support. ( #373 )
...
1. add nonce parameter.
2. add sub in userinfo endpoint.
Signed-off-by: 0x2a <stevesough@gmail.com>
2021-12-15 21:42:16 +08:00
Gucheng Wang
f4265d015a
Improve user error handling.
2021-12-12 19:59:55 +08:00
Yixiang Zhao
113398c36b
feat: support SAML and test with aliyun IDaaS ( #346 )
...
* feat: support SAML and test with aliyun IDaaS
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* refactor: refactor saml.go and router
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* fix: add param to getSamlLogin()
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
* feat: add inputs to parse metadata automatically and show sp-acs-url, sp-entity-id
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2021-12-06 21:46:50 +08:00
Товарищ программист
07fa438348
feat: update swagger api json with tags ( #347 )
...
Signed-off-by: Товарищ программист <2962928213@qq.com>
2021-12-03 20:42:36 +08:00
Gucheng Wang
63f33d0ad9
Improve email and phone checking in Signup().
2021-11-09 20:29:38 +08:00
Gucheng Wang
467d709b8e
Add MasterPassword to organization.
2021-11-06 21:14:53 +08:00
Gucheng Wang
9e920181d2
Add user soft deletion.
2021-11-06 15:52:03 +08:00
Jing Liu
e61e46f1e5
fix: signup logic when email and phone not enabled ( #298 )
...
Signed-off-by: chinggg <24590067+chinggg@users.noreply.github.com>
2021-09-21 14:11:05 +08:00
Yang Luo
b3eec024b8
Add getInitScore().
2021-08-30 01:06:05 +08:00
Yang Luo
495b64995f
Add resource list page.
2021-08-15 00:25:46 +08:00
Yang Luo
004282f970
Improve UploadFile() API.
2021-08-14 15:58:47 +08:00
Yang Luo
8d9451124c
Improve UploadFile() error handling.
2021-08-14 14:24:00 +08:00
WindSpiritSR
8c6f0a31b6
feat: support storage provider to terms of use file ( #221 )
...
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-08-14 14:23:15 +08:00
Yang Luo
5c2f96bda0
Add UploadFile() API.
2021-08-14 14:22:01 +08:00
Yang Luo
1b74a58d06
Fix compile errors.
2021-08-14 14:20:13 +08:00
Yang Luo
9feefc31f9
Use c.ResponseOk() for all places.
2021-08-14 14:19:50 +08:00
Yang Luo
a5783598ff
Rename to UploadFile().
2021-08-14 14:19:48 +08:00
sh1luo
c55fa4f452
feat: add local file system storage provider ( #224 )
...
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-14 14:19:45 +08:00
Yang Luo
44150a6781
Refactor the storage provider interface.
2021-08-14 14:19:37 +08:00
Yang Luo
d16569d461
Use c.ResponseError() for all places.
2021-08-14 14:19:33 +08:00
sh1luo
8c66ef6860
fix: improve code specification ( #231 )
2021-08-14 14:18:08 +08:00
Yang Luo
af3def97bf
Fix avatar upload.
2021-08-14 14:08:29 +08:00
sh1luo
bc5e748e5c
feat: add country/region select ( #207 )
...
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-31 16:02:48 +08:00
Kininaru
3d493b8d8f
feat: integrate Storage config into providers ( #198 )
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-26 11:39:49 +08:00
sh1luo
c632c3c307
fix: replace casdoor with casbin ( #194 )
...
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 09:34:25 +08:00
Kininaru
4a930121c4
feat: session without autosignin will expire
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-19 10:14:14 +08:00
Kininaru
d83b86df37
refactor: SessionUser -> SessionUsername
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-19 10:14:14 +08:00
Yang Luo
9c233e42c0
Add SignupApplication to user.
2021-06-21 10:22:47 +08:00
Yang Luo
a43db3e55a
Fix prompt redirect logic and db sync bug.
2021-06-20 13:56:32 +08:00
Yang Luo
d3a8ab8347
Finish the prompt page logic.
2021-06-20 11:52:04 +08:00
Yang Luo
586da5caac
Add isValidPersonalName().
2021-06-17 11:55:06 +08:00
Yang Luo
9dd43238f0
Add DefaultAvatar to org.
2021-06-17 01:44:19 +08:00
Yang Luo
b11b3b6021
Use signup table in Signup API.
2021-06-17 00:49:02 +08:00
Yang Luo
7ea469e876
Add provider_item.go
2021-06-16 00:18:56 +08:00
Yang Luo
f672045b45
Allow to sign up with OAuth.
2021-06-09 21:28:33 +08:00
Kininaru
f39378562f
feat: turing test before send code
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
i18n
i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-22 21:03:49 +08:00
Kininaru
66d953a6c1
feat: check user email and phone when signing up
...
Signed-off-by: Kininaru <shiftregister233@outlook.com>
phone prefix error
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix i18n error
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed useless file
Signed-off-by: Kininaru <shiftregister233@outlook.com>
move timeout to app.conf
Signed-off-by: Kininaru <shiftregister233@outlook.com>
i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
made verification code reusable
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-18 22:20:26 +08:00
Yang Luo
947d132362
Refactor out c.RequireSignedIn()
2021-05-17 23:25:28 +08:00
Yang Luo
6508d96162
Remove GetOrganizationByName().
2021-05-16 22:58:30 +08:00
Yang Luo
2ea5e7ec78
Remove user's PhonePrefix.
2021-05-15 13:54:23 +08:00