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

5434 commits

Author SHA1 Message Date
Xiao Yijun
11c974cfdd
feat(console): add permissions page for org role details page (#5631) 2024-04-07 10:25:44 +08:00
Xiao Yijun
6ed7ab5ef9
feat(console): create organization role (#5630) 2024-04-03 22:40:53 +08:00
Darcy Ye
d6cd67be76
Merge pull request #5628 from logto-io/yemq-update-cloud-dependency-and-update-legacy-jwt-customizer
refactor: update dependency on @logto/cloud
2024-04-03 17:55:48 +08:00
Darcy Ye
641463298d
Merge pull request #5625 from logto-io/yemq-log-8589-log-8603-prd-698-prd-704
chore(console): update style
2024-04-03 17:40:33 +08:00
Charles Zhao
05962798e7
fix(console): temporarily fix pro plan cannot invite members issue (#5629) 2024-04-03 17:16:57 +08:00
Darcy Ye
de70abebf6
refactor: update dependency on @logto/cloud and update legacy JWT customizer 2024-04-03 17:04:41 +08:00
Charles Zhao
316c11128a
refactor(console,phrases): display inviter name on tenant invitations table (#5622)
* refactor(console,phrases): display inviter name on tenant invitations table

* chore: bump @logto/cloud

* chore: update pnpm lockfile
2024-04-03 16:28:45 +08:00
Darcy Ye
cfbceb66a6
chore(console): update style
chore(console): update style
2024-04-03 14:40:33 +08:00
pawn
caaad693bf
refactor(phrases): add zh-cn phrases in OIDC consent page (#5606)
* feat(phrases): add i18n phrases for zh-cn about OICD Authorize page

* refactor: apply suggestions from code review

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-03 06:23:30 +00:00
Gao Sun
d8c39aa653
refactor(experience): fix sso callback page style (#5624) 2024-04-03 12:28:15 +08:00
Darcy Ye
bde2abe407
chore(core,console,schemas): update variable name and field name 2024-04-03 11:58:43 +08:00
Darcy Ye
7fecc0f3d5
Merge pull request #5623 from logto-io/yemq-prd-700-prd-701-fix-code-editor-action-button-styles
chore(console,toolkit): update custom JWT details page code editor action buttons style
2024-04-03 11:38:26 +08:00
Darcy Ye
4a60bf40e8
chore(console,toolkit): update custom JWT details page code editor action buttons style 2024-04-03 11:25:58 +08:00
Charles Zhao
2368cf03c6
refactor(console,phrases): rename tenant member role to collaborator (#5618) 2024-04-03 10:36:17 +08:00
Darcy Ye
7f3cd97b44
chore(console,toolkit): update custom JWT details page code editor action buttons style 2024-04-03 01:45:36 +08:00
Darcy Ye
fca4f9ba6c
chore(console,phrases): update content and fix console 2024-04-02 23:38:50 +08:00
Xiao Yijun
0f5347bbb9
feat(console): add org role details general settings page (#5610) 2024-04-02 21:10:44 +08:00
Xiao Yijun
e03595704e
feat(console): support org permission management on new org template page (#5603)
* feat(console): support org permission management on new org template page

* refactor(console): rename org pages

* refactor(console): rename phrase keys

* refactor(console): rename org to organization
2024-04-02 20:30:22 +08:00
Charles Zhao
a4f8199e92
fix(console,phrases): fix a batch of organization invitation console ui issues (#5614) 2024-04-02 10:12:08 +00:00
Charles Zhao
e38e3c1bd0
refactor(schemas): rename tenant member role to collaborator (#5616) 2024-04-02 16:48:30 +08:00
Charles Zhao
d1c41a2fa7
refactor(console): improve invitation email input field (#5615) 2024-04-02 15:26:41 +08:00
Darcy Ye
e09318d3e8
feat(core,schemas): log extraTokenClaims exception (#5539) 2024-04-02 15:19:52 +08:00
Darcy Ye
866c58e233
fix(console): reset form as soon as JWT customizer is created (#5612) 2024-04-02 06:28:54 +00:00
Darcy Ye
bea7d8e5ff
feat(core): add PATCH /configs/jwt-customizer API 2024-04-02 11:41:12 +08:00
Darcy Ye
21560f9805
Merge pull request #5611 from logto-io/yemq-log-8493-update-custom-jwt-console-error-handling
chore(core,console): update error handling of testing custom JWT
2024-04-02 10:55:57 +08:00
Darcy Ye
977776d31f
chore(core,console): update error handling of testing custom JWT 2024-04-01 23:57:50 +08:00
Charles Zhao
eeb095f957
fix(console): joining tenant should navigate user to the new tenant (#5602) 2024-04-01 22:13:54 +08:00
Charles Zhao
4e59064d76
feat(console): add leave tenant button in tenant settings (#5600) 2024-04-01 22:13:30 +08:00
Charles Zhao
2b5e6d6fb6
fix(core): update expired invitation to expired before inserting a new one (#5609) 2024-04-01 12:18:03 +00:00
Charles Zhao
add78b77a4
fix(console): only pending invitations can be resent (#5601) 2024-04-01 17:12:05 +08:00
Darcy Ye
77fc940787
Merge pull request #5599 from logto-io/yemq-update-translate-cli-configuration
chore(cli): update translate CLI configs
2024-04-01 17:07:41 +08:00
Darcy Ye
48a4da0ccc
Merge pull request #5591 from logto-io/simeng-log-8560-customize-jwt-claims-detail-page-redesign
refactor(console): redesign the jwt details page
2024-04-01 16:43:42 +08:00
Darcy Ye
39868d5fa2
Merge pull request #5587 from logto-io/simeng-log-8525-ac-flow-iteration-22-refactor-details-page
refactor(console,phrases): refactor the customize jwt details page
2024-04-01 16:42:55 +08:00
simeng-li
2c6f4b7e62
style(console): refine the SSO connector create model (#5594)
refine the sso connector create model
2024-04-01 16:42:34 +08:00
Darcy Ye
5bfd917b28
chore(console): align custom JWT path and hide the entrance for OSS 2024-04-01 16:12:14 +08:00
simeng-li
eed52dfc33
feat(console): update jwt create page button text
update jwt create page button text
2024-04-01 15:24:22 +08:00
simeng-li
c6b19a528c
refactor(console): redesign the jwt details page
redesign the jwt details page
2024-04-01 15:24:21 +08:00
simeng-li
59ffb43cf9
refactor(console): remove unused element
remove unused element
2024-04-01 15:23:20 +08:00
simeng-li
777ef0e483
refactor(console,phrases): refactor the customize jwt details page
refactor the customize jwt details page
2024-04-01 15:23:18 +08:00
simeng-li
e3e8b14569
refactor(console): rename the jwtClaims page
rename the jwtClaims page
2024-04-01 15:22:41 +08:00
simeng-li
8115944e1d
refactor(console): relocalte the component files
relocate the component files
2024-04-01 15:21:16 +08:00
simeng-li
2f67dde7cb
feat(console): implement custom jwt landing page
implement custom jwt landing page
2024-04-01 15:21:14 +08:00
Xiao Yijun
9bf9f07f17
refactor(console): move organization template into a single page (#5590)
* refactor(console): move organization template into a single page

* feat(phrases): add org template translations
2024-04-01 10:20:54 +08:00
wangsijie
982aa918e6
test: add tests for username case sensitive (#5597) 2024-03-31 17:39:25 +08:00
Charles Zhao
0438a2e890
fix(console): refresh invitation list after inviting members (#5593) 2024-03-31 17:18:55 +08:00
Darcy Ye
39cacf45ff
chore(cli): update translate CLI configs 2024-03-31 16:20:45 +08:00
Darcy Ye
c1722c8793
refactor(core): reorg and separate logto-config APIs into files 2024-03-31 14:51:33 +08:00
Darcy Ye
e34cfd812a
chore(core): update GET /configs/jwt-customizer/:tokenPath API error handling (#5595) 2024-03-30 10:10:03 +08:00
Gao Sun
7756f50f8e
feat: support direct sign-in for sso (#5589) 2024-03-29 21:56:25 +08:00
Gao Sun
6d56434b48
refactor: use ky in integration tests (#5584)
* refactor: use ky in integration tests

* refactor: remove node-fetch

* refactor: fix test cases

* refactor: remove waitFor after each test
2024-03-29 10:10:13 +00:00
Charles Zhao
eb4c6c4e59
feat(schemas): add util method to convert admin tenant org id to user tenant id (#5570) 2024-03-29 18:00:31 +08:00
Darcy Ye
a77fd3f97f
Merge pull request #5585 from logto-io/yemq-log-8483-update-cloud-client-API-call
chore: update cloud version and the way to call cloud custom JWT API
2024-03-29 14:32:55 +08:00
simeng-li
867e1140a4
fix(console): revert the custom jwt forms overflow hidden (#5573)
revert the custom jwt forms overflow hidden styles
2024-03-29 10:39:37 +08:00
Charles Zhao
03144ae598
fix(console,phrases): should check duplicated emails when inviting members (#5581)
fix(console,phrases): check duplicated emails when inviting members
2024-03-29 10:03:37 +08:00
Darcy Ye
48cfdf51a3
chore: update cloud version and the way to call cloud custom JWT API 2024-03-29 02:03:58 +08:00
Charles Zhao
7e33eae6d9
feat(schemas): add new scope read:member to both tenant admin and member roles (#5582) 2024-03-28 23:48:11 +08:00
Gao Sun
a279fb4c6c
chore: add comments for cloud seed data (#5583) 2024-03-28 23:18:59 +08:00
renovate[bot]
dcb5eba305
fix(deps): update dependency snake-case to v4 (#5534)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-03-28 19:11:20 +08:00
renovate[bot]
961fd8ea99
fix(deps): update dependency snakecase-keys to v7 (#5556)
* fix(deps): update dependency snakecase-keys to v7

* test: wait for 1ms for every api test

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-03-28 18:16:00 +08:00
Charles Zhao
3cc6d4b4f4
refactor(schemas): remove invite member scope from tenant member role (#5578) 2024-03-28 17:56:08 +08:00
Gao Sun
2ae8c112f5
test: improve integration tests (#5577) 2024-03-28 09:00:35 +00:00
wangsijie
80a3808398
test: add integration tests for jwt (#5565) 2024-03-28 17:00:08 +08:00
Gao Sun
113221e55d
Merge pull request #5574 from logto-io/gao-remove-jest
refactor: remove jest (partially)
2024-03-28 16:59:55 +08:00
Charles Zhao
a2899a8101
refactor(console): update tenant settings access per user tenant scopes (#5571) 2024-03-28 16:58:27 +08:00
Gao Sun
0ade3016d8
test: wait 0ms after each test 2024-03-28 16:26:58 +08:00
Gao Sun
3f152a8cab
refactor: remove jest 2024-03-28 14:49:15 +08:00
Gao Sun
02833b0c39
chore: add test coverage pacakge 2024-03-28 14:04:15 +08:00
Gao Sun
f549841b67
refactor: add back build:test for other packages 2024-03-28 12:59:13 +08:00
Gao Sun
340d562f37
refactor: remove jest 2024-03-28 12:55:10 +08:00
Darcy Ye
664c67dc6d
Merge pull request #5558 from logto-io/yemq-log-8448-update-sample-token-payload
chore(schemas,core): update custom JWT sample token payload guard
2024-03-28 12:14:29 +08:00
Gao Sun
412a3df1cf
refactor: remove jest 2024-03-28 12:07:54 +08:00
Darcy Ye
18041a6ccc
chore(console): update the default user context as well 2024-03-28 12:00:43 +08:00
Charles Zhao
afda22efa2
feat(console): add quick join options in tenant selector dropdown (#5568)
* feat(console): implement interim landing page for new users to join invited tenants

* feat(console): add quick join options in tenant selector dropdown
2024-03-28 11:27:39 +08:00
Darcy Ye
e0123fd415
chore(schemas,core): update custom JWT sample token payload guard 2024-03-28 11:20:44 +08:00
Xiao Yijun
ba966fdefe
feat(console): support permission editing (#5567) 2024-03-28 10:52:15 +08:00
Charles Zhao
f83e85ba55
feat(console): implement interim landing page for new users to join invited tenants (#5560) 2024-03-28 10:26:30 +08:00
simeng-li
6990a3ebb5
fix(console): fix the zod-to-ts type infer bug (#5566)
fix the zod-to-ts type infer bug
2024-03-28 10:23:08 +08:00
simeng-li
d1b19851f0
fix(console): fix jwt test context code editor bug (#5563)
fix jwt test context code editor bug
2024-03-28 10:22:27 +08:00
Gao Sun
d45cd37f9b
refactor: use vitest for connectors (#5562) 2024-03-28 10:21:50 +08:00
Darcy Ye
2ccc54ac98
Merge pull request #5557 from logto-io/yemq-log-8481-update-custom-jwt-fetcher
chore(schemas): update customJwtFetcherGuard to specify custom jwt use case
2024-03-27 18:26:44 +08:00
Charles Zhao
746483c494
fix(console,phrases): api resource indicator should be a valid absolute uri (#5561)
* fix(console,phrases): api resource indicator should be a valid absolute uri
2024-03-27 09:35:37 +00:00
Xiao Yijun
5758f84f5e
feat(console): support signing-key rotation for oss version (#5559) 2024-03-27 16:52:40 +08:00
simeng-li
d91e3e7d83
style(console): fix the color code white css (#5564)
fix the color code white css
2024-03-27 08:43:17 +00:00
simeng-li
ba16d1cf60
refactor(console): refactor sso detail pages (#5551)
* refactor(console): refactor sso detail pages

refactor sso details pages

* fix(console): fix the sso paywall guard content

fix the sso paywall guard content
2024-03-27 14:01:41 +08:00
simeng-li
affcecd0c6
refactor(console): refactor useApi (#5549)
refactor useApi hideToast logic
2024-03-27 03:49:33 +00:00
simeng-li
92d45f2432
refactor(core,schemas): refactor the sso connector factory type (#5541)
* refactor(core,schemas): refactor the sso connector factory type

refactor the sso connector factory type and add providerType to the config data

* fix(core): fix ut

fix ut

* refactor(schemas): add the providerType to the providerDetails return type

add the new providerType property to the providerDetails return type
2024-03-27 03:10:48 +00:00
simeng-li
592d4672f0
feat(core,schemas): add new Azure OIDC SSO connector (#5540)
add new Azure OIDC SSO connector
2024-03-27 10:50:49 +08:00
Gao Sun
3f59461df6
chore(deps): update packges (#5545)
* chore(deps): upgrade puppeteer

* chore: replace plugin

* refactor: fix tests
2024-03-27 10:21:46 +08:00
Charles Zhao
2961b5399c
feat(console): add console landing page to accept user invitation (#5554) 2024-03-26 08:15:56 +00:00
Charles Zhao
c7a23dfe92
feat(console): invite members dialog (#5531) 2024-03-26 15:43:48 +08:00
Darcy Ye
0c4ba5b8a4
chore(schemas): update customJwtFetcherGuard to specify custom jwt use case 2024-03-26 14:37:42 +08:00
Gao Sun
2cbc591ff6
feat: support direct sign-in (#5536)
* feat: support direct sign-in

* chore: add changesets

* refactor: add test cases

* chore(deps): upgrade logto sdks
2024-03-26 13:23:41 +08:00
Darcy Ye
1f0ae00ce4
fix(core,phrases): fix custom JWT PUT API block admin tenant logic 2024-03-25 23:39:18 +08:00
Xiao Yijun
af53be8639
refactor(console): reorg sidebar menu items (#5550) 2024-03-25 18:46:26 +08:00
Charles Zhao
4766d224d9
chore(phrases): add i18n phrases for console invitation interim pages (#5553) 2024-03-25 18:38:06 +08:00
Charles Zhao
8d14c87652
chore: bump @logto dependencies (#5548) 2024-03-25 18:34:06 +08:00
simeng-li
a9b927910d
fix(core): fix the post domains api error status code (#5552)
fix the post domains api error status code
2024-03-25 10:18:36 +00:00
Darcy Ye
62bd784d4e
Merge pull request #5546 from logto-io/yemq-log-8470-update-custom-jwt-test-api-error-handling
refactor(phrases,core,console): update API and console error handling/display
2024-03-25 17:49:50 +08:00
Charles Zhao
a387bf2868
refactor(schemas,core,console): skip onboarding if user has pending invitations (#5547) 2024-03-25 17:45:06 +08:00
Darcy Ye
614375589d
chore: add comments 2024-03-25 17:38:21 +08:00
Darcy Ye
618c38f134
Merge pull request #5508 from logto-io/yemq-log-8338-update-extra-token-claims-logic
feat(core): add the support on custom JWT feature
2024-03-25 14:28:14 +08:00
Darcy Ye
9e67b670de
refactor(phrases,core,console): update API and console error handling/display 2024-03-25 14:18:01 +08:00
Darcy Ye
0f35538629
refactor: not update console cloud dependency 2024-03-25 14:17:11 +08:00
Darcy Ye
55e04cc683
refactor: reorder code 2024-03-25 14:00:05 +08:00
Xiao Yijun
7d86bf323f
refactor(console): avoid nested modal content for role creation (#5544) 2024-03-25 10:51:56 +08:00
Xiao Yijun
a538a1cc8a
refactor(console): extract shared quota between featured plan and comparison table (#5543) 2024-03-25 10:51:40 +08:00
Xiao Yijun
cec57e3c33
chore(schemas): add comments for ReservedPlanId (#5542) 2024-03-25 10:51:17 +08:00
wangsijie
ecd3db2c71
refactor(core): remove unused mark mfa skip function (#5517)
fixed #5482
2024-03-25 10:25:21 +08:00
Darcy Ye
5ea8c49c5d
chore: fix 2024-03-22 17:50:31 +08:00
Darcy Ye
ea796c15a5
chore: fix 2024-03-22 12:52:42 +08:00
simeng-li
3ff97d4ae1
style(console): fix the jwt test panel layout (#5538)
fix the jwt test panel layout
2024-03-22 11:19:59 +08:00
Darcy Ye
8ea166ad2d
refactor: try catch extraTokenClaims function to avoid breaking the auth process 2024-03-21 23:50:55 +08:00
Darcy Ye
210bb298be
refactor: remove credentials cache 2024-03-21 23:50:54 +08:00
Darcy Ye
8513dae8af
refactor: block admin tenant from using creating jwt-customizer API 2024-03-21 23:50:54 +08:00
Darcy Ye
ddd93dc977
refactor(core): add cache for cloud connection data 2024-03-21 23:50:54 +08:00
Darcy Ye
89ba8a1a0c
chore: update cloud dependency 2024-03-21 23:50:54 +08:00
Darcy Ye
18fb88ecdd
fix: cloud connection should bypass custom JWT flow 2024-03-21 23:50:53 +08:00
Darcy Ye
084ced1bd6
feat(core): add the support on custom JWT feature 2024-03-21 23:50:53 +08:00
Gao Sun
a98bc3da54
Merge pull request #5530 from logto-io/gao-add-oidc-standard-claims
feat: add oidc standard claims to user
2024-03-21 23:25:50 +08:00
Gao Sun
3cb9b892da
refactor: fix test and ci 2024-03-21 23:10:24 +08:00
Gao Sun
f60e64175f
Merge pull request #5526 from logto-io/gao-store-raw-data-social
feat: return and store social connector raw data
2024-03-21 22:47:13 +08:00
Charles Zhao
37cd6cced9
feat(console): add tenant member and invitation lists (#5501)
* feat(console): add tenant member and invitation lists

* refactor: polish code per comments

* fix: lockfile
2024-03-21 08:00:30 +00:00
simeng-li
f1f6b1cd61
feat(console): integrate jwt customizer test api (#5532)
* feat(console): integrate jwt customizer test api

integrate jwt customizer test api

* refactor(console,core): jwt test api integration

jwt test api integration

* chore: add cloud connection scope config for fetching custom jwt

---------

Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2024-03-21 15:26:30 +08:00
Darcy Ye
5c6af3823c
Merge pull request #5525 from logto-io/yemq-log-8444-add-jwt-customizer-test-api
feat(core): add POST /configs/jwt-customizer/test API
2024-03-21 13:04:19 +08:00
Darcy Ye
88f759c686
chore: add status 403 for custom jwt test API 2024-03-21 12:51:57 +08:00
Xiao Yijun
d913c8d5ca
chore(schemas): remove deprecated prune:logs scope (#5524) 2024-03-21 11:33:49 +08:00
Darcy Ye
239c17f367
refactor: adopt suggestion 2024-03-21 11:13:06 +08:00
Darcy Ye
b2e00df1b9
refactor: keep origin customJwtFetcherGuard 2024-03-21 10:58:36 +08:00
Gao Sun
45a7ee17aa
refactor: remove cloud only operations when needed 2024-03-21 10:57:25 +08:00
Darcy Ye
77b67fbd04
refactor(core): add cloud-only API prune for API docs 2024-03-21 10:57:25 +08:00
Darcy Ye
9c7956da5c
refactor: refactor 2024-03-21 10:57:23 +08:00
Darcy Ye
ed710b06ec
chore: remove 500 status guard 2024-03-21 10:56:13 +08:00
Darcy Ye
e72e927bb1
chore: add todo 2024-03-21 10:56:13 +08:00
Darcy Ye
aac7a7bcf8
chore: update core dependency 2024-03-21 10:56:13 +08:00
Darcy Ye
ef7e8e1fda
refactor(core): use discriminate union for custom jwt test API 2024-03-21 10:56:13 +08:00
Darcy Ye
5fbee28565
feat(core): add POST /configs/jwt-customizer/test API 2024-03-21 10:56:12 +08:00
Darcy Ye
f727ef8415
Merge pull request #5529 from logto-io/yemq-log-8446-update-user-context-type
refactor(core): update user context type
2024-03-21 10:54:46 +08:00
Darcy Ye
a2f20df9c9
chore: add comments 2024-03-20 14:35:08 +08:00
simeng-li
9518658595
fix(schemas): fix the get interation/consent api bug (#5503)
* fix(schemas): fix the get interation/consent api bug

fix the get interation/consent api bug

* chore: update changeset

update changeset

* fix: update changeset

update changeset

* refactor(schemas, console): alter the resource scopes description field to nullable (#5504)

* refactor(schemas, console): alter the resoruce scopes description field nullable

make the resourec scopes description nullable

* fix(test): fix the type issue in the integration test

fix the type issue in the integration test

* fix(console): add the field register

add the field register

* fix: update the changeset

update the changeset

* fix(console,test): update comments and rebase

update comments and rebase the master
2024-03-20 14:31:35 +08:00
Gao Sun
abffb9f95e
chore: add changeset and api doc 2024-03-20 13:39:22 +08:00
Gao Sun
6feb531435
feat: add profile api, update api and database, add tests 2024-03-20 13:16:23 +08:00
Darcy Ye
e5e378d1bb
chore: remove org role scopes field since it relies on pagination setup 2024-03-20 12:58:12 +08:00
Gao Sun
d597681a67
refactor: fix tests 2024-03-20 11:57:48 +08:00
Gao Sun
bc110843e6
Merge pull request #5523 from logto-io/gao-allow-filter-invitation-by-invitee
feat: allow get invitations by invitee
2024-03-20 11:29:33 +08:00
Gao Sun
1bc40faf98
refactor: fix type issues 2024-03-20 11:00:11 +08:00
simeng-li
b994f1e2ad
refactor(core): refactor oidc sso connector (#5528)
refactor oidc sso connector
2024-03-20 10:20:01 +08:00
simeng-li
f638c8e6a2
refactor(console,phrases): refactor the jwt customizer content (#5527)
* refactor(console,phrases): refactor the jwt customizer content

refactor the jwt customizer content

* fix(console): add isDev guard

add isDev guard
2024-03-20 10:15:42 +08:00
Darcy Ye
8ac95a1bc2
fix(console): fix some user related type in console 2024-03-20 01:12:54 +08:00
Darcy Ye
8f5baac585
refactor(core,schemas): refactor to improve lib method performance 2024-03-20 00:47:56 +08:00
Gao Sun
beff82ae2c
feat: add oidc standard claims to user 2024-03-19 22:51:26 +08:00