千石
feff47d2dc
feat: skip agreement check when the terms are not visible ( #3088 )
2024-07-30 14:04:03 +08:00
千石
79b934d6c2
feat: enforce acceptance of terms and conditions for social logins ( #3087 )
...
* feat: Enforce acceptance of terms and conditions for social logins (#2975 )
* feat: add error message for agreement acceptance
2024-07-29 17:22:48 +08:00
DacongDA
e5f9aab28f
feat: support resetting password on first login ( #2980 )
...
* feat: support reset password in first login
* feat: disable needUpdatePassword when user haven't email and phone and mfa
2024-06-02 01:00:55 +08:00
DacongDA
6efec6b4b5
feat: support "label" field for signin item table ( #2956 )
2024-05-19 03:07:36 +08:00
DacongDA
3d29e27d54
feat: support multiple SMS providers for different regions ( #2914 )
...
* feat: support using different sms provider for different region
* feat: add multiple support for select and remove log
* feat: revert change for countryCode in loginPage
* feat: revert change for countryCode in user_util.go
* feat: revert change for countryCode in auth.go
* Update application_item.go
* Update CountryCodeSelect.js
* Update ProviderTable.js
---------
Co-authored-by: Yang Luo <hsluoyz@qq.com>
2024-05-01 00:40:47 +08:00
DacongDA
8dbb041a34
feat: fix empty custom CSS for new rows in signin items table ( #2897 )
2024-04-24 15:19:30 +08:00
DacongDA
90d502ab2b
feat: add custom css style for signup page and enhance css edit ( #2880 )
...
* feat: add custom css style for signup page and enhance css edit in signintable
* feat: change cssStyle to customCss
* feat: auto hide <style> label, fix display problem on providers, remove auto add providers in signup page
* fix: fix indent in signin items customCss and fix providers display in signup items
* fix: fix login replace logical
2024-04-21 11:56:18 +08:00
DacongDA
505054b0eb
feat: use minWidth for a better display effect in org select ( #2843 )
2024-03-29 15:47:27 +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
Yang Luo
e81ba62234
Improve Face ID signin method UI
2024-03-17 09:56:23 +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
DacongDA
7e2f265420
feat: improve organization select UI ( #2798 )
2024-03-12 19:39:53 +08:00
Yang Luo
31b7000f6a
fix: enable the only language for login page
2024-03-09 11:28:23 +08:00
Yang Luo
4a68dd65cd
Fix typo in renderFormItem()
2024-02-16 10:13:50 +08:00
Yang Luo
39e485ae82
Fix SigninTable issue
2024-02-14 12:20:03 +08:00
hsluoyz
6d9d595f86
fix: Revert "fix: fix display bug in SigninTable" ( #2700 )
...
This reverts commit d52058d2aebf3fd10a44248de43e5052347dde19.
2024-02-14 09:44:42 +08:00
DacongDA
d52058d2ae
fix: fix display bug in SigninTable ( #2698 )
...
* fix: fix display bug in SigninTable
* fix: fix code bug
* feat: improve code format
* feat: improve code format
2024-02-14 09:26:51 +08:00
DacongDA
3e8bfb52a8
feat: add signin items table ( #2695 )
...
* feat: add signin items table
* fix:unable to login
* feat: improve code format
* fix: fix display err on signup link
* feat: improve display of sign up link
2024-02-13 23:12:40 +08:00
Yang Luo
5bb12a30d4
Don't show two errors in verificationCode login page
2024-01-13 16:01:22 +08:00
Yang Luo
8968396ae5
Fix bug in getDefaultLoginMethod()
2024-01-13 12:13:09 +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
e5a9594f90
Hide Google OneTap in iframe
2024-01-07 10:33:25 +08:00
HGZ-20
e3f28e8b4c
feat: Support more flexible login method control ( #2566 )
2024-01-02 21:11:52 +08:00
hsluoyz
fd0c70a827
feat: Revert "feat: fix login page path after logout" ( #2516 )
...
This reverts commit 23d4488b647161da67c530ddb61bbdfff0981698.
2023-11-24 15:52:59 +08:00
aiden
23d4488b64
feat: fix login page path after logout ( #2493 )
...
Co-authored-by: aidenlu <aiden_lu@wochacha.com>
2023-11-21 23:37:35 +08:00
songjf
23f4684e1d
feat: make MFA works for CAS login ( #2506 )
...
* feat: make MFA works for CAS login
* fix: Reduced code redundancy
* fix: Modified the format of the code.
* fix: fix an error with the 'res' variable
* Update LoginPage.js
* Update LoginPage.js
* Update LoginPage.js
* Update MfaAuthVerifyForm.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-11-21 21:35:19 +08:00
aiden
34b1945180
feat: fix bugs in custom app sso login with WebAuthn authentication ( #2457 )
...
Co-authored-by: aidenlu <aiden_lu@wochacha.com>
2023-10-30 10:54:34 +08:00
Yang Luo
6713dad0af
Fix this.props.account null issue
2023-10-27 02:13:23 +08:00
Yang Luo
1732cd8538
Fix the bug that sometimes cannot auto login with enableAutoSignin = true
2023-10-27 00:06:17 +08:00
haiwu
05b2f00057
feat: support Pricings flow ( #2250 )
...
* feat: fix price display
* feat: support subscription
* feat: fix select-plan-> signup -> buy-plan -> login flow
* feat: support paid-user to login and jump to the pricing page
* feat: support more subscription state
* feat: add payment providers for plan
* feat: format code
* feat: gofumpt
* feat: redirect to buy-plan-result page when user have pending subscription
* feat: response err when pricing don't exit
* Update PricingListPage.js
* Update ProductBuyPage.js
* Update LoginPage.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-08-24 23:20:50 +08:00
haiwu
fec54944dd
feat: fix CAS login bug ( #2230 )
...
* fix: cas login
* fix: cas login
* feat: rollback get-default-app change
* fix : move cas restrict logic to GetApplicationLogin()
* fix: format code
* fix: fix getOAuthGetParameters for cas
* fix: fix getOAuthGetParameters for cas
* fix: cas login
2023-08-19 01:15:41 +08:00
hsluoyz
a2db61cc1a
chore: Revert "feat: restrict redirectUrls for CAS login" ( #2234 )
...
This reverts commit b7a37126ad2a7568426d6410480829d9ece51ef0.
2023-08-19 00:30:35 +08:00
haiwu
d1f88ca9b8
feat: support google one tap signin ( #2131 )
...
* feat: add google one tap support
* feat: gofumpt
* feat: add google provider rule conf
* feat: update i18n
2023-07-25 15:49:15 +08:00
haiwu
b7a37126ad
feat: restrict redirectUrls for CAS login ( #2118 )
...
* feat: support cas restricted login
* feat: add cas login i18n
* feat: add CheckCasService for all cas api
* feat: gofumpt
* feat: replace 404
* feat: reuse i18n
* feat: delete CheckCasService
* Update token_cas.go
* Update LoginPage.js
* Update token_cas.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-07-24 11:47:31 +08:00
Yaodong Yu
a6f803aff1
feat: refactor code to use responseOK everywhere ( #2111 )
...
* refactor: use responseOK return frontend format json data
* revert handle error
* revert handle error
2023-07-23 09:49:16 +08:00
Baihhh
ae6e35ee73
feat: fix bug that the password input disappears in login window ( #2051 )
...
Signed-off-by: baihhh <2542274498@qq.com>
2023-07-08 23:46:31 +08:00
Yaodong Yu
347d3d2b53
feat: fix bugs in MFA ( #2033 )
...
* fix: prompt mfa binding
* fix: clean session when leave promptpage
* fix: css
* fix: force enable mfa
* fix: add prompt rule
* fix: refactor directory structure
* fix: prompt notification
* fix: fix some bug and clean code
* fix: rebase
* fix: improve notification
* fix: i18n
* fix: router
* fix: prompt
* fix: remove localStorage
2023-07-07 12:30:07 +08:00
Yang Luo
30a14ff54a
Fix null issue in getDefaultApplication()
2023-07-02 09:44:48 +08:00
June
8080b10b3b
feat: show code signin page with password disabled ( #2021 )
2023-06-28 00:38:48 +08:00
Trần Thanh Tịnh
cd7589775c
feat: replace all panic by response err ( #1993 )
...
* fix: missing return after response error
* feat: handle error in frontend
* feat: disable loading and catch org edit error
* chore: i18 for error message
* chore: remove break line
* feat: application catching error
2023-06-27 21:33:47 +08:00
Yaodong Yu
8ede4993af
feat: specify login organization
2023-05-27 19:02:54 +08:00
Ilya Sulimanov
88c0856d17
feat: add subscription managment ( #1858 )
...
* feat: subscription managment
* fix: remove console log
* fix: webhooks
* fix linter
* fix: fix via gofumpt
* fix: review changes
* fix: Copyright 2023
* Update account.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-20 15:56:21 +08:00
Yaodong Yu
6455734807
fix: fix incorrect LDAP sync status ( #1859 )
2023-05-18 22:03:53 +08:00
Yaodong Yu
9092cad631
feat: support forced binding MFA after login ( #1845 )
2023-05-17 01:13:13 +08:00
Yang Luo
0b5ecca5c8
Support empty application in page
2023-05-16 22:17:39 +08:00
Yang Luo
c33d537ac1
Add formCssMobile to application
2023-05-12 12:16:03 +08:00
helayzhang
3a6846b32c
feat: fix bug that logging in with account/password cannot redirect successfully (When Casdoor working as a OAuth server) ( #1819 )
2023-05-08 16:37:56 +08:00
Yaodong Yu
eb39e9e044
feat: add multi-factor authentication (MFA) feature ( #1800 )
...
* feat: add two-factor authentication interface and api
* merge
* feat: add Two-factor authentication accountItem and two-factor api in frontend
* feat: add basic 2fa setup UI
* rebase
* feat: finish the two-factor authentication
* rebase
* feat: support recover code
* chore: fix eslint error
* feat: support multiple sms account
* fix: client application login
* fix: lint
* Update authz.go
* Update mfa.go
* fix: support phone
* fix: i18n
* fix: i18n
* fix: support preferred mfa methods
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-05-05 21:23:59 +08:00
Joe Zhang
fba4801a41
feat: make redirectUri token param follow OAuth2 standard ( #1796 )
...
* fix: rename token to access_token in implicit flow; change ? in the redirect uri to &
* fix typo
2023-04-28 23:54:48 +08:00
Yaodong Yu
4f8dd771bc
feat: fix bug that can not get application in signup/oauth/ router ( #1766 )
2023-04-22 18:20:45 +08:00