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

1931 commits

Author SHA1 Message Date
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
bde2abe407
chore(core,console,schemas): update variable name and field name 2024-04-03 11:58:43 +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
e09318d3e8
feat(core,schemas): log extraTokenClaims exception (#5539) 2024-04-02 15:19:52 +08: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
2b5e6d6fb6
fix(core): update expired invitation to expired before inserting a new one (#5609) 2024-04-01 12:18:03 +00: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
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
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
Darcy Ye
48cfdf51a3
chore: update cloud version and the way to call cloud custom JWT API 2024-03-29 02:03:58 +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
Darcy Ye
e0123fd415
chore(schemas,core): update custom JWT sample token payload guard 2024-03-28 11:20:44 +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
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
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
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
55e04cc683
refactor: reorder code 2024-03-25 14:00:05 +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
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
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
88f759c686
chore: add status 403 for custom jwt test API 2024-03-21 12:51:57 +08:00
Darcy Ye
239c17f367
refactor: adopt suggestion 2024-03-21 11:13:06 +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
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
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
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
Darcy Ye
348124b60e
refactor(core): update user context type 2024-03-19 16:01:55 +08:00
Gao Sun
23bc5cdc8e
Merge pull request #5521 from logto-io/gao-allow-unknown-keys-in-message-payload
refactor: allow unknown keys in send message payload
2024-03-19 10:49:52 +08:00
Gao Sun
98ca0a739d
feat: allow get invitations by invitee 2024-03-19 10:45:02 +08:00
Gao Sun
2c10c24232
refactor: update invitation apis 2024-03-19 10:38:36 +08:00
wangsijie
9aa07bf8ed
test(core): mock crypto functions in password tests (#5522) 2024-03-19 02:37:58 +00:00
Gao Sun
b40a3474aa
Merge pull request #5513 from logto-io/gao-use-svhd-slonik
refactor: use silverhand slonik
2024-03-19 09:26:59 +08:00
wangsijie
2f388c08bf
feat(core): set oidc issuer to custom domain (#5509)
* feat(core): set oidc issuer to custom domain

* refactor(core): get tenant id return whether is custom domain
2024-03-18 14:27:33 +08:00
Gao Sun
feaca53785
refactor: remove unused files 2024-03-18 10:04:25 +08:00
Gao Sun
0a5226c4be
chore: upgrade slonik 2024-03-18 09:59:38 +08:00
Gao Sun
fbbe767867
refactor: use silverhand slonik 2024-03-16 19:04:55 +08:00
Gao Sun
54c2b1d1e3
refactor: fix errors 2024-03-16 14:44:32 +08:00
Gao Sun
e22eb3a9d2
refactor: remove slonik from shared 2024-03-16 00:50:10 +08:00
Darcy Ye
58885b31cb
fix(core): the koa response status guard missing 422 in sso integration API (#5506) 2024-03-15 03:57:08 +00:00
simeng-li
2a358bf241
refactor(console,core,schemas): rename the jwtCustomizer related type and guards (#5496)
rename the jwtCustomizer related type and guards
2024-03-13 06:35:47 +00:00
simeng-li
2c5a4491ae
refactor(core,console): align the jwt token path enum (#5493)
align the jwt token path enum used in console and core
2024-03-13 01:48:12 +00:00
Gao Sun
1965633bed
refactor(core): update organization invitation apis (#5474)
* refactor(core): update organization invitation apis

* chore: add api tests
2024-03-12 18:35:40 +08:00
Darcy Ye
9eb1c4ad7f
feat(core,schemas): update jwt customizer user info context 2024-03-11 18:29:29 +08:00
wangsijie
95f4ba1856
feat(core): add password algorithm transition (#5481) 2024-03-08 18:04:13 +08:00
wangsijie
172411946a
feat(core): create user with avatar and custom data (#5476) 2024-03-08 03:29:39 +00:00
Darcy Ye
57a9cfa6d3
fix(core): fix rebase 2024-03-07 15:06:50 +08:00
Darcy Ye
29d7642c6b
feat(core): add DELETE /configs/jwt-customizer API 2024-03-07 14:25:24 +08:00
Darcy Ye
74a70c068d
feat(core): add GET /configs/jwt-customizer API 2024-03-07 14:17:49 +08:00
Darcy Ye
ce2abe740c
Merge pull request #5465 from logto-io/yemq-log-8283-add-GET-configs-jwt-customizer-API
feat(core): add GET /configs/jwt-customizer API
2024-03-07 14:14:09 +08:00
Darcy Ye
81eb02239e
Merge pull request #5461 from logto-io/yemq-log-8282-add-POST-configs-jwt-customizer-API
feat(core): add PUT /configs/jwt-customizer API
2024-03-07 14:10:13 +08:00
Darcy Ye
5d55776d60
refactor(core): refactor 2024-03-06 19:53:17 +08:00
Darcy Ye
754d425a60
chore(core,test): update tests and refactor getJwtCustomizer query 2024-03-06 19:33:41 +08:00
Darcy Ye
118de63049
feat(core): add GET /configs/jwt-customizer API 2024-03-06 19:33:39 +08:00
Darcy Ye
f4a812ae8a
refactor(core): refactor 2024-03-06 19:31:42 +08:00
Darcy Ye
0f0247ce2f
refactor(core): overload function interface 2024-03-06 18:47:41 +08:00
Darcy Ye
5d8e6853d1
refactor(core): refactor code 2024-03-06 18:15:54 +08:00
simeng-li
2f72f8ffd7
feat(console,phrases): integrate monaco editor (#5460)
* feat(console,phrases): integrate monaco editor

integrate monaco editor

* chore: update pnpm lock file

update pnpm lock file

* fix(console): remove unused styles

remove unused styles

* feat(console): update font styles

update font styles
2024-03-06 14:08:46 +08:00
Darcy Ye
44ff452492
fix(core): align openapi.json 2024-03-06 12:35:22 +08:00
renovate[bot]
e1def81ed5
chore(deps): upgrade withtyped and cloud packages (#5408)
* fix(deps): upgrade withtyped packages

* chore: fix types

* chore(deps): upgrade logto cloud package

* refactor(cli): fix types

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-03-06 04:26:50 +00:00
Darcy Ye
7c06880287
feat(schemas,core,test): remove LogtoJwtTokenKeyType and define the path enum locally in core 2024-03-06 11:50:11 +08:00
Darcy Ye
92a04f08bd
feat(core): use PUT instead of POST and refactor code 2024-03-05 22:22:25 +08:00
Darcy Ye
7c4019b408
feat(core,phrases): add POST /configs/jwt-customizer API 2024-03-05 22:22:25 +08:00
Xiao Yijun
3ae59baf6e
chore(core): deprecate unused query methods for logs table (#5464) 2024-03-04 15:50:37 +08:00
Xiao Yijun
a0a19b13f9
refactor(core): migrate dashboard/users/active api data deps (#5457) 2024-03-04 14:59:56 +08:00