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

1003 commits

Author SHA1 Message Date
simeng-li
dab06cb1a9
feat(core,schemas): add mandatory password guard on register (#6368)
* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* feat(core,schemas): add mandatory password guard on register

add mandatory password guard on register
2024-08-01 10:20:23 +08:00
simeng-li
cf31e3a5af
feat(core,schemas): add auditLogs to experience API (#6361)
* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* feat(core,schemas): add auditLogs to experience API

add auditLogs to experience API
2024-07-31 18:38:34 +08:00
Gao Sun
a46d5ac6a7
Merge pull request #6322 from logto-io/gao-launch-multi-app-secrets
chore: launch multiple app secrets
2024-07-29 15:26:42 +08:00
Gao Sun
b777db5df5
refactor(core): use tsup for building 2024-07-28 11:34:43 +08:00
Gao Sun
b188bb1619
chore: launch multiple app secrets 2024-07-28 08:40:01 +08:00
simeng-li
6477c6deef
feat(schemas): add custom data to application (#6309)
* feat(core,schemas): add application custom data

add application custom data

* test(core): add update application with new custom data test

add update application with new custom data test
2024-07-25 09:55:57 +00:00
simeng-li
248ee7fb08
feat(core,schemas): implement profile fulfillment flow (#6293)
* feat(core,schemas): implement profile fulfillment flow

implement profile fulfillment flow

* fix(test): fix integration tests

fix integration tests

* fix(core): fix rebase issue

fix rebase issue

* refactor(core): refactor the interaction set profile flow

refactor the interaction set profile flow
2024-07-25 13:41:10 +08:00
Gao Sun
8ee1eb94e6
Merge pull request #6310 from logto-io/gao-generate-secret-on-creation
refactor: generate application secret on creation
2024-07-24 17:36:47 +08:00
Gao Sun
ef325b25e4
refactor: generate application secret on creation 2024-07-23 11:40:54 +08:00
Gao Sun
3cb3e5f14d
Merge pull request #6287 from logto-io/gao-init-app-secrets
feat(schemas): multiple app secrets
2024-07-23 10:27:19 +08:00
Charles Zhao
05e31feecb
refactor(schemas): increase max upload file size limit to 20MB 2024-07-22 17:55:04 +08:00
Charles Zhao
ead7c84973
refactor(console,phrases,schemas): increase file upload size limit to 10mb (#6258)
refactor(console,phrases,schemas): increase file upload size limit to 10 mb
2024-07-22 03:25:20 +00:00
Gao Sun
0d4b82488f
Merge pull request #6288 from logto-io/gao-upgrade-typescript
chore(deps): upgrade typescript and react
2024-07-22 11:00:23 +08:00
simeng-li
de61735353
refactor(core,schemas): refactor CodeVerification (#6277)
* refactor(core,schemas): refactor the CodeVerification class

split the CodeVerification class into EmailCodeVerification and PhoneCodeVerification

* refactor(core,schemas): split CodeVerification type

split CodeVerification type

* fix(core): code review updates

code review updates
2024-07-22 02:36:25 +00:00
Gao Sun
ca7ee8c227
feat(schemas): init app_secrets table 2024-07-21 19:59:30 +08:00
Gao Sun
b73452ceb3
chore(deps): upgrade typescript 2024-07-20 22:04:56 +08:00
simeng-li
c93ffb4760
feat(core,schemas): implement social/sso link and sync logic (#6257)
* feat(core,schemas): implement social/sso link and sync logic

implement social/sso link and sync logic

* test(core): add intergration tests

add integration tests
2024-07-19 09:41:55 +00:00
Charles Zhao
17d7be3992
feat(console): implement custom ui assets upload component (#6217) 2024-07-18 15:56:09 +08:00
simeng-li
0a9da5245b
feat(core,schemas): implement the username password registration flow (#6249)
* feat(core,schemas): implement the username password registration flow

implement the username password registration flow

* chore(core): update some comments

update some comments

* fix(test): fix integration tests

fix integration tests

* fix(test): fix lint

fix lint
2024-07-16 16:18:30 +08:00
Charles Zhao
ce3a62bc7a
feat(core,schemas): add post custom ui assets api (#6118)
* feat(core,schemas): add post custom ui assets api
2024-07-15 16:06:09 +00:00
Gao Sun
dd4ae57a98
Merge pull request #6241 from logto-io/gao-upgrade-zod 2024-07-15 10:49:13 +08:00
Gao Sun
c2bcdb7c20
Merge pull request #6240 from logto-io/gao-upgrade-packages 2024-07-15 10:47:38 +08:00
simeng-li
5bae495cc9
feat(core,schemas): implement the sie settings guard (#6215)
* feat(core,schemas): implement the sie settings guard

implement the sie settings guard

* fix(test): fix integration test

fix integration test

* test(core): add sie guard ut

add sie guard ut

* chore(core): add some comment

add some comment

* refactor(core): rename the sign-in-experience-settings class

rename the sign-in-experience-settings class
2024-07-15 09:53:50 +08:00
renovate[bot]
f6901f591c
chore(deps): update vitest monorepo to v2 (major) (#6202)
* chore(deps): update vitest monorepo to v2

* refactor: remove unused lint ignorings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-07-14 14:58:09 +00:00
Gao Sun
e3109af026
chore(deps): upgrade zod 2024-07-12 20:56:01 +08:00
Gao Sun
dbf9b2b04b
chore(deps): upgrade packages 2024-07-12 20:53:42 +08:00
Gao Sun
d203c8d2ff
refactor: experience ssr (#6229)
* refactor: experience ssr

* refactor: fix parameter issue
2024-07-12 19:00:36 +08:00
simeng-li
dcb62d69d4
feat(core,schemas): introduce new PUT experience API (#6212)
* feat(core,schemas): introduce new PUT experience API

introduce new PUT experience API

* fix(core): fix some comments

fix some comments
2024-07-12 10:16:43 +00:00
Gao Sun
cee1c54dc0
refactor(console): improve branding experience 2024-07-11 17:06:21 +08:00
simeng-li
9c05106d88
feat(core,schemas): implement backup codes verification (#6207)
implement the backup code verification flow
2024-07-11 10:07:27 +08:00
simeng-li
be410acbbb
feat(core): implement TOTP verification routes (#6201)
* feat(core): implmenent totp verification routes

implement totp verification routes

* fix(core): update comments

update comments
2024-07-10 19:14:51 +08:00
Gao Sun
6060919a21
Merge pull request #6206 from logto-io/gao-refactor-logo-uploads
refactor(console): reorg logo uploads
2024-07-10 14:47:48 +08:00
Gao Sun
5f8eb518b5
Merge pull request #6196 from logto-io/gao-app-logo-and-color
feat: support app-level branding
2024-07-10 14:17:59 +08:00
Gao Sun
a4a4ef4cd4
refactor(console): reorg logo uploads 2024-07-09 15:03:46 +08:00
Gao Sun
4a8b7c0648
feat: support app-level branding 2024-07-08 16:52:15 +08:00
wangsijie
c1a01d6925
feat(console,schemas): add grant context to custom jwt (#6184) 2024-07-08 14:51:24 +08:00
Gao Sun
3a839f6d60
feat: organization logo 2024-07-07 21:40:26 +08:00
silverhand-bot
1fa9f85e14
release: version packages (#5987) 2024-07-06 09:07:56 +08:00
simeng-li
d16bc9b2e5
feat(core,schemas): implement social verification experience API endpoints (#6150)
feat(core,schemas): implement the social verification flow

implement the social verificaiton flow
2024-07-05 16:36:40 +08:00
simeng-li
d85cd323ae
feat(core): implement verification code verification API (#6001)
* feat(core,schemas): implement the verification code flow

implement the verification code flow

* chore(core): fix rebase issue

fix rebase issue
2024-07-05 11:47:59 +08:00
simeng-li
aec2cf4f5b
feat(core): implement new experience API routes (#5992)
* feat(core): implement new interaction-session management flow

implement a new interaction-session management flow for experience api use

* feat(core): implement password sign-in flow

implement password sign-in flow

* test(core,schemas): add sign-in password tests

add sign-in password tests

* chore(core): update comments

update comments

* refactor(core): rename the password input value key

rename the password input value key

* refactor(core,schemas): refactor the experience API

refactor the exerpience API structure

* chore(test): add devFeature test

add devFeature test

* refactor(core): rename the path

rename the path

* refactor(core,schemas): refactor using the latest API design

refactor using the latest API design

* chore(test): replace using devFeature test statement

replace using devFeature test statement

* fix(core): fix lint error

fix lint error

* refactor(core): refactor experience API implementations

refactor experience API implementations

* refactor(core): replace with switch

replace object map with switch

* refactor: apply suggestions from code review

* refactor(core): refactor the interaction class
 refactor the interaction class

* refactor(core): update the user identification logic

update the user identification logic

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-07-05 11:02:36 +08:00
Charles Zhao
17921b5138
feat(schemas): custom ui assets db update (#6010) 2024-07-03 06:27:03 +00:00
wangsijie
685a97476a
feat(core,schemas): token exchange grant (#6057) 2024-07-01 16:36:34 +08:00
Darcy Ye
b52609a1ed
feat(core): add hasPassword field to custom JWT user context (#6096) 2024-06-25 14:58:25 +08:00
Gao Sun
d7d2af68a9
fix(schemas): explicitly set search path (#6101) 2024-06-24 18:11:43 +08:00
Gao Sun
5e0a4401f6
feat: organization role types 2024-06-22 22:59:43 +08:00
Gao Sun
b839f6c46f
refactor(core): return roles in organization app get api 2024-06-22 22:58:44 +08:00
wangsijie
b1a12fb375
feat(core): issue subject tokens (#6045) 2024-06-22 02:31:27 +00:00
Gao Sun
ec95536b84
Merge pull request #6071 from logto-io/gao-org-app-role-apis
feat(core): organization app role apis
2024-06-21 20:00:06 +08:00
Gao Sun
c1ffadeff6
Merge pull request #6067 from logto-io/gao-org-jit-sso
feat(core): organization jit sso apis
2024-06-21 09:54:33 +08:00
Darcy Ye
92f47ef7da
chore: rename legacy pro to grandfathered pro (#6076) 2024-06-20 10:51:07 +00:00
Gao Sun
07da7918e2
feat(core): init organization app role apis 2024-06-20 14:16:55 +08:00
Gao Sun
0d8263682d
feat(core): organization jit sso apis 2024-06-20 11:35:04 +08:00
Gao Sun
5362772f6d
Merge pull request #6064 from logto-io/gao-init-org-app-apis
feat(core): init organization app apis
2024-06-20 09:58:09 +08:00
Gao Sun
6dd2565dca
feat(core): init organization app apis 2024-06-19 22:29:44 +08:00
Darcy Ye
53ada32251
chore(schemas): add legacy-pro tag to reserved plan ID (#6061) 2024-06-19 11:47:48 +00:00
Xiao Yijun
1bdfb4374c
feat(schemas): add agree_to_terms_policy for sie table (#6036) 2024-06-18 21:47:21 +08:00
Gao Sun
d9119b56ec
Merge pull request #6031 from logto-io/gao-google-one-tap-core 2024-06-18 09:59:32 +08:00
Gao Sun
4266ac8c06
Merge pull request #6024 from logto-io/gao-org-jit-roles
feat(core,console): organization jit roles
2024-06-17 11:51:54 +08:00
Gao Sun
b286dd314a
Merge pull request #6003 from logto-io/gao-org-mfa
feat(core,console): organization mfa requirement
2024-06-17 10:44:46 +08:00
Gao Sun
942780fcfa
feat(core): google one tap 2024-06-16 14:31:33 +08:00
Gao Sun
3ea37c5275
feat(core,console): organization jit roles 2024-06-14 14:50:33 +08:00
Gao Sun
752059d6b1
Merge pull request #6002 from logto-io/gao-enable-backchannel-logout
feat(core,console): enable backchannel logout
2024-06-14 11:10:42 +08:00
Gao Sun
136320584f
feat: automatic social account linking (#5881)
* feat: automatic social account linking

* chore: add integration tests

* chore: add changeset
2024-06-08 20:23:57 +08:00
Gao Sun
75ab459c0a
feat(core,console): organization mfa requirement 2024-06-08 14:15:07 +08:00
Gao Sun
f28a083ed0
feat(core,console): enable backchannel logout 2024-06-07 22:12:24 +08:00
Gao Sun
ab4867d310
refactor(core): trigger organization membership updated hook from jit 2024-06-06 18:11:49 +08:00
Gao Sun
d66d8c2286
feat(schemas): init organization email domains table 2024-06-05 22:33:41 +08:00
simeng-li
7a279be1fc
refactor(core,schemas): add user detail payload to User.Deleted webhook event (#5986)
* refactor(core,schemas): add user detail payload to User.Deleted DataHook event

add user detail data payload to the User.Deleted DataHook event

* fix(core): fix unit test

fix unit test
2024-06-04 11:09:27 +00:00
Darcy Ye
0748a22efb
chore(schemas): add reserved plan ID for admin tenant (#5976) 2024-06-03 10:03:29 +00:00
silverhand-bot
0decba0308
release: version packages (#5868) 2024-05-31 23:48:43 +08:00
Gao Sun
e989f08065
refactor: remove service log fkey (#5959) 2024-05-31 18:09:43 +08:00
Xiao Yijun
07fdd8557c
fix: add id generation utils for alteration scripts (#5921) 2024-05-26 20:00:34 +08:00
Xiao Yijun
e200cfe681
fix(schemas): import generateStandardId from correct source (#5920) 2024-05-24 10:45:02 +00:00
Xiao Yijun
25d67f33f3
feat: create pre-configured role with m-api access when seeding db (#5908) 2024-05-23 13:58:41 +08:00
Gao Sun
38811e1099
refactor: remove internal role policies (#5904)
* refactor: remove internal role policies

* refactor: remove unused tests
2024-05-21 21:44:24 +08:00
Gao Sun
e715049bae
refactor: remove TenantInfo type (#5891) 2024-05-17 20:06:09 +08:00
simeng-li
a1091aee20
refactor(core,schemas): move webhook event payload type definition to schemas (#5878)
move webhook event payload type definition to schemas
2024-05-17 16:25:19 +08:00
Gao Sun
76fd33b7ed
feat: default user role (#5872)
* feat: default user role

* chore: add tests and changeset

* refactor: show warning for deprecated env

* chore: fix tests
2024-05-17 16:02:05 +08:00
simeng-li
5e7bee1c8c
refactor(core,schemas,test): rename DataHook data update event name (#5876)
rename the DataHook Schema data update event name
2024-05-16 06:40:59 +00:00
simeng-li
e04d9523a6
feat(console, phrases): update the supported webhook events (#5856)
* test(core): add integration tests

add integration tests for interaction hooks

* chore(test): remove legacy test

remove legacy test

* feat(console, phrases): update the supported webhook events

update the supported webhook events

* refactor(console): rename webhook and webhook log keys

rename webhook and webhook log keys

* fix(test): fix integration test

fix integration test

* feat(console): add devFeature guard

add devFeature guard

* chore: add changeset

add changeset

* chore(console): remove the lint rule disable comment

remove the lint rule disable comment

* fix(test): fix the integartion tests

fix the integration tests

* fix(console): refine the code

refine the code

* chore(console): refine comments

refine comments
2024-05-15 06:26:52 +00:00
silverhand-bot
7b5a4e3fb4
release: version packages (#5684) 2024-05-14 20:27:55 +08:00
simeng-li
f020c5984c
fix(core): add devFeature guard for DataHooks (#5861)
fix(core): add devFeature guard

add devFeature guard
2024-05-14 14:05:52 +08:00
simeng-li
5acd7ef8cb
refactor(core, schemas): update interaction webhook middleware using contextManager (#5834)
* feat(core): update interaction webhook middleware using contextManager
updaet interaction webhook middleware using contextManager

* fix(test): fix ut

fix ut

* refactor(core, schemas): refactor DataHook context structure

refactor DataHook context structure

* fix(core): fix demo-app application not found error

fix demo-app application not found error

* chore(core): update comments

update comments
2024-05-13 16:49:09 +08:00
simeng-li
e7a642028d
feat(schemas): define data hook events (#5828)
* feat(schemas): define data hook events

define data hook events

* fix(schemas,core): fix the type error

fix the type error

* fix(core): fix unit test

fix unit test

* feat(test): add integration tests for DataHooks

add integration tests for DataHooks

* fix(test): fix ut of management api hook middleware
fix ut of the management api hook middleware

* refactor(test,core,schemas): refactor some DataHook definiations

refactor some DataHook definitations

* chore(test): remove upper scope describe wrap

remove upper scope describe wrap

* fix(test): fix tests

fix tests

* refactor(schemas): rename the info.update events

rename the info.update events

* refactor(schemas): rename

rename

* refactor(core,schemas): refactor DataHook code

refactor DataHook code to address some code review comments

* fix(test): fix ut

fix ut

* fix(schemas): update DataHookEventPayload type

update DataHookEventPayload type

* chore(schemas): update comments

update comments
2024-05-13 16:11:50 +08:00
wangsijie
e388c66a2e
chore(core,schemas): remove feature guard of organization api resource (#5743) 2024-05-13 06:26:34 +00:00
Darcy Ye
5872172cbb
feat(core,console): enable custom JWT for OSS and can run script in local vm (#5794) 2024-05-11 22:22:14 +08:00
wangsijie
7244dadf69
feat(core,schemas): update consent info (#5822) 2024-05-09 13:32:31 +08:00
Gao Sun
21bb35b127
feat: init management api hook middleware function (#5783)
* feat: init management api hook middleware function

* refactor: fix type issues

* feat(core): implement auto triggered management api hooks

implement auto triggered managment api hooks

* refactor(console,core,schemas): rename the managementHook to dataHook

rename the managementHooke to dataHook and redefine the types

* feat(core): add dev feature guard

add dev feature guard

* chore: update changeset

update changeset

* refactor(core,console,schemas,shared): update the webhook logics

update the webhook logics. Address some PR review comments

* fix(test): fix integration tests

fix integration tests

* fix(test): remove legacy code

remove legacy code

* refactor(core,schemas): refactor the hook library code

refactor the webhooks library code. address some comments

* fix(core): address rebase issue

update console log using getConsoleLogFromContext

* fix(core): fix ut

fix ut

* fix(core): refactor data webhook code

refactor data webhook codes

* refactor(core): clean up some management api webhook code

clean up some management api webhook code

---------

Co-authored-by: simeng-li <simeng@silverhand.io>
2024-05-09 11:19:01 +08:00
wangsijie
726a65dd8e
feat(core,schemas): add org resource scopes to consent get (#5808) 2024-05-07 16:39:37 +08:00
Gao Sun
5eb5d3a265
chore(deps): upgrade withtyped packages (#5829) 2024-05-07 11:08:10 +08:00
Gao Sun
95682f72a1
chore(deps): upgrade withtyped packages (#5827) 2024-05-06 17:06:37 +08:00
wangsijie
5adf3dfad7
feat(core,schemas): add CRUD for consent organization resource scopes (#5804)
feat(core,schemas): add crud for user consent organization resource scopes
2024-04-30 15:09:13 +08:00
wangsijie
24acae8709
feat(schemas): add table for app org resource scope consent (#5803)
feat(schemas): add table application_user_consent_organization_resource_scopes
2024-04-29 10:48:02 +08:00
Gao Sun
e8c41b1644
feat: support organization custom data (#5785)
* feat: support organization custom data

* chore: update changeset
2024-04-25 14:16:59 +00:00
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