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

908 commits

Author SHA1 Message Date
renovate[bot]
8508469abf
chore(deps): update silverhand configs monorepo packages to v6 (major) (#5750)
* chore: upgrade configs

* refactor: fix lint errors

* refactor: fix lint errors

* refactor: fix stylelint issues

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-18 12:26:37 +00:00
Darcy Ye
1b4c106603
chore: add Cloudflare worker config for custom JWT (#5709) 2024-04-15 14:58:26 +08:00
simeng-li
559331d51e
refactor(core,schemas): make the jwt customizer script field mandatory (#5696)
* refactor(core,schemas): make the jwt customizer script field mandatory

make the jwt customizer script field mandatory

* fix(schemas): fix the alteration script

fix the alteration script

* fix(schemas): fix ut

fix ut
2024-04-15 10:38:30 +08:00
silverhand-bot
fb55249ab2
release: version packages (#5463) 2024-04-10 21:27:24 +08:00
wangsijie
ad9f34e7ea
chore(schemas): fix alteration down (#5648) 2024-04-08 07:19:50 +00:00
wangsijie
bf471e1451
chore(schemas): fix alteration timestamp (#5645)
chore(schemas): fix alteration scripts order
2024-04-08 03:21:15 +00:00
Charles Zhao
cfeb98c06f
feat(console,core,phrases): add quota guard for cloud collaboration in console (#5644) 2024-04-08 10:32:05 +08:00
wangsijie
3160b40f3b
feat(core,schemas): edit and query resource scopes for org role (#5613) 2024-04-07 15:11:40 +08:00
wangsijie
94ccbafa80
feat(core,schemas): add organization resource scope relations (#5608) 2024-04-07 11:10:13 +08:00
Darcy Ye
de70abebf6
refactor: update dependency on @logto/cloud and update legacy JWT customizer 2024-04-03 17:04:41 +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
e38e3c1bd0
refactor(schemas): rename tenant member role to collaborator (#5616) 2024-04-02 16:48:30 +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
977776d31f
chore(core,console): update error handling of testing custom JWT 2024-04-01 23:57:50 +08:00
Darcy Ye
c1722c8793
refactor(core): reorg and separate logto-config APIs into files 2024-03-31 14:51:33 +08:00
Gao Sun
7756f50f8e
feat: support direct sign-in for sso (#5589) 2024-03-29 21:56:25 +08: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
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
Charles Zhao
3cc6d4b4f4
refactor(schemas): remove invite member scope from tenant member role (#5578) 2024-03-28 17:56: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
Gao Sun
3f152a8cab
refactor: remove jest 2024-03-28 14:49:15 +08:00
Darcy Ye
e0123fd415
chore(schemas,core): update custom JWT sample token payload guard 2024-03-28 11:20:44 +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
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
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
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
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
Xiao Yijun
cec57e3c33
chore(schemas): add comments for ReservedPlanId (#5542) 2024-03-25 10:51:17 +08:00
Darcy Ye
5ea8c49c5d
chore: fix 2024-03-22 17:50:31 +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
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
Xiao Yijun
d913c8d5ca
chore(schemas): remove deprecated prune:logs scope (#5524) 2024-03-21 11:33:49 +08:00
Darcy Ye
b2e00df1b9
refactor: keep origin customJwtFetcherGuard 2024-03-21 10:58:36 +08:00
Darcy Ye
9c7956da5c
refactor: refactor 2024-03-21 10:57:23 +08:00
Darcy Ye
aac7a7bcf8
chore: update core dependency 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
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
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
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
57d97a4df8
feat: return and store connector raw data 2024-03-19 14:05:42 +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
Darcy Ye
2908c816e7
chore(schemas): export custom JWT API request body type (#5510)
chore(schemas): export custom jwt API request body type
2024-03-15 10:24:21 +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
Darcy Ye
733f092e40
chore(schemas): add cloud scope, service log type and API guard 2024-03-12 15:26:04 +08:00
Darcy Ye
9eb1c4ad7f
feat(core,schemas): update jwt customizer user info context 2024-03-11 18:29:29 +08:00
Darcy Ye
18dfcdabb9
chore(schemas): renaming 2024-03-06 16:24:57 +08:00
Darcy Ye
d6d282f355
chore(schemas): add comments 2024-03-06 16:07:02 +08:00
Darcy Ye
ada9c4dc89
feat(schemas): remove API path JWT token type enum to keep things simple 2024-03-05 20:11:14 +08:00
Darcy Ye
1fd9f8ec50
feat(core): remove guard definition and refactor code 2024-03-05 16:02:31 +08:00
Darcy Ye
13c3fd211d
feat(schemas): update logto_configs table related types 2024-03-05 15:18:46 +08:00
Xiao Yijun
94d3b2c2e7
refactor(schemas): regenerate dau table data from logs (#5455) 2024-03-04 14:05:23 +08:00
Gao Sun
3b9edaea14
chore(schemas): upgrade withtyped pacakge 2024-03-04 12:15:57 +08:00
wangsijie
79b49ab79a
feat(core): support more encrypt methods (#5444)
* feat(schemas): add more encryption methods

* feat(core): support more encrypt methods

* fix(schemas): fix alter down column name

* fix(core): fix tiny lint issue

* refactor(core,schemas): use uppercase value

* feat(core,schemas): add bcrypt

* fix(schemas): fix alter script

* refactor(core,schemas): rename bcrypt and use hash-wasm

* chore: fix lock file
2024-03-04 03:18:19 +00:00
Gao Sun
0a1ad74691
refactor(schemas): update schema to fit cloud 2024-03-01 14:56:32 +08:00
silverhand-bot
16ca8b2a98
release: version packages (#5445) 2024-03-01 14:40:25 +08:00
5aaee9
0457df0e35
fix(schemas): set default password for tenant (#4535) (#5339)
* fix(schemas): set default password for tenant (#4535)

* feat(schemas): set password when enable encrypt
2024-03-01 13:50:49 +09:00
Xiao Yijun
c65730bcd2
refactor(core, schemas): enhance the time accuracy of dau data (#5451) 2024-03-01 12:43:55 +08:00
Xiao Yijun
f078e968cf
refactor(schemas): rename cleanup:outdated-logs scope toprune:logs (#5452) 2024-02-29 16:12:24 +08:00
Darcy Ye
873d20fed9
fix(core): mgmt API scopes are not assignable to user roles (#5425)
* fix(core): mgmt API scopes are not assignable to user roles

* feat: add alteration script to remove mgmt api scopes already assigned to user role

* chore: use option object
2024-02-27 03:19:59 +00:00
silverhand-bot
e606462bcc
release: version packages (#5433) 2024-02-26 08:41:08 +00:00
Xiao Yijun
be9428fa0d
feat(schemas): add cleanup:outdated-logs cloud scope (#5381) 2024-02-22 14:14:40 +08:00
Darcy Ye
b6233a1a58
feat(core,test): add PUT /users/:userId/identities/:target API (#5410) 2024-02-19 22:27:32 +08:00
simeng-li
52f4e578a5
refactor(core,schemas): remove cloudConnection call in koaTenantGuard (#5395)
remove cloudConnection dependency in the koaTenantGuard
2024-02-19 10:45:57 +08:00
silverhand-bot
3f28e9a445
release: version packages (#5068) 2024-02-08 13:18:42 +08:00
Gao Sun
0a87ffd609
refactor(core): use deepmerge (#5361) 2024-02-01 09:17:29 +08:00
wangsijie
db2d10a2a8
fix(core,schemas): use database index to prevent custom domain conflict (#5342) 2024-01-31 11:05:20 +08:00
Gao Sun
70b8ff707e
Merge pull request #5335 from logto-io/gao-remove-magic-links
refactor: remove magic links
2024-01-30 15:29:21 +08:00
Gao Sun
abe97c1182
Merge pull request #5330 from logto-io/gao-put-invitation-status
feat(core): put invitation status
2024-01-30 15:28:03 +08:00
Charles Zhao
2263cb93d5
refactor(console,schemas): bring back hidden get-started page (#5327) 2024-01-30 12:31:31 +08:00
wangsijie
1963e12bd7
fix(core,schemas): use database index to prevent subdomain conflict (#5326) 2024-01-30 11:53:27 +08:00
Gao Sun
6d0f95739c
refactor: remove magic links 2024-01-29 20:21:45 +08:00
Gao Sun
0a20b5a6f8
feat(core): put invitation status 2024-01-29 19:39:27 +08:00
Gao Sun
ee91767ce9
refactor: add invitation api tests (#5324)
* refactor: add invitation api tests

* refactor: update alteration

* refactor: fix config guard
2024-01-29 01:39:52 +00:00
Gao Sun
e999f61187
refactor(schemas): allow null inviter (#5278) 2024-01-25 12:00:56 +00:00
simeng-li
52411f6712
feat(experience): add redirect uri info (#5296)
add redirect uri info
2024-01-25 11:48:01 +08:00
wangsijie
5b37be116a
fix(core,phrases): prevent application deletion for custom domain (#5262)
fix(core,phrases): prevent application deletion when custom domain exists
2024-01-24 08:46:35 +08:00
wangsijie
0d4d1b16f5
fix(schemas): remove catchall from cloudflare data guard (#5271) 2024-01-22 13:50:40 +08:00
wangsijie
cb5763f449
feat(core): sync protected app domain status (#5257) 2024-01-22 03:35:46 +00:00
simeng-li
2f1fb659ef
refactor(core): update the consent apis (#5267)
update the consent apis
2024-01-22 02:29:32 +00:00
wangsijie
ea407f19fa
feat(core,schemas): prepare schemas for protected app custom domain (#5247) 2024-01-19 13:17:20 +08:00
simeng-li
08f8688cf2
feat(core): add get consent info api (#5259)
add get consent info api
2024-01-19 10:52:55 +08:00
wangsijie
e1bbbd9ebf
feat(core,shared,phrases): check subdomain when creating protected app (#5217) 2024-01-16 16:30:03 +08:00
simeng-li
de37e71239
feat(schemas): add new application user consent orgs table (#5235)
add new application user consent organizations table
2024-01-16 10:47:59 +08:00
wangsijie
cbfd00e673
feat(core,schemas): add block domain list (#5234) 2024-01-15 15:45:00 +08:00
Gao Sun
75b643ad2f
feat(schemas, core): init organization invitation apis 2024-01-11 18:08:26 +08:00
Gao Sun
41f7b4d8ad
refactor(schemas): use native enum for invitation status 2024-01-11 17:30:41 +08:00