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
Yang Luo
a4524e9996
fix: fix Swagger @Tag
2024-01-15 23:35:40 +08:00
Yang Luo
b469928780
Fix Swagger @router
2024-01-15 23:27:42 +08:00
Yang Luo
39d6bc10f7
Fix GetCaptchaStatus() crash if not logged in
2024-01-13 18:04:38 +08:00
Yang Luo
177f2f2f11
Add userId param to GetAllObjects() API
2024-01-13 18:03:40 +08:00
Yang Luo
b1fe28fb83
Refactor application.FailedSigninLimit code
2024-01-13 02:09:18 +08:00
HGZ-20
ffa54247cd
feat: add LDAP signin method ( #2591 )
...
Add support for LDAP login methods
Add option to control LDAP user in password login method.
2024-01-08 21:07:34 +08:00
Yang Luo
e841d0ba8e
feat: fix /api/send-email API for app user
2024-01-07 21:11:22 +08:00
Lê Tuấn Vũ
077a1cb8b7
fix: support owner parameter in enforce API ( #2578 )
2024-01-05 15:12:59 +08:00
HGZ-20
e3f28e8b4c
feat: Support more flexible login method control ( #2566 )
2024-01-02 21:11:52 +08:00
Yang Luo
2fb79e4092
Add invitation pages
2023-12-31 21:38:36 +08:00
Yang Luo
27187b3a54
feat: add "Reset to Default HTML" button
2023-12-30 00:47:10 +08:00
xiao-kong-long
e7c015f288
feat: fix comment and configs for successfully generating OpenAPI typescript-axios sdk ( #2560 )
...
* fix: fix swagger.json, successfully generate java sdk
* fix:fix comment and change some content for successfully generating typescript-axios sdk
2023-12-29 15:12:40 +08:00
xiao-kong-long
21f394847e
fix: fix Swagger docs by improving comments
2023-12-23 11:57:18 +08:00
HGZ-20
5499e62d7f
feat: add the FailedSigninLimit
and FailedSigninfrozenTime
configuration options to the application ( #2552 )
...
Add configuration items to the application to limit the number of logins and the login wait time after the maximum number of errors is reached
feat: #2272
fix: fixed the issue where the token parameter could be set to a negative value
2023-12-20 22:29:53 +08:00
Yang Luo
a42594859f
feat: improve enforce() and batchEnforce() API response
2023-12-20 11:41:54 +08:00
HGZ-20
dc06eb9948
feat: fix secret information issue in the CAPTCHA provider code ( #2531 )
2023-12-11 18:01:56 +08:00
Yang Luo
85cb68eb66
feat: unbind LDAP clients if not used any more
2023-12-02 17:51:25 +08:00
Yang Luo
947dcf6e75
Fix "All" roles bug in permission edit page
2023-12-02 15:26:52 +08:00
Yang Luo
113c27db73
Improve logout's id_token_hint logic
2023-12-02 02:13:34 +08:00
Nex Zhu
badfe34755
feat: add "nonce" into the OAuth and OIDC tokens, for some apps require "nonce" to integrate ( #2522 )
2023-12-01 18:29:39 +08:00
Yang Luo
811999b6cc
feat: fix error handling in CheckPassword() related functions
2023-11-20 21:49:19 +08:00
Yang Luo
e9b7d1266f
Fix API typo: /get-global-certs
2023-11-13 14:22:40 +08:00
Yang Luo
d3ed6c348b
Improve GetOAuthToken() API's parameter handling
2023-11-13 02:30:32 +08:00
haiwu
0ac2b69f5a
feat: support WeChat Pay via JSAPI ( #2488 )
...
* feat: support wechat jsapi payment
* feat: add log
* feat: update sign
* feat: process wechat pay result
* feat: process wechat pay result
* feat: save wechat openid for different app
* feat: save wechat openid for different app
* feat: add SetUserOAuthProperties for signup
* feat: fix openid for wechat
* feat: get user extra property in buyproduct
* feat: remove log
* feat: remove log
* feat: gofumpt code
* feat: change lr->crlf
* feat: change crlf->lf
* feat: improve code
2023-11-11 17:16:57 +08:00
Yang Luo
498cd02d49
feat: add GetAllowedApplications() in user's app homepage
2023-11-08 09:48:31 +08:00
Lars Lehtonen
b985bab3f3
fix: fix dropped errors in GetUser() ( #2470 )
...
* controllers: fix dropped errors
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-11-01 23:07:24 +08:00
aiden
477a090aa0
feat: when logging in with OAuth2 and authenticating via WebAuthn, retrieve the application from the clientId ( #2469 )
...
* fix : #2304
* fix: when logging in with OAuth2 and authenticating via WebAuthn, retrieve the application from the clientId.
---------
Co-authored-by: aidenlu <aiden_lu@wochacha.com>
2023-11-01 18:40:05 +08:00
Yang Luo
9703f3f712
Support Apple OAuth login now
2023-10-31 23:10:36 +08:00
Yang Luo
1bf5497d08
Improve error handling for GetUser()
2023-10-31 14:01:37 +08:00
Yang Luo
cf10738f45
Fix typo in AddUserKeys()
2023-10-31 13:31:12 +08:00
Yang Luo
98defe617b
Add providerItem.SignupGroup
2023-10-20 23:10:43 +08:00
haiwu
b68e291f37
feat: support SAML Custom provider ( #2430 )
...
* 111
* feat: support custom saml provider
* feat: gofumpt code
* feat: gofumpt code
* feat: remove comment
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-10-20 21:11:36 +08:00
aiden
432a5496f2
fix: skip checking password when the code is provided ( #2425 )
...
Co-authored-by: aidenlu <aiden_lu@wochacha.com>
2023-10-19 18:25:25 +08:00
Yang Luo
3f53591751
Improve verification no provider error message
2023-10-18 15:32:12 +08:00
Yang Luo
2ee4aebd96
Fix error handling in GetSamlMeta()
2023-10-15 17:02:40 +08:00
Yang Luo
150e3e30d5
Support app user in API authentication
2023-10-15 15:20:57 +08:00
Yang Luo
43d849086f
Fix 127.0.0.1 bug in isHostIntranet()
2023-10-13 23:29:37 +08:00
Pedro Padron
983da685a2
feat: support calling get-user API by only email, phone or userId without owner ( #2398 )
2023-10-13 02:48:55 +08:00
haiwu
440d87d70c
feat: support SCIM protocol ( #2393 )
...
* 111
* feat: support scim/Users GET and POST request
* feat: support scim/Users DELETE/PATCH/PUT request
* feat: better support scim/Users PATCH request
* feat: fix scim/Users logic
* feat: gofumpt
* feat: fix bug in scim/Users
* feat: fix typo
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-10-12 00:13:16 +08:00
Yang Luo
4de716fef3
Improve UploadResource()
2023-10-11 01:27:29 +08:00
Yang Luo
81a8b91e3f
Fix enforcer policy add and delete
2023-09-27 00:18:21 +08:00