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

2059 commits

Author SHA1 Message Date
Gao Sun
32270d1d7e
Merge pull request #6065 from logto-io/gao-reorg-org-api-docs
refactor(core): reorg organization users api docs
2024-06-20 10:12:29 +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
e83e94f822
Merge pull request #6055 from logto-io/gao-refactor-relation-queries
refactor(core): update relation queries
2024-06-20 09:57:25 +08:00
Gao Sun
4d879fc358
refactor(core): reorg organization users api docs 2024-06-19 22:29:59 +08:00
Gao Sun
6dd2565dca
feat(core): init organization app apis 2024-06-19 22:29:44 +08:00
Gao Sun
97efe1e734
refactor: fix google one tap issues (#6054) 2024-06-19 14:24:19 +08:00
Gao Sun
b543356bb3
refactor(core): update relation queries 2024-06-19 14:21:15 +08:00
Gao Sun
71ba7c4cc6
feat(core): jit organization roles (#6049) 2024-06-19 11:07:45 +08:00
Xiao Yijun
1bdfb4374c
feat(schemas): add agree_to_terms_policy for sie table (#6036) 2024-06-18 21:47:21 +08:00
simeng-li
d210f4f2e4
test(core): implement sso related integration tests (#6041)
* test(core): implement sso related integration tests

implement sso related integration tests

* chore(core): remove unnecessary comments

remove unnecessary comments
2024-06-18 02:16:27 +00: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
4118669c91
Merge pull request #6027 from logto-io/gao-update-changeset
chore: update changeset
2024-06-17 11:53:21 +08:00
Gao Sun
59fe21aec7
Merge pull request #6026 from logto-io/gao-org-jit-roles-tests
refactor: add organization jit role api tests
2024-06-17 11:52:40 +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
552a3e59db
chore: add tests 2024-06-16 22:02:13 +08:00
Gao Sun
942780fcfa
feat(core): google one tap 2024-06-16 14:31:33 +08:00
Gao Sun
320b720c46
refactor: rename method 2024-06-15 11:22:06 +08:00
Gao Sun
aefe5cbacb
chore: update changeset 2024-06-14 22:54:32 +08:00
Gao Sun
b25bca3aa2
refactor: add organization jit role api tests 2024-06-14 22:44:03 +08:00
Gao Sun
7d6e8dcf9a
Merge pull request #5999 from logto-io/gao-remove-dev-features-guard
chore(console,core): launch organization jit
2024-06-14 14:58:57 +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
8306cc4263
Merge pull request #5998 from logto-io/gao-console-jit
feat(console): implement organization jit ui
2024-06-14 10:55:34 +08:00
simeng-li
930f23e363
fix(core): prevent uncaught promise rejection (#6009)
* fix(core): prevent uncaught promise rejection

prevent uncaught promise rejection crashing the app

* refactor(core): remove inline await

remove inline await statement

* chore(core): update comment

update comment
2024-06-12 07:05:42 +00: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
efa884c409
chore(console,core): launch organization jit 2024-06-08 10:22:38 +08:00
Gao Sun
f28a083ed0
feat(core,console): enable backchannel logout 2024-06-07 22:12:24 +08:00
Gao Sun
fc1699631c
feat(console): implement organization jit ui 2024-06-07 15:00:06 +08:00
Gao Sun
afb1091603
refactor: fix tests 2024-06-06 19:09:40 +08:00
Gao Sun
ab4867d310
refactor(core): trigger organization membership updated hook from jit 2024-06-06 18:11:49 +08:00
Gao Sun
d4cb91e6c9
feat(core): implement organization jit provisioning 2024-06-06 14:30:29 +08:00
Gao Sun
be9d94d4fd
refactor: fix tests 2024-06-06 14:30:05 +08:00
Gao Sun
f6dbb0aad1
chore: add api docs 2024-06-06 13:37:43 +08:00
Gao Sun
b85ecb6c93
feat(core): organization email domains apis 2024-06-06 10:33:33 +08:00
Gao Sun
ce911309da
refactor(core): reorg organization queries 2024-06-05 18:25:18 +08:00
Gao Sun
ec6f1d39d8
refactor(core): reorg organization routes 2024-06-05 18:17:39 +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
Gao Sun
8669149a08
refactor(core): optimize redis error handling (#5965) 2024-06-04 09:46:35 +08:00
Gao Sun
123ecaec47
refactor(core): try to fix uncaught exception (#5982) 2024-06-03 12:26:01 +00:00
simeng-li
a495ab00ba
feat(core): report oidc exceptions to the appInsights (#5978)
report oidc exceptions to the appInsights
2024-06-03 18:58:56 +08:00
Charles Zhao
14515f2c44
fix(core): profile avatar upload should not return 400 error (#5974) 2024-06-03 17:45:42 +08:00
renovate[bot]
914555e683
chore(deps): update dependency @logto/cloud to v0.2.5-a7eedce (#5847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 04:16:04 +00:00
silverhand-bot
0decba0308
release: version packages (#5868) 2024-05-31 23:48:43 +08:00
Gao Sun
a0b19513bb
feat(console): show version number for oss (#5950) 2024-05-31 18:05:20 +08:00
simeng-li
0c70d65c7b
feat(core,toolkit): add new sso_identities claim (#5955)
* feat(core,toolkit): add new sso_identities claim

add new sso_identities claim to the userinfo endpoint

* chore: update changeset

update changeset

* chore: update comments

update comments

* refactor(core): use findUserSsoIdentites query method in user library

use findUserSsoIdentites query method in user library
2024-05-31 06:31:26 +00:00
Gao Sun
3927e6644c
refactor: update naming (#5951)
replace all "mainFlow" with "experience"
2024-05-31 03:40:40 +00:00
Charles Zhao
4b75860233
docs(core): remove pagination from get organization invitation api docs (#5934) 2024-05-30 10:30:22 +08:00
Charles Zhao
558986d28d
fix(core,console): update invalid documentation links in console and core (#5937)
fix(core,console): update invalid documentation links in console and core cli
2024-05-30 10:17:42 +08:00
simeng-li
458746c9ac
fix(core): fix azure oidc sso connector authorization error (#5912)
* fix(core): fix azure oidc sso connector authorization error

fix azure oidc sso connector authorization error

* chore: add changeset

add changeset

* chore: update changeset

update changeset

* fix(core): dynamicly verify multi-tenant azure oidc issuer

dynamicly verify multi-tenant azure oidc issuer
2024-05-29 13:30:56 +08:00
Gao Sun
c7aba27dac
refactor(core): use jwks response from oidc for admin tenant keys (#5935) 2024-05-29 13:27:14 +08:00
Gao Sun
06ac416750
chore(deps): upgrade @logto/cloud 2024-05-28 19:02:46 +08:00
Gao Sun
f7e1176554
chore(deps): upgrade @logto/cloud 2024-05-28 16:13:44 +08:00
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