Commit Graph

133 Commits

Author SHA1 Message Date
4d48517be9 fix: fix the No.0 bug(for all sign up methods) (#535) 2022-03-04 13:06:21 +08:00
697b3e4998 feat: add implicit flow support (#520)
* feat: add implicit flow support

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: idp support in implicit flow

Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-03-01 19:09:59 +08:00
d48d515c36 fix: Missing extendedUser in signup webhook (#522)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-03-01 18:25:48 +08:00
4915963c52 fix: member No.0 bug (#516)
* fix: member No.0 bug

* Update account.go

* fix: member No.0 bug

* fix: member No.0 bug

* Update account.go
2022-02-28 19:42:11 +08:00
759a1421e5 feat: add the 'karma' prop to table User (#518)
* feature: feat : add the 'karma' prop to table User

* feat: add the 'karma' prop to table User
2022-02-28 16:25:09 +08:00
c14bf9fdab Fix bug in first name, last name checking 2022-02-28 13:17:05 +08:00
21392dcc14 Support user's first name and last name. 2022-02-27 14:02:52 +08:00
274096fe9d fix: empty iss return (#503)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
2022-02-18 12:36:11 +08:00
0bd86baf4d Fix crash in incremental ID. 2022-02-14 22:58:26 +08:00
db37f53d6c Update license headers. 2022-02-13 23:39:27 +08:00
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
c22ab44894 Update import path. 2022-01-20 14:11:46 +08:00
445d3c9d0e feat: support spring security oauth2 (#408)
Signed-off-by: abingcbc <abingcbc626@gmail.com>
2021-12-31 19:55:34 +08:00
d5f802ec7d Support IdCard in signup page. 2021-12-28 17:48:24 +08:00
318cf52b33 Refactor the original db code. 2021-12-18 01:08:03 +08:00
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
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
f4265d015a Improve user error handling. 2021-12-12 19:59:55 +08:00
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
63f33d0ad9 Improve email and phone checking in Signup(). 2021-11-09 20:29:38 +08:00
467d709b8e Add MasterPassword to organization. 2021-11-06 21:14:53 +08:00
9e920181d2 Add user soft deletion. 2021-11-06 15:52:03 +08:00
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
b3eec024b8 Add getInitScore(). 2021-08-30 01:06:05 +08:00
495b64995f Add resource list page. 2021-08-15 00:25:46 +08:00
004282f970 Improve UploadFile() API. 2021-08-14 15:58:47 +08:00
8d9451124c Improve UploadFile() error handling. 2021-08-14 14:24:00 +08:00
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
5c2f96bda0 Add UploadFile() API. 2021-08-14 14:22:01 +08:00
1b74a58d06 Fix compile errors. 2021-08-14 14:20:13 +08:00
9feefc31f9 Use c.ResponseOk() for all places. 2021-08-14 14:19:50 +08:00
a5783598ff Rename to UploadFile(). 2021-08-14 14:19:48 +08:00
c55fa4f452 feat: add local file system storage provider (#224)
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-14 14:19:45 +08:00
44150a6781 Refactor the storage provider interface. 2021-08-14 14:19:37 +08:00
d16569d461 Use c.ResponseError() for all places. 2021-08-14 14:19:33 +08:00
8c66ef6860 fix: improve code specification (#231) 2021-08-14 14:18:08 +08:00
af3def97bf Fix avatar upload. 2021-08-14 14:08:29 +08:00
bc5e748e5c feat: add country/region select (#207)
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-31 16:02:48 +08:00
3d493b8d8f feat: integrate Storage config into providers (#198)
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-26 11:39:49 +08:00
c632c3c307 fix: replace casdoor with casbin (#194)
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 09:34:25 +08:00
4a930121c4 feat: session without autosignin will expire
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-19 10:14:14 +08:00
d83b86df37 refactor: SessionUser -> SessionUsername
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-19 10:14:14 +08:00
9c233e42c0 Add SignupApplication to user. 2021-06-21 10:22:47 +08:00
a43db3e55a Fix prompt redirect logic and db sync bug. 2021-06-20 13:56:32 +08:00
d3a8ab8347 Finish the prompt page logic. 2021-06-20 11:52:04 +08:00
586da5caac Add isValidPersonalName(). 2021-06-17 11:55:06 +08:00
9dd43238f0 Add DefaultAvatar to org. 2021-06-17 01:44:19 +08:00
b11b3b6021 Use signup table in Signup API. 2021-06-17 00:49:02 +08:00
7ea469e876 Add provider_item.go 2021-06-16 00:18:56 +08:00