0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
Commit graph

4671 commits

Author SHA1 Message Date
wangsijie
752d02b316
fix(core): remove user verification requirement for webauthn (#4751) 2023-10-27 11:50:49 +08:00
simeng-li
85a39c35d7
refactor(core): refactor the sso-connector config guard logic (#4752)
* refactor(core): refactor the sso-connector config guard logic

refactor the sso-connector config guard logic

* chore(core): update with some more comments

update with some more comments

* refactor(core): adjust the input type of parseConnectorConfig

make the config requred in the parseConnectorConfig's input

* refactor(core): add the isSupportedSsoConnector type assertion (#4754)

* refactor(core): add the isSupportedSsoConnector type assertion

add the isSupportedSsoConnector type assertion

* chore(core): remove the useless comments

remove the useless comments

* refactor(core): reorg the sso utils

reorg the sso utils

* refactor(core): extract sso connector library

extract sso connector library
2023-10-27 11:47:58 +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
bec525ebe4
style(console): update radio disabled styles (#4769) 2023-10-27 10:23:39 +08:00
Xiao Yijun
a5132fe4bd
style(experience): update mfa-related styles (#4764) 2023-10-27 10:23:13 +08:00
Charles Zhao
757e8ea2b0
fix(console): button icon and text margin (#4773) 2023-10-27 09:40:58 +08:00
Gao Sun
929f2d6c37
refactor(console): improve org settings page 2023-10-26 18:38:17 +08:00
Xiao Yijun
6b99cc1f2e
chore(test): wait for network idle to ensure the sign-in request to be handled (#4749) 2023-10-26 18:17:03 +08:00
Xiao Yijun
1fcc4152af
fix(experience): invoke webauthn on iOS devices (#4770) 2023-10-26 18:05:14 +08:00
Gao Sun
c4826556d9
chore(test): init org ui tests 2023-10-26 18:03:16 +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
Charles Zhao
f9306abc22
Merge pull request #4760 from logto-io/charles-dev-branch-1
feat(console,phrases): add organization creation guide (part 1)
2023-10-26 14:34:55 +08: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
renovate[bot]
7a777bf101
chore(deps): update dependency sinon to v17 (#4711)
* chore(deps): update dependency sinon to v17

* 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 11:33:46 +08:00
Darcy Ye
4c7d80ea60
fix(test): make m2m RBAC console integration test stable (#4757) 2023-10-26 10:41:39 +08:00
renovate[bot]
7ea5b94178
chore(deps): update dependency @types/pluralize to ^0.0.32 (#4693)
* chore(deps): update dependency @types/pluralize to ^0.0.32

* 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 10:24:33 +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
fdba3ae742
Merge pull request #4758 from logto-io/gao-show-user-orgs
feat(console): organizations tab for user details
2023-10-25 21:12:50 -05:00
Gao Sun
9b1f0ced09
Merge pull request #4755 from logto-io/gao-org-featured
feat: organization featured members
2023-10-25 21:11:57 -05: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
Gao Sun
d06c6e520c
Merge pull request #4746 from logto-io/gao-fixing-review-to-dos
refactor(console): fixing code review to-dos
2023-10-25 21:02:50 -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
Charles Zhao
4fd99b44c5
feat(console,phrases): add organization creation guide (part 1) 2023-10-25 20:58:45 +08:00
Gao Sun
54fd771201
feat(console): organizations tab for user details 2023-10-25 20:30:05 +08:00
Gao Sun
889ca18e66
feat: organization featured members 2023-10-25 20:28:58 +08:00
simeng-li
2b15b13bbf
feat(core): add OIDC SSO connector class (#4701)
* feat(core): implement oidc and single sign on connector class

init oidc and single sign on connecter class

* refactor(core): refactor the structure of single sign-on classes

refactor the structure of single sign-on classes

* chore(core): provide more comments

provide more comments

* feat(core): add sso-connector-factories api (#4708)

* feat(core): add sso-connector-factories api

add sso-connector-factories api

* fix(test): remove hard code connector name

remove hard code connector name

* feat(core): add POST sso-connectors api (#4719)

* feat(core): add POST sso-connectors api

add POST sso-connectors api

* chore(core): add some comments
add some comments

* test(core): add post sso connectors integration tests

add post sso connectors integration tests

* feat(core): add GET sso-connectors api (#4723)

* feat(core): add GET sso-connectors api

add GET sso-connectors api

* test(core): add tests

add tests

* test(core): add ut

add ut

* fix(test): remove console statement

remove console statement

* feat(core): implement get sso-connector by id endpoint (#4730)

* feat(core): implement get sso-connector by id endpoint

implement get sso-connector by id endpoint

* feat(core): implement delete sso-connector by id endpoint (#4733)

* feat(core): implement delete sso-connector by id endpoint

implement delete sso-connector by id endpoint

* feat(core): implement patch sso-connectors api (#4734)

* feat(core): implement patch sso-connectors api

implement patch sso-connectors api

* fix(core): avoid patch api empty update case

avoid patch api empty update case

* feat(core): implement patch sso-connector config api (#4736)

implement patch sso-connector config api

* fix(test): replace SAML provider name with dummy name

replace SAML provider name with dummy name
as we are going to implement the SAML connector soon

* fix(core): fix rebase error of findAll query output type

fix rebase error of the findAll query output type
2023-10-25 14:44:58 +08:00
Gao Sun
233ccff0fa
refactor(console): use phrase key for <AssignRoleModal> (#4722) 2023-10-25 06:13:31 +00: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
Gao Sun
fb48db4185
Merge pull request #4739 from logto-io/gao-add-organization-user-api-tests
chore(test): add integration tests for new APIs
2023-10-24 23:46:04 -05:00
Gao Sun
7c4f0cd56f
Merge pull request #4738 from logto-io/gao-refactor-integration-tests
refactor(test): manage test resource lifecycle
2023-10-24 23:43:50 -05:00
Gao Sun
6068eb3686
Merge pull request #4726 from logto-io/gao-console-org-13
refactor(console): fixing to-dos
2023-10-24 23:42:51 -05:00
Gao Sun
5b2e4c87b1
Merge pull request #4725 from logto-io/gao-console-org-12
refactor(core,console): fixing to-dos
2023-10-24 23:42:06 -05:00
Gao Sun
efeb2716b2
Merge pull request #4721 from logto-io/gao-remove-role-transfer-comp
refactor(console): remove role transfer component
2023-10-24 23:41:10 -05:00
Gao Sun
52d8e3ad37
refactor(console): fixing code review to-dos 2023-10-25 12:40:14 +08:00
Gao Sun
6dc605b741
chore(console): fix typo 2023-10-25 11:51:59 +08:00
Charles Zhao
df9d2bdb63
refactor(console): make guide related components more generic (#4731) 2023-10-25 10:06:37 +08:00
Gao Sun
1340ffe6b5
Merge pull request #4720 from logto-io/gao-console-org-11
feat(console): add org members
2023-10-24 11:23:40 -05:00
Gao Sun
eb57c9917f
Merge pull request #4718 from logto-io/gao-console-org-10
feat(console): organization details
2023-10-24 11:22:46 -05:00
Gao Sun
f041a6c0c2
Merge pull request #4717 from logto-io/gao-console-org-9
feat(console): init organization table
2023-10-24 11:21:50 -05:00
Xiao Yijun
125a3dd230
fix(experience): correct mfa flow state for switch mfa factors link (#4737) 2023-10-24 23:12:33 +08:00
Gao Sun
63d6a3b7db
chore(test): add integration tests for new APIs 2023-10-24 22:00:18 +08:00
Charles Zhao
a976799621
refactor(console): improve responsiveness in all details pages (#4712) 2023-10-24 13:52:19 +00:00
Gao Sun
bdf5892c67
refactor(test): manage test resource lifecycle 2023-10-24 20:51:39 +08:00
wangsijie
1da511ad55
fix(core): fix bind webauthn domain hostname (#4735) 2023-10-24 08:09:10 +00:00
Gao Sun
a59c33f66e
refactor(console): fixing to-dos 2023-10-24 15:44:30 +08:00
Gao Sun
bc5a1039f0
refactor(core,console): fixing to-dos 2023-10-24 15:44:00 +08:00
wangsijie
2c5db0d66a
fix(core): set totp qrcode service and user name (#4703) 2023-10-24 07:13:36 +00:00
Xiao Yijun
5cfb478715
feat(console): add mfa to plan quota table (#4732) 2023-10-24 06:56:48 +00:00
Charles Zhao
43b35c71ba
fix(cli): fix unsupported signing key error when generating keys with cli (#4728)
fix(cli): fix unsupported signing key error when generating keys with CLI
2023-10-24 14:43:37 +08:00
Xiao Yijun
89e9b4810b
feat(experience): skip mfa binding (#4724) 2023-10-24 06:29:32 +00:00
wangsijie
4e991c3083
fix(core): get hostname from ctx for webauthn (#4729) 2023-10-24 14:09:28 +08:00
wangsijie
478c0c5af9
feat(core): skippable bind mfa prompt (#4697)
feat(core): skipable bind mfa prompt
2023-10-24 12:56:48 +08:00
Gao Sun
c988d52de0
Merge pull request #4714 from logto-io/gao-console-org-8
feat(core): organization apis
2023-10-23 23:55:24 -05:00
Gao Sun
d3aa4728a6
Merge pull request #4704 from logto-io/gao-console-org-7
feat(phrases): organization phrases
2023-10-23 23:54:24 -05:00
Gao Sun
2931746788
Merge pull request #4702 from logto-io/gao-console-org-6
refactor(console): use correct delete confirmation text
2023-10-23 23:51:33 -05:00
Gao Sun
36d0807d7a
Merge pull request #4698 from logto-io/gao-console-org-5
feat(core): schema with search fields
2023-10-23 23:50:35 -05:00
Gao Sun
962204ef5e
Merge pull request #4696 from logto-io/gao-console-org-4
feat(console,core): edit permissions and roles
2023-10-23 23:49:02 -05:00
Gao Sun
6581108450
Merge pull request #4689 from logto-io/gao-console-org-3
feat(console): organization roles table
2023-10-23 23:43:15 -05:00
Gao Sun
f98b43c57f
refactor(console): remove role transfer component 2023-10-23 16:34:41 +08:00
Xiao Yijun
02e72ea425
feat(experience): implement backup code experience flow (#4699) 2023-10-23 16:20:07 +08:00
wangsijie
a20e9a2641
feat(core,schemas): verify backup code (#4695) 2023-10-23 16:00:58 +08:00
Gao Sun
658f5f1423
feat(console): add org members 2023-10-23 15:05:49 +08:00
Gao Sun
0db5e9f1ce
feat(console): init organization details 2023-10-23 14:58:28 +08:00
Gao Sun
23dc01c091
feat(console): init organization table 2023-10-23 14:32:17 +08:00
Xiao Yijun
87df417d1a
feat(console): support HTTP for webhook requests (#4716) 2023-10-23 13:56:09 +08:00
Xiao Yijun
19aa36aac2
refactor(console): clear search input on clear search results (#4715) 2023-10-23 13:55:57 +08:00
Gao Sun
fbe9f7e89a
chore(test): fix integration tests 2023-10-23 13:06:55 +08:00
Gao Sun
613c0222f8
chore(core): add comments 2023-10-23 12:46:32 +08:00
Xiao Yijun
6b01e9c88e
refactor(console): add webauthn tips and update phrases (#4709) 2023-10-23 12:37:32 +08:00
Gao Sun
43a655ba67
feat(core): organization apis 2023-10-23 12:18:24 +08:00
wangsijie
62367da5fc
feat(core,schemas): bind backup code (#4690) 2023-10-23 12:12:39 +08:00
Gao Sun
eed73303d9
feat(phrases): organization phrases 2023-10-23 12:01:22 +08:00
wangsijie
cc81d8de33
chore(core,shared): add isDevFeatureEnabled to envset (#4707) 2023-10-20 17:41:29 +08:00
Xiao Yijun
b5553e7237
refactor(console): hide WebAuthn user-agent info on user details page (#4706) 2023-10-20 17:36:45 +08:00
Gao Sun
14008e198b
refactor(console): use correct delete confirmation text 2023-10-20 16:56:50 +08:00
Gao Sun
4ee2947b81
feat(core): schema with search fields 2023-10-20 16:54:51 +08:00
Gao Sun
a1e0d5843e
refactor(test): fix integration test 2023-10-20 16:21:06 +08:00
Gao Sun
e244b62a39
feat(console,core): edit permissions and roles 2023-10-20 16:21:06 +08:00
Gao Sun
d97b86175d
refactor(test): fix integration test 2023-10-20 15:39:14 +08:00
wangsijie
4402141b0e
feat(phrases): add backup code phrases (#4686) 2023-10-20 15:07:06 +08:00
wangsijie
b972397f80
refactor(core,phrases): change interaction bind-mfa to array (#4680) 2023-10-20 13:48:36 +08:00
simeng-li
54fd29e41f
feat(schemas): create sso_connectors table (#4694)
* feat(schemas): create sso_connectors table

create sso_connectors table

* chore(schemas): add comments

add comments

* fix(schemas): remove dummy comments

remove dummy comments

* fix(schemas): fix schema typo

fix schema typo

* fix(schemas): adjust the alteration column order

adjust the alteration column order

* fix(schemas): drop policy

drop policy

* chore: fix the db alteration compare job tag version

fix the db alteration compare job tag version

* fix(schemas): set sso table order

set sso table order

* fix(schemas): fix alteration script

fix alteration script
2023-10-20 10:46:09 +08:00
Gao Sun
d582fdf284
feat(console): show permission tags in roles table 2023-10-19 18:48:07 +08:00
Gao Sun
8754d86610
feat(console): organization roles table 2023-10-19 18:48:06 +08:00
Gao Sun
d4d2a7256e
refactor(test): fix integration test 2023-10-19 18:46:10 +08:00
Gao Sun
b18df612dd
refactor(console): remove unused prop 2023-10-19 18:46:04 +08:00
Gao Sun
3bd169c297
feat(console): init org settings page with permissions table 2023-10-19 17:56:39 +08:00
Xiao Yijun
76a7b1da3f
refactor(test): avoid sending connection tests to 3rd-party connector services (#4700) 2023-10-19 09:52:32 +00:00
Darcy Ye
9da2dc360c
chore(phrases): add phrases of enterprise identities 2023-10-18 20:51:57 +08:00
Gao Sun
b8c2a25d4f
refactor(phrases): fix case 2023-10-18 17:27:41 +08:00
Gao Sun
4ae571eace
chore(phrases): add phrases for organization settings 2023-10-18 16:45:56 +08:00
Xiao Yijun
c9886f2860
refactor(test): refactor connector ui tests (#4688) 2023-10-18 14:08:59 +08:00
simeng-li
d24aaedf5b
refactor(toolkit)!: split connector toolkit types (#4678)
* refactor(toolkit)!: split connector toolkit types

split connector toolkit types

* chore: add changeset

add changeset
2023-10-18 13:53:21 +08:00
Xiao Yijun
8c0b55ab06
refactor(core): add time window validation tolerance for otp authenticator (#4684) 2023-10-18 11:56:01 +08:00
Darcy Ye
f29253dcb7
chore(phrases): add phrases of enterprise identities 2023-10-18 11:42:56 +08:00
Gao Sun
248448d13a
Merge pull request #4668 from logto-io/gao-remove-actions-class
refactor(core): remove `SchemaActions` class
2023-10-17 04:58:13 -05:00
simeng-li
8abca1a5d9
refactor(core): refactor post connector endpoint (#4681)
* refactor(core): refactor post connector endpoint

refactor post connector endpoint

* fix(core): fix ut

fix ut
2023-10-17 17:42:04 +08:00
Gao Sun
d64461c30e
refactor(core): remove SchemaActions class 2023-10-17 17:26:00 +08:00
Gao Sun
98b2eed6ec
Merge pull request #4666 from logto-io/gao-handle-db-errors
refactor(core): organization apis error handling
2023-10-17 04:25:50 -05:00
Gao Sun
8f1a4cb52e
Merge pull request #4665 from logto-io/gao-org-apis-7
feat(core): get organizations for user api
2023-10-17 04:24:49 -05:00
Xiao Yijun
76c5d5ae65
chore(phrases): add missing backup code phrases (#4679) 2023-10-17 16:46:43 +08:00
Xiao Yijun
f67b3a8d6b
test(experience): add tests for webauthn experience flow (#4643) 2023-10-17 07:49:36 +00: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
Charles Zhao
bfb1bf6d06
feat(phrases,console): add toast messages on signing key rotated or deleted (#4672) 2023-10-17 06:02:28 +00:00
Charles Zhao
b991597342
refactor(schemas,core,console): unify the usage of OIDC "keyType" in both frontend and backend (#4670) 2023-10-16 22:27:46 -05:00
Charles Zhao
81e8a2641a
refactor(console): remove bottom padding from compact tables (#4673) 2023-10-16 22:24:41 -05:00
Xiao Yijun
a2ede7e36e
refactor(test): reset mfa settings after testing (#4671) 2023-10-16 09:42:42 +00:00
Xiao Yijun
7d7f435bc1
chore(console): update mfa phrases (#4669) 2023-10-16 17:18:10 +08:00
Xiao Yijun
1439f76a7a
style(console): update disable style of switch component (#4667) 2023-10-16 17:17:40 +08:00
wangsijie
32fadf6f16
feat(core,schemas): verify webauthn (#4635)
* feat(core,schemas): bind webauthn

* feat(core,schemas): verify webauthn
2023-10-16 04:11:25 -05:00
Gao Sun
718053739c
Merge pull request #4659 from logto-io/gao-org-apis-5
feat(core): organization - user relation apis
2023-10-16 03:21:34 -05:00
Gao Sun
33e9a5d695
Merge pull request #4658 from logto-io/gao-add-relation-routes
refactor(core): `addRelationRoutes()` for `SchemaRouter`
2023-10-16 02:16:41 -05:00
Gao Sun
d69a73617e
Merge pull request #4657 from logto-io/gao-org-apis-4
feat(core): role - scope relation apis
2023-10-16 02:15:18 -05:00
Gao Sun
b2fb2f77f1
Merge pull request #4655 from logto-io/gao-refactor-queries
refactor(core): refactor organization queries
2023-10-16 02:14:35 -05:00
Gao Sun
a74e523bbe
Merge pull request #4651 from logto-io/gao-org-apis-3
feat(core): organization role APIs
2023-10-16 02:13:24 -05:00
Gao Sun
c3219f6fcd
refactor(core): organization apis error handling 2023-10-16 14:04:03 +08:00
wangsijie
af246ad863
feat(core,schemas): bind webauthn (#4626) 2023-10-16 04:00:59 +00:00
Charles Zhao
9428d37a5e
style(console): update compact table styles per latest design (#4653) 2023-10-15 22:36:14 -05:00
Charles Zhao
5665ed4c3d
chore(phrases): update wording for rotate oidc signing keys (#4652) 2023-10-15 22:35:10 -05:00
Charles Zhao
4ec15f2219
refactor(console): select dropdown should always pop downwards (#4654) 2023-10-15 22:02:45 -05:00
Gao Sun
406e54e84f
feat(core): get organizations for user api 2023-10-15 23:15:09 +08:00
Gao Sun
dd8c299547
refactor(test): fix api test 2023-10-15 23:14:57 +08:00
Gao Sun
a3a4c8a431
refactor(core): add pagination to relation queries 2023-10-15 22:51:02 +08:00
Gao Sun
d792e754a2
refactor(core): reorg routes 2023-10-15 15:29:08 +08:00
Gao Sun
d393741366
feat(core): organization - user - organization role apis 2023-10-15 13:54:58 +08:00
Charles Zhao
35f57639e5
fix(core): dispose tenant cache on demand in order to hot reload oidc provider (#4641)
* fix(core): dispose tenant cache on demand

* chore: add comments for the tenant cache invalidation mechanism

* refactor(core): refactor dispose tenant cache implementation per review comments

* refactor(core): change `invalidateCache` to a class member method

* test(core): add test cases for Tenant class
2023-10-14 12:34:03 +00:00
Gao Sun
34ca8b9c6f
refactor(core): reduce parameter 2023-10-14 20:17:07 +08:00
Gao Sun
e6d3db6e80
feat(core): organization - user relation apis 2023-10-14 20:06:14 +08:00
Gao Sun
eae1c5849e
refactor(core): addRelationRoutes() for SchemaRouter 2023-10-14 19:32:08 +08:00
Gao Sun
523f6924b6
refactor(core): update RelationQueries comments 2023-10-14 17:59:03 +08:00
Gao Sun
6ffdf0581a
feat(core): role - scope relation apis 2023-10-14 17:00:03 +08:00
Gao Sun
b059a30817
refactor(core): refactor organization queries 2023-10-13 19:35:27 +08:00
Gao Sun
57af573fe1
feat(core): organization role APIs 2023-10-13 18:57:34 +08:00
Gao Sun
d5a87623de
Merge pull request #4645 from logto-io/gao-refactor-integration-test-apis
refactor(test): add ApiFactory for integration tests
2023-10-13 05:09:36 -05:00
Gao Sun
f0e6cf3199
Merge pull request #4640 from logto-io/gao-org-apis-2
feat(core): add organization scope APIs
2023-10-13 05:08:47 -05:00
Xiao Yijun
dde18a4cac
chore: update experience test since it will fail randomly when running ci (#4649) 2023-10-13 17:41:30 +08:00
Xiao Yijun
e36493367e
feat(console): add tenant deletion guard (#4647) 2023-10-13 14:22:58 +08:00
wangsijie
03e654b459
refactor(core,experience): generate totp qrcode on server side (#4646) 2023-10-13 01:19:03 -05:00
simeng-li
42dbc0e62c
refactor(schemas): split the jsonb-type file (#4644)
split the jsonb-type file
2023-10-13 11:51:03 +08:00
renovate[bot]
5c0cf3563b
chore(deps): update dependency rollup to v4 (#4612)
* chore(deps): update dependency rollup to v4

* chore(connector): rebase

rebase

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-13 11:26:11 +08:00
simeng-li
608c2699cf
chore(console): bump react-markdown (#4648)
bump react-markdown and remark version
2023-10-13 10:20:50 +08:00
Gao Sun
e75a0cf1f1
refactor(test): add ApiFactory for integration tests 2023-10-12 16:31:27 +08:00
Gao Sun
5fca07ee8d
refactor(core): throw duplicate error 2023-10-12 15:12:29 +08:00
Gao Sun
1fcb28b31b
Merge pull request #4637 from logto-io/gao-implement-schema-queries-class
refactor(core): generic schema queries and actions
2023-10-12 02:10:13 -05:00
Gao Sun
996d550382
feat(core): add organization scope APIs 2023-10-12 14:57:13 +08:00
Gao Sun
fd7d5a4ab1
refactor(core): fix id guard issue for post api 2023-10-12 14:56:34 +08:00
renovate[bot]
51a534fcd5
chore(deps): update dependency @types/pluralize to ^0.0.31 (#4579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 06:51:55 +00:00
renovate[bot]
dac50d2d25
chore(deps): update dependency @logto/cloud to v0.2.5-d434baa (#4463)
* chore(deps): update dependency @logto/cloud to v0.2.5-d434baa

* chore: update lock file

update lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-12 06:30:23 +00:00
Gao Sun
b4655b4e0f
Merge pull request #4636 from logto-io/gao-optimize-schema-types
refactor(schemas,shared)!: optimize schema types
2023-10-12 01:07:59 -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
Gao Sun
9a995ef65f
refactor(core,schemas): generate updateGuard and update schema actions 2023-10-11 19:34:11 +08:00
Gao Sun
c3b9e57fe3
Merge pull request #4620 from logto-io/gao-org-apis-1
feat(core): org basic apis
2023-10-11 05:58:07 -05:00
Gao Sun
e02bf4c987
chore: remove unused file 2023-10-11 18:41:26 +08:00
Gao Sun
c057024b7c
refactor(core): generic schema queries and actions 2023-10-11 17:04:45 +08:00
Gao Sun
7178657935
refactor!: optimize schema types 2023-10-11 16:41:31 +08:00
Charles Zhao
106ec388d5
feat(console): add console UI for private keys rotation (#4632) 2023-10-11 08:11:22 +00:00
Charles Zhao
5db08a7a20
Merge pull request #4631 from logto-io/charles-log-6862-implement-console-ui-to-allow-rotating-private-keys-with-alg
feat(phrases): add i18n phrases for private key rotation feature
2023-10-11 02:54:41 -05:00
Charles Zhao
005bb660cd
Merge pull request #4594 from logto-io/charles-log-6861-api-to-rotate-private-keys
feat(core,phrases): add apis to fetch, delete and rotate oidc private keys
2023-10-11 02:52:46 -05:00
Charles Zhao
11fbfa5d99
feat(phrases): add i18n phrases for private token rotation feature 2023-10-11 15:34:08 +08:00
Charles Zhao
f01ada5760
feat(core,phrases,shared): add apis to fetch, delete and rotate oidc private keys 2023-10-11 15:28:24 +08:00
Gao Sun
4110409bd1
refactor(core): organization crud apis 2023-10-11 12:48:20 +08:00
Gao Sun
3471fa84e8
Merge pull request #4616 from logto-io/gao-init-org-tables
feat(schemas): init organization tables
2023-10-10 06:15:16 -05:00
Xiao Yijun
985a3637fb
refactor(experience): reorg mfa factor switching logic (#4628) 2023-10-10 14:44:40 +08:00
Gao Sun
8e931d757f
refactor(core): add unit tests for SchemaRouter 2023-10-10 14:09:28 +08:00
Gao Sun
bb22ce3acc
feat(core): org basic apis 2023-10-10 14:09:28 +08:00
Darcy Ye
f1f75aa37e
refactor: eliminate connector-kit dependency on logto/cloud (#4622) 2023-10-10 13:55:21 +08:00
Charles Zhao
c913406926
refactor(core): support oidc configuration hot replace (#4590) 2023-10-09 10:05:07 +00: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
Hussain Shaikh
9e9227f9fa
feat: guard text inputs for CustomHeaderField component (#4609)
* feat: guard text inputs for CustomHeaderField component

* feat: add valueValidator and update keyValidator

* fix(console): check custom header key and value only if they are not empty

* chore(phrases): add invalid input phrases for custom header field

---------

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2023-10-09 13:59:49 +08:00
Xiao Yijun
b68588c0f6
test(experience): add tests for totp experience flow (#4619) 2023-10-09 11:44:03 +08:00
simeng-li
04ec524e67
fix(core): fix new linked social email conflict error (#4623) 2023-10-09 11:15:02 +08:00
Charles Zhao
46d0d4c0b9
refactor(schemas,core,cli): alter signing key type to json object (#4582) 2023-10-08 12:51:04 -05:00
Xiao Yijun
f53778894d
feat(experience): implement totp experience flow (#4589) 2023-10-08 16:20:43 +08:00
Gao Sun
c1df440682
refactor(schemas): make description nullable 2023-10-08 13:47:22 +08:00
renovate[bot]
3e45c3848d
fix(deps): update dependency nanoid to v5 (#4491)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-08 00:42:32 -05:00
silverhand-bot
6993b15ecd
release: version packages (#4621) 2023-10-08 00:28:22 -05:00
Gao Sun
2c340d3799
refactor(core): support roles scope for ID token (#4600)
* refactor(core): support `roles` scope for ID token

* chore: update changeset
2023-10-07 10:20:51 +00:00
Darcy Ye
03bc7888b1
chore: add M2M RBAC changeset for @logto/core and update changelog (#4618) 2023-10-07 17:54:14 +08:00
Gao Sun
b81c573583
feat(schemas): init organization tables 2023-10-07 17:49:28 +08:00
Darcy Ye
765cfd652f
chore(schemas): format alteration script (#4617) 2023-10-07 06:14:58 +00:00
Gao Sun
059a06ea7e
refactor(schemas): support table comments 2023-10-07 13:58:24 +08:00
silverhand-bot
f3ec4c6734
release: version packages (#4575) 2023-10-07 00:39:33 -05:00
Darcy Ye
c11fafd72c
chore(test): add M2M RBAC console test (#4598)
* chore(test): add m2m rbac console test

* fix: fix m2m rbac console ui test
2023-09-28 08:53:21 +00:00
Darcy Ye
a8b5a020fd
chore: add M2M RBAC changeset and remove feature switch (#4593) 2023-09-28 14:35:19 +08:00
Darcy Ye
50a5b14e18
chore(schemas): update management api access name/desc to sentence case (#4599) 2023-09-28 05:29:50 +00:00
Darcy Ye
aad3e2c7bb
chore(phrases,test): update M2M RBAC i18n content (#4595)
* chore: m2m rbac app/user details page assign role button sentence case

* chore(phrases,test): update m2m rbac i18n

* chore: remove untranslated tag in en
2023-09-28 11:24:22 +08:00
simeng-li
91d2412300
fix(console): fix the invalid_target error block console consent issue (#4592)
fix(console): fix the invalid_target error block AC consent issue

fix the invalid_target error block AC consent issue
2023-09-28 02:25:32 +00:00
Darcy Ye
85a7461adc
fix(console): update content of assigning new roles on app details page (#4591) 2023-09-27 10:11:47 +00:00
Darcy Ye
21a5b4da6c
fix(console): fix AuditLogTable components application selector (#4586) 2023-09-27 15:09:01 +08:00
Darcy Ye
65b68a91f2
fix(console,phrases): update content of assigning new roles on app details page (#4588) 2023-09-27 06:13:14 +00:00
wangsijie
6a32f50d15
feat(core,schemas,phrases): verify totp to sign in (#4570) 2023-09-27 09:12:25 +08:00
Darcy Ye
acf460290c
chore(console,phrases): fix console UI issues (#4585) 2023-09-27 08:55:26 +08:00
Darcy Ye
c8bcbff736
fix(console): should not show admin console in audit log app selector (#4587) 2023-09-27 08:16:52 +08:00
wangsijie
c3f865ac2c
test: add tests for mfa totp flows (#4566) 2023-09-26 14:42:02 +08:00
wangsijie
08a35a1695
feat(core,phrases,schemas): implement bind mfa totp (#4551) 2023-09-26 14:18:26 +08:00
Darcy Ye
19939811c1
refactor(console,phrases): hide role type selection on creation modal by default (#4581) 2023-09-26 11:02:05 +08:00
Gao Sun
827123faa0
feat(core): integrate basic sentinel (#4562)
* feat(core): integrate basic sentinel

* chore: add integration tests

* refactor(test): fix toast matching

* chore: add changeset

* refactor(test): update naming
2023-09-25 08:20:17 +00:00
Gao Sun
b8e592d669
refactor(core): improve oidc error handling (#4573)
* refactor(core): improve oidc error handling

* refactor(core): fix tests
2023-09-25 16:16:04 +08:00
wangsijie
7b43dd5de6
feat(schemas,console): add mfa interaction log key (#4560) 2023-09-25 11:37:43 +08:00
Gao Sun
9644308176
Merge pull request #4554 from logto-io/gao-basic-sentinel
feat(core): init basic sentinel
2023-09-23 23:06:31 +08:00
Gao Sun
24f70ebb2c
chore(core): add comments to basic sentinel init 2023-09-23 22:51:01 +08:00
Darcy Ye
368e0231a9
refactor(schemas,console,core): remove admin access switch for m2m apps (#4569)
* refactor(schemas,console,core): remove admin access switch for m2m apps

* refactor: refactor alteration script and add comments for better readability
2023-09-22 15:27:02 +08:00
Xiao Yijun
cff6f4344a
chore(console,phrases): add mfa experience phrases (#4555) 2023-09-22 14:14:47 +08:00
Gao Sun
202103b71f
Merge pull request #4504 from logto-io/gao-init-sentinel
feat: init sentinel
2023-09-22 14:03:22 +08:00
Gao Sun
18181f892e
refactor(shared)!: standardize id and secret generators (#4550)
* refactor(shared)!: standardize id and secret generators

* refactor: fix tests
2023-09-22 13:43:56 +08:00
silverhand-bot
d254dae5ff
release: version packages (#4572) 2023-09-21 22:04:40 +08:00
Charles Zhao
6f5a0acad4
fix(phrases): phrase key should not contain dot (#4565)
* fix(phrases): phrase key should not contain dot

* chore: add changeset

* refactor: keep `.` in the error code

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-09-21 13:41:41 +00:00
Charles Zhao
a4b44dde54
refactor(console): update protect api guide for express.js (#4564)
refactor(console): update protect api on express guide content
2023-09-21 20:50:20 +08:00
Darcy Ye
352ca03177
refactor(console,phrases,core): add roles and logs tabs for m2m app details page (#4548) 2023-09-21 16:54:17 +08:00
simeng-li
fc252b56f0
refactor(console): retrieve latest invoice id from stripe (#4563)
refactor(console): replace invoice url link with API call

replace invoice url link with API call
2023-09-21 14:40:53 +08:00
Darcy Ye
71f7977b9c
refactor(console,phrases,core): reorg role details page (#4537) 2023-09-20 12:01:15 +08:00
wangsijie
58f10b6a4e
feat(phrases): add mfa totp phrases (#4559) 2023-09-20 02:31:29 +00:00
renovate[bot]
bb5ec66a35
chore(deps): update dependency sinon to v16 (#4496)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-09-19 12:42:13 +00:00
Gao Sun
f34b2f4e21
refactor: reuse existing blocked record expiration 2023-09-19 17:21:45 +08:00
Gao Sun
b9ab1f3d85
feat(core): init basic sentinel 2023-09-19 16:35:03 +08:00
Gao Sun
a856145f81
refactor(schemas): improve regexp 2023-09-19 12:03:58 +08:00
Xiao Yijun
bfcc5a2cc9
feat(console): add quota paywall for mfa feature (#4538) 2023-09-19 04:00:47 +00:00
Xiao Yijun
9c8b9e4853
feat(console): support managing user mfa on user details page (#4498) 2023-09-19 11:45:01 +08:00
silverhand-bot
e69f941e38
release: version packages (#4451) 2023-09-18 10:47:19 +00:00
Gao Sun
310698b0d2
refactor(cli): polish cli output (#4545)
* refactor(cli): polish cli output

* chore: add changeset
2023-09-18 18:27:25 +08:00
Charles Zhao
3206ab2daa
fix(console): detail form tabs should not have unexpected margin-top (#4544) 2023-09-18 08:45:43 +00:00
Charles Zhao
0175d80d88
fix(console): transfer items should all be rendered as 40px in height (#4543) 2023-09-18 16:41:50 +08:00
Gao Sun
d065cbc623
refactor(schemas): sentinel first version 2023-09-18 16:31:23 +08:00
Charles Zhao
ff1da7700f
fix(console): should show user initial letter avatar in roles (#4540) 2023-09-18 16:06:18 +08:00
Charles Zhao
460784041b
fix(console): grouped avatars should stack on each other (#4539) 2023-09-18 16:05:53 +08:00
wangsijie
256aa30c31
feat(core): management user verifications (#4481)
* feat(schemas): add user verifications column

* feat(core): management user verifications
2023-09-18 11:39:22 +08:00
Darcy Ye
e90eb65d63
refactor(console,phrases,schemas,core): reorg role table (#4534) 2023-09-18 11:23:06 +08:00
Charles Zhao
c25916687f
refactor(console): add management api notice and update logo (#4532) 2023-09-18 11:00:12 +08:00
wangsijie
38d35934e7
chore(phrases): add mfa session phrases (#4536) 2023-09-18 10:46:13 +08:00
Darcy Ye
19e7292f49
refactor(console): refactor assign role modal (#4503) 2023-09-18 02:34:13 +00:00
wangsijie
7a3d4fb58c
fix(core): quota guard for mfa feature (#4529) 2023-09-18 10:00:26 +08:00
Darcy Ye
8366af442a
chore(core,test): enable advanced search params for GET /applications API (#4495)
* chore(core,test): enable advanced search params for GET /applications API

* refactor: add query by app type(s) filter

* refactor: reuse search for app types
2023-09-17 03:48:56 +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
Charles Zhao
595787d20d
refactor(console): improve m2m app guide content (#4531) 2023-09-16 12:49:22 +00:00
Charles Zhao
2104fc0b94
refactor(console): remove alternative endpoint from app guides (#4530)
* refactor(console): remove alternative endpoint from app guides

* chore(console): add border radius to images in guides
2023-09-16 20:27:27 +08:00
Gao Sun
d0a44e93f8
refactor(schemas): support field JSDoc comments 2023-09-16 17:15:56 +08:00
Gao Sun
f702cc24a3
feat: init sentinel 2023-09-16 17:15:53 +08:00
Charles Zhao
9bf591555e
refactor(console): improve m2m app guide content (#4525) 2023-09-16 10:48:39 +08:00
Charles Zhao
4c67cf3c5c
chore(console): fix wrong section title in python api guide (#4526) 2023-09-16 09:33:18 +08:00
Gao Sun
f9322d02dc
fix(console): highlight current tab in sidebar (#4524) 2023-09-15 13:40:11 +00:00
Gao Sun
d1729d89a9
chore(console): enable password policy (#4523) 2023-09-15 11:17:34 +00:00
Charles Zhao
5bda3a5c5a
refactor(console): remove upsell banner from get-started page (#4519) 2023-09-15 19:01:47 +08:00
Charles Zhao
d1c25b9c26
feat(console): add api resource guide for python (#4518) 2023-09-15 18:56:05 +08:00
Charles Zhao
0995b4257c
feat(console): add api guide for spring boot (#4517) 2023-09-15 18:32:36 +08:00