0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
Commit graph

166 commits

Author SHA1 Message Date
simeng-li
ba691c5636
fix(experience): improve the loading experience (#5038)
improve the loading experience
2023-12-01 19:40:59 +08:00
simeng-li
61d1894fa9
fix(experience): fix silent error bug (#5031)
gix silent error bug
2023-12-01 14:43:40 +08:00
simeng-li
9fd49c6caa
feat(experience): disable chrome autofill on the register form (#5017)
feat(experience): replace input name identifier with id

trying to resolve chrome autofill problem
2023-12-01 13:29:18 +08:00
simeng-li
f74693d861
fix(experience): move the navigate method to useEffect (#5027)
* fix(experience): move the navigate method to useEffect

move the navigate method to useEffect

* fix(experience): replace current nav history

replace current nav history
2023-12-01 10:27:30 +08:00
simeng-li
d6de625754
feat(experience): enable SSO auto watch to the sign-in and register form (#5014)
* feat(experience): enable SSO auto watch to the sign-in and register form

enable SSO auto watch to the sign-in and register form

* fix(experience): remove unused style

remove unused style
2023-11-30 18:06:07 +08:00
simeng-li
f80350d2e3
feat(console,phrases,experience): add sso toggle button to console (#5004)
* feat(phrases): add sso enabled phrases

add sso enabled phrases

* feat(console,phrases,experience): add sso toggle button to console

add sso toggle button to console

* test(experience): update ut

update ut

* feat(experience): apply ssoEnabled guard to the connector fetch endpoint

apply ssoEnabled guard to the connector fetch endpoint
2023-11-30 16:56:51 +08:00
simeng-li
5150ead19f
feat(core,schemas): add new singleSignOnEnabled field to sie (#5003)
* feat(core,schemas): add new singleSignOnEnabled field to sie

add new singleSignOnEnabled field to sie

* chore(core): add some comment

add some comment

* fix(experience): update mock data

update mock data
2023-11-30 16:34:08 +08:00
backpast
9421375d78
chore(deps): update libphonenumber-js to v1.10.51 to fix china 19 started phone numbers (#4998)
* chore(deps): update libphonenumber-js action to v1.10.51 to fix china 19 start phone number

* chore: add changeset

---------

Co-authored-by: renjianhua <renjianhua@zuoshouyisheng.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-11-29 20:56:39 +08:00
simeng-li
66d6491d2e
fix(experience): use absolute path for password sign-in form nav (#4973)
should use absolute path for the password sign-in form navigation
2023-11-28 11:20:33 +08:00
simeng-li
cce262a8b3
feat(experience): directly invoke sso flow if there are only one SSO connector (#4970)
* feat(experience): directly invoke sso flow if there are only on SSO connector

directly invoke sso flow if there are only on SSO connector

* test(experience): add ut

add ut

* fix(experience): fix lint

fix lint
2023-11-28 11:16:28 +08:00
simeng-li
6d57a58d68
refactor(core,experience): extract sso register api (#4934)
* refactor(core,experience): extract sso register api

extract sso register api

* feat(core): add signInMode guard to sso register api (#4935)

add signInMode guard to sso register api

* chore(core): adjust the comments

adjust the comments
2023-11-22 03:19:39 +00:00
simeng-li
e82ea0a815
feat(experience): add native listener to SSO callback page (#4930)
* feat(experience): add native listener to SSO callback page

add native listenter to SSO callback page

* fix(experience): add useEffect hook dependency

add useEffect hook dependency
2023-11-22 10:40:54 +08:00
simeng-li
622ec4493b
feat(experience): add lock icon to the single sign-on button (#4928)
add lock icon to the single sign-on button
2023-11-22 10:40:36 +08:00
simeng-li
fbf545ecd4
feat(experience): add struct guard to session storage hook (#4933)
* feat(experience): add struct guard to session storage hook

add struct guard to the session storage hook

* test(experience): add unit test for the hook

add unit test for the session storages hook
2023-11-21 08:09:07 +00:00
Xiao Yijun
b6d11c3379
chore(console,experience): remove feature flag for dev tenant (#4921) 2023-11-21 15:48:54 +08:00
simeng-li
f880329d16
feat(core,experience): implement google workspace connector (#4925)
* feat(core,experience): implement google workspace connector

implement google workspace connector

* fix(core): clean code

clean code

* fix(core): fix ut

fix ut

* fix(core): fix ut

fix ut

* fix(test): fix integration tests

fix integration tests

* fix(core): make the sso data as public property and remove getter

make the sso data as public perperty and remove getter
2023-11-21 11:13:59 +08:00
simeng-li
7379cfe4bd
fix(experience): fix the ut randomly fail issue (#4913)
fix the ut randomly fail issue
2023-11-20 18:49:49 +08:00
simeng-li
29040b9c7c
feat(experience): add single sign on switch to the password sign-in form (#4898)
* feat(experience): add single sign on switch to the password sign-in form

add single sign on switch to the password sign-in form

* feat(experience): add single sign-on message

add single sign-on message
2023-11-20 10:14:33 +08:00
simeng-li
e68637f12d
feat(experience): block email sign-in and register (#4886)
* feat(experience): block email sign-in and register

block email sign-in and register if SSO is enabled for that domain address

* test(experience): add ut

add ut
2023-11-17 07:41:35 +00:00
simeng-li
2c1cf66c6b
refactor(experience): reorg hooks location (#4877)
reorg hooks location
2023-11-17 07:25:30 +00:00
simeng-li
34494e96f7
feat(experience): add sso connector list page (#4865)
* feat(experience): add single sign on connectors list page

add single sign on connectors list page

* feat(experience): add single sign on handler

add sigle sign on handler

* fix(experience): add the missing page

add the missing page

* fix(experience): fix style bug

fix style bug
2023-11-17 07:08:36 +00:00
Xiao Yijun
25bbdfc802
feat(experience): add dev tenant notification (#4857) 2023-11-15 03:15:52 +00:00
silverhand-bot
76c8bb2fbf
release: version packages (#4873) 2023-11-14 19:57:42 +08:00
wangsijie
6727f629de
chore: mfa feature release (#4861)
* chore: mfa feature release

* chore(console,experience): enable mfa feature

* chore: update changeset

---------

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-11-14 12:02:49 +08:00
simeng-li
eeb1928e57
feat(core,schemas): remove the ssoOnly setting of the sso connectors (#4856)
feat(core,schemas): remove ssoOnly property

remove the ssoOnly property from sso connectors
2023-11-13 11:14:46 +08:00
simeng-li
d07a673a99
feat(core,experience): add sso link and email form (#4850)
* feat(core,experience): add sso link and email form

add sso link and email form

* chore(phrases): update phrases

phdate phrases

* fix(core): fix ut

fix ut

* test(experience): add single sign on link test

add single sign on link test

 Please enter the commit message for your changes. Lines starting
2023-11-10 14:41:59 +08:00
Xiao Yijun
c5809e4722
refactor(experience): remove demo app notification (#4851) 2023-11-10 11:52:44 +08:00
Charles Zhao
00017418c3
chore: bump dev dependencies (#4829)
chore: update browserlist-db
2023-11-07 11:38:54 +08:00
silverhand-bot
a5a0d44dc8
release: version packages (#4624) 2023-11-03 13:14:52 +08:00
wangsijie
ddf4468189
feat(core,phrases): disable auto skip mfa (#4786)
* feat(core,phrases): disable auto skip mfa

* refactor(experience): skip mfa manually (#4788)

---------

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2023-11-02 15:09:00 +08:00
Xiao Yijun
eaac1a5c60
refactor(experience): generate webauthn options before switching to the webauthn page (#4794) 2023-11-01 16:06:07 +08:00
Xiao Yijun
c67f2c9361
style: update mfa-related styles (#4793) 2023-10-31 15:30:51 +08:00
Xiao Yijun
7029255b91
refactor(experience): polish handle mfa redirection codes and add comments (#4782) 2023-10-30 10:53:56 +08:00
Xiao Yijun
aa375f906f
style(experience): add border radius for totp qr code (#4779) 2023-10-29 08:59:17 +08:00
Xiao Yijun
8acfdb86f1
refactor(experience): hide webauthn on native webview (#4778) 2023-10-27 17:21:06 +08:00
Xiao Yijun
de9810709f
refactor(experience): use last used factor when verifing mfa factors (#4775) 2023-10-27 16:59:48 +08:00
Xiao Yijun
752584218f
refactor(experience): hide nav bar on backup code binding page (#4774) 2023-10-27 02:42:56 +00:00
Xiao Yijun
eee6203d6e
refactor(experience): update webauthn error message (#4771) 2023-10-27 10:24:19 +08:00
Xiao Yijun
a5132fe4bd
style(experience): update mfa-related styles (#4764) 2023-10-27 10:23:13 +08:00
Xiao Yijun
1fcc4152af
fix(experience): invoke webauthn on iOS devices (#4770) 2023-10-26 18:05:14 +08:00
simeng-li
b07535a4b8
Revert "chore(deps): update parcel monorepo to v2.10.1" (#4766)
Revert "chore(deps): update parcel monorepo to v2.10.1 (#4740)"

This reverts commit ec41bc7c57.
2023-10-26 07:18:59 +00:00
renovate[bot]
ec41bc7c57
chore(deps): update parcel monorepo to v2.10.1 (#4740)
* chore(deps): update parcel monorepo to v2.10.1

* chore: rabse update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 14:10:42 +08:00
Xiao Yijun
dce2fd876d
style(experience): remove the margin of dividers without a label (#4747) 2023-10-26 10:21:30 +08:00
Gao Sun
83cd281173
Merge pull request #4748 from logto-io/gao-use-sentence-case
chore: use sentence case
2023-10-25 21:07:02 -05:00
renovate[bot]
98478a32c8
chore(deps): update dependency lint-staged to v15 (#4661)
* chore(deps): update dependency lint-staged to v15

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 09:55:47 +08:00
Xiao Yijun
30047e3c19
refactor(experience): display secret code first when binding totp on mobile devices (#4743) 2023-10-25 06:05:53 +00:00
Gao Sun
0554ee9847
chore: use sentence case 2023-10-25 14:01:49 +08:00
Xiao Yijun
1c8ef14167
refactor(experience): clear invalid totp code input (#4745) 2023-10-25 13:59:29 +08:00
Xiao Yijun
c1d7df329a
style(experience): increase padding for binding backup code page (#4744) 2023-10-25 13:59:11 +08:00
Xiao Yijun
c93c96d59c
style(experience): left align factor button text content (#4742) 2023-10-25 13:57:17 +08:00
Xiao Yijun
125a3dd230
fix(experience): correct mfa flow state for switch mfa factors link (#4737) 2023-10-24 23:12:33 +08:00
Xiao Yijun
89e9b4810b
feat(experience): skip mfa binding (#4724) 2023-10-24 06:29:32 +00:00
Xiao Yijun
02e72ea425
feat(experience): implement backup code experience flow (#4699) 2023-10-23 16:20:07 +08:00
wangsijie
cc81d8de33
chore(core,shared): add isDevFeatureEnabled to envset (#4707) 2023-10-20 17:41:29 +08:00
wangsijie
b972397f80
refactor(core,phrases): change interaction bind-mfa to array (#4680) 2023-10-20 13:48:36 +08:00
Xiao Yijun
bc62370db5
feat(experience): implement webauthn experience flow (#4642) 2023-10-17 15:15:44 +08:00
wangsijie
15ab4d587e
fix(core): validate mandatory mfa (#4639) 2023-10-17 01:18:53 -05:00
wangsijie
03e654b459
refactor(core,experience): generate totp qrcode on server side (#4646) 2023-10-13 01:19:03 -05:00
dependabot[bot]
6826f15efb
chore(deps): bump zod from 3.20.2 to 3.22.3 (#4615)
* chore(deps): bump zod from 3.20.2 to 3.22.3

Bumps [zod](https://github.com/colinhacks/zod) from 3.20.2 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.20.2...v3.22.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): align zod versions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-12 04:12:05 +00:00
Xiao Yijun
985a3637fb
refactor(experience): reorg mfa factor switching logic (#4628) 2023-10-10 14:44:40 +08:00
dependabot[bot]
f27a3ee2a7
chore(deps-dev): bump postcss from 8.4.14 to 8.4.31 (#4614)
* chore(deps-dev): bump postcss from 8.4.14 to 8.4.31

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.14 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.14...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: allow `deps-dev` as commit scope

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-09 07:30:06 +00:00
Xiao Yijun
f53778894d
feat(experience): implement totp experience flow (#4589) 2023-10-08 16:20:43 +08:00
silverhand-bot
d254dae5ff
release: version packages (#4572) 2023-09-21 22:04:40 +08:00
silverhand-bot
e69f941e38
release: version packages (#4451) 2023-09-18 10:47:19 +00:00
renovate[bot]
0899fd8dda
chore(deps): update dependency ky to v1 (#4415)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-09-16 13:12:16 +00:00
Gao Sun
2319101056
refactor: ui -> experience (part 3)
Rename `ui` to `experience`.
2023-09-15 13:46:27 +08:00