638 Commits

Author SHA1 Message Date
Yang Luo
fb6f3623ee feat: add requireProviderPermission() 2024-03-30 23:24:59 +08:00
DacongDA
eb448bd043
fix: fix permission problem in provider (#2848) 2024-03-30 23:18:03 +08:00
Yang Luo
f95ce13b82 fix: support "Email or Phone" in signup table 2024-03-29 09:07:37 +08:00
Will.Feng
d054f3e001
feat: The /login/oauth/access_token api supports the token and id_token grant types. (#2836)
* In the response of the /api/get-captcha endpoint, add the parameters "owner" and "name" because these two parameters will be used when calling the /api/verify-captcha endpoint.

* The /login/oauth/access_token api supports the token and id_token grant types.
2024-03-28 00:41:54 +08:00
Yang Luo
d1f31dd327 feat: fix linter 2024-03-26 23:24:53 +08:00
Yang Luo
94743246a1 Improve "%{user.friendlyName}" handling 2024-03-25 21:26:36 +08:00
Yang Luo
39ad1bc593 Add signup's object in AfterRecordMessage() 2024-03-25 21:20:33 +08:00
Will.Feng
d97f833d2a
feat: Add 'owner' and 'name' Parameters to /api/get-captcha Response for /api/verify-captcha Usage (#2834) 2024-03-25 16:34:42 +08:00
Yang Luo
948fa911e2 feat: add users to getGroups() and getGroup() APIs 2024-03-22 23:32:30 +08:00
DacongDA
23dbb0b926
feat: add response to Records page (#2830)
* feat: add response to Records page

* feat: improve AddRecord

* feat: remove log and return err

* feat: improve record in signup and record deny

* fix: filter will generate 403 record correctly
2024-03-22 14:53:38 +08:00
DacongDA
fc4fa2e8b6
feat: add verification list page and related API (#2822)
* feat: add verification list page and relevant api

* feat: improve code format

* fix: fix timestamp display error
2024-03-19 19:10:52 +08:00
Yang Luo
ae1634a4d5 feat: fix user cannot logout issue about bug in GetSessionToken() 2024-03-18 02:11:39 +08:00
HGZ-20
bdf9864f69
fix: add FaceIdSigninBegin() to verify user information before face login (#2815)
* feat: add FaceIdSigninBegin() to verify user information before face login

* Update face.go

---------

Co-authored-by: Eric Luo <hsluoyz@qq.com>
2024-03-18 00:04:12 +08:00
SamYSF
c8aa35c9c6
feat: add token to the page for Chrome extension (#2804)
* feat: add token to the page for Chrome extension

* Update token_oauth.go

---------

Co-authored-by: Eric Luo <hsluoyz@qq.com>
2024-03-17 22:01:28 +08:00
Ron
a19060c7cb
fix: missing parameter type_token_hint in IntrospectToken() (#2812)
* fix: missing parameter type_token_hint in IntrospectToken(); fix key token type
2024-03-17 01:39:04 +08:00
Yang Luo
01a5958307 Improve error text in RequireAdmin() 2024-03-16 21:14:19 +08:00
Yang Luo
be88b00278 feat: improve RequireAdmin() logic 2024-03-16 20:49:17 +08:00
HGZ-20
391a533ce1
feat: add "Face ID" login method (#2782)
Face Login via face-api.js
2024-03-16 09:04:00 +08:00
Yang Luo
376ef0ed14 feat: support custom Email content in /send-email API 2024-03-11 11:48:00 +08:00
Yang Luo
6998451e97 fix: support roles and permissions in /userinfo API 2024-03-10 12:34:56 +08:00
Yang Luo
0d5f49e40a fix: fix GetResources() bug for app users 2024-03-08 16:15:31 +08:00
Yang Luo
a92d20162a feat: show all resources for org admin 2024-03-08 15:03:03 +08:00
Yang Luo
d06da76c3d feat: fix bug in /get-organization-applications API 2024-03-03 21:08:36 +08:00
DacongDA
12acb24dbc
feat: add transaction pages (#2761) 2024-03-02 10:41:16 +08:00
zhuying1999
042a8d0ad6
feat: add rule for SMS and Email provider (#2733)
* add phonecoderule

* feat:add phone code rule

* feat: add email rule

* fix: merge
2024-02-23 00:09:37 +08:00
DacongDA
23c2ba3a2b
feat: support ssh key/pem file in DB syncer (#2727)
* feat: support connect database with ssh tunnel in syncer

* feat: improve i18n translate

* feat: improve code format and i18n
2024-02-21 17:27:37 +08:00
DacongDA
c4a307b9ec
feat: add built-in "Records" pages back (#2720) 2024-02-20 13:28:29 +08:00
Yang Luo
d59148890e Improve error handling for CheckVerificationCode() 2024-02-16 08:53:56 +08:00
Yang Luo
7f52755e32 feat: improve error messages 2024-02-16 01:13:34 +08:00
Yaodong Yu
f35a5f9a47
feat: fix issue that admin cannot enable MFA for user (#2702) 2024-02-14 23:29:04 +08:00
Yang Luo
cb200687dc feat: fix GetUserByUserId() API crash issue 2024-02-12 18:51:55 +08:00
DacongDA
5c4e22288e
feat: improve error handling and code format (#2682)
* feat: improve error process and code format

* feat: improve error process and code format
2024-02-07 20:55:33 +08:00
Satinder Singh
3ac4be64b8
fix: error msg for invalid org & app names in signup (#2679) 2024-02-07 08:53:50 +08:00
DacongDA
97db54b6b9
feat: full support for wechat official account login (#2677)
* feat: full support for wechat official account login

* feat: improve provider edit page

* fix: improve i18n format
2024-02-07 00:00:10 +08:00
Yaodong Yu
a60be2b2ab
feat: refactor MFA code and fix no-session bug (#2676)
* refactor: refactor mfa

* refactor: refactor mfa

* refactor: refactor mfa

* lint

* chore: reduce wait time
2024-02-06 20:17:59 +08:00
dacongda
167c1b0f1b
feat: fix bug in WeChat OA login (#2674)
* fix: fix the problem of Wechat Official Account login

* fix: fix code format problem

* fix: add error display and fix the code format problem

* fix: i18n problem and code format
2024-02-05 21:38:12 +08:00
Satinder Singh
7d0eae230e
fix: fix /signup organization parameter issue (#2669) 2024-02-03 11:47:36 +08:00
Yang Luo
901867e8bb feat: fix /signup parameter issue 2024-02-03 10:00:47 +08:00
HGZ-20
b7be1943fa
feat: Add Invitation Code to Generate Invitation Link (#2666)
Add auto-population of invitation fields in the registration page based on the invitation code in the link
2024-02-02 21:12:56 +08:00
dacongda
e593f5be5b
fix: improve code format (#2665)
* feat: replace io/ioutils pacakage with io/os package

* fix: add missing error handling
2024-02-01 23:06:12 +08:00
dacongda
ce0d45a70b
feat: support SAML POST binding (#2661)
* fix: support saml http post binding

* fix: support saml http post binding

* fix: support saml post binding sp
2024-02-01 17:28:56 +08:00
Yang Luo
721a681ff1 fix: improve error handling in GetUserApplication() 2024-01-30 21:40:39 +08:00
Yang Luo
540f22f8bd feat: refactor GetTokenByTokenValue() 2024-01-29 10:03:33 +08:00
Yang Luo
79f81f1356 Improve error handling in IntrospectToken() 2024-01-29 09:58:40 +08:00
HGZ-20
d7c40459c0
feat: implement the enforcement for new invitation page (#2628)
Added new invitation code implementation
2024-01-22 02:25:13 +08:00
Yang Luo
97c7f2631a feat: fix organization.IsProfilePublic issue 2024-01-20 16:00:04 +08:00
Yang Luo
6a00657e42 feat: fix forbidden and soft-delete check in forget password page 2024-01-19 22:13:02 +08:00
Yang Luo
88130bf020 feat: add forbidden check in SetPassword() 2024-01-19 16:30:22 +08:00
Yang Luo
b8db07db4d feat: enable GetMaskedSyncers() 2024-01-18 20:59:27 +08:00
Yang Luo
a681c267b3 Refactor code format 2024-01-18 20:53:04 +08:00