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

1955 commits

Author SHA1 Message Date
simeng-li
b5104d8c19
feat(console,core): remove DataHook devFeature guard (#5898)
* feat(console,core): remove DataHook devFeature guard

remove DataHook devFeature guard

* chore: add changeset

add changeset

* chore: update changesets

update changesets
2024-05-22 11:20:09 +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
e762d64120
refactor(core): report forwarded headers (#5907) 2024-05-21 19:00:00 +08:00
simeng-li
330c6bd6eb
feat(core): update test hook payload (#5883)
update test hook payload to be dynamic based on InteractionHook or DataHook event
2024-05-17 09:40:44 +00:00
simeng-li
88f568f3c5
feat(core): add suctom scopes.updated hook events (#5880)
* feat(core): add suctom scopes.updated hook events

add scopes.updated hook event to role creation api

* chore(core): add dev feature guard

add dev feature gurad

* feat(core): fetch scopes details and return to the hook

fetch scopes details and return to the hook

* refactor(core): mark deprecated body of roles/:id/scopes api

mark deprecated body of roles/:id/scopes api

* fix(test): fix unit test

fix unit test
2024-05-17 17:25:31 +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
renovate[bot]
1b2359be59
chore(deps): update dependency sinon to v18 (#5870)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 16:43:26 +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
5462ab4765
feat(core): trigger user create DataHook event on user registration (#5837)
* feat(core): trigger user data hook event on interaction api call

trigger user data hook event on interaction api call

* chore(core): refine comments

refine comments

* fix(core): fix the interactionHookMiddleware

fix the interactionHookMiddleware

* test(core): add integration tests

add integration tests for interaction hooks

* chore(test): remove legacy test

remove legacy test
2024-05-15 11:17:46 +08:00
silverhand-bot
7b5a4e3fb4
release: version packages (#5684) 2024-05-14 20:27:55 +08:00
wangsijie
5660c54cb5
fix(core): should sign out user after deletion or suspension (#5857)
fixed #5572
2024-05-14 08:10:31 +00:00
wangsijie
1c414f1889
fix(core): fix consent scopes filter rule for non-3rd-party app (#5859) 2024-05-14 15:24:49 +08:00
Gao Sun
304d948511
refactor(core): update first admin user preconditions (#5858) 2024-05-14 14:12:07 +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
wangsijie
062d21764c
chore(core): add custom domain host to app insights (#5852) 2024-05-13 13:04:18 +00: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
wangsijie
0fc9f83b7e
fix(core): filter scopes for 3rd-party app (#5845) 2024-05-13 11:05:30 +08:00
renovate[bot]
b7d950b40c
fix(deps): update dependency @simplewebauthn/server to v10 (#5705)
* fix(deps): update dependency @simplewebauthn/server to v10

* fix(core): update code to support @simplewebauthn/server v10

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2024-05-13 11:05:08 +08: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
Charles Zhao
ff65cfb75b
fix(console): make profile a tenant independent page (#5687)
* fix(console): make profile a tenant independent page

* refactor(console): profile routes

* chore(core): refactor later
2024-05-09 19:16:26 +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
4397ca29ed
refactor(core): optimize init (#5826) 2024-05-06 09:12:36 +00:00
Gao Sun
95682f72a1
chore(deps): upgrade withtyped packages (#5827) 2024-05-06 17:06:37 +08:00
Charles Zhao
b4b8015db5
fix(core): invitee email check should be case insensitive (#5823)
* fix(core): invitee email check should be case insensitive

* chore: add changeset
2024-05-06 10:21:45 +08:00
Gao Sun
ac3575a023
refactor: remove app insights domains from security headers (#5814) 2024-05-01 15:49:30 +00:00
Gao Sun
a9ccfc738d
refactor: implement request id (#5813)
* refactor: implement request id

* refactor: fix tests

* refactor: add unit tests
2024-05-01 15:49:01 +00: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
3486b12e86
fix(core): fix upload file guard (#5810)
fix: remove the plus sign in front of the phone number (#5801)

Co-authored-by: Kamto <kam_to@outlook.com>
2024-04-30 03:40:05 +00:00
simeng-li
bbd399e157
fix(experience,core): fix SSO register hook event not triggering bug (#5796)
* fix(experience,core): fix SSO register hook event not triggering bug

fix the SSO register hook event not triggering bug

* chore: update changeset content

update changeset content
2024-04-28 03:24:15 +00:00
wangsijie
aec6c779b2
fix(core): fix status code of create new user api (#5735) 2024-04-28 11:06:37 +08:00
Darcy Ye
012a2c0e36
Merge pull request #5793 from logto-io/yemq-refactor-jwt-library-methods
refactor(core): move the deploy/undeploy worker methods to jwtCustomizerLibrary
2024-04-26 10:05:06 +08:00
Darcy Ye
d6930f9667
refactor: reorg the implementation 2024-04-25 21:20:19 +08:00
renovate[bot]
61e20940fe
chore(deps): update dependency supertest to v7 (#5791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 11:53:00 +08:00
Gao Sun
3c4971ee25
Merge pull request #5784 from logto-io/gao-update-router-name
refactor(core): update `AuthedRouter` -> `ManagementApiRouter`
2024-04-25 11:51:55 +08:00
Xiao Yijun
f9c7a72d51
feat(connector): support client_secret_basic and client_secret_jwt methods for oauth2 connectors (#5762) 2024-04-24 13:51:41 +08:00
Gao Sun
f0a01a73be
refactor(core): update AuthedRouter -> ManagementApiRouter 2024-04-24 12:41:34 +08:00
Charles Zhao
ead2abde65
fix(core): bump oidc-provider to fix resource indicator check (#5782)
* fix(core): bump oidc-provider to fix resource indicator check

* chore: add changeset
2024-04-24 09:51:56 +08:00
Darcy Ye
61a2422601
chore(console,core): remove custom JWT dev feature guard (#5775) 2024-04-23 18:53:45 +08:00
Charles Zhao
b575f57ac3
feat(core): support comma separated resource param (#5773) 2024-04-23 15:11:39 +08:00
Charles Zhao
30aec5dd5f
chore(core): fix typo in code comments (#5772) 2024-04-23 10:14:37 +08:00
Darcy Ye
e035377b83
chore: update util function interface and update comments 2024-04-19 00:32:11 +08:00
Darcy Ye
801eae87d2
chore: apply suggestions from code review
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-18 22:40:45 +08:00
Darcy Ye
2e103f513e
fix(core): update cloud dependency, cloud client calls 2024-04-18 22:40:42 +08: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