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

1145 commits

Author SHA1 Message Date
Darcy Ye
2c3b7bff26
feat(core): add POST API for handling IdP SAML assertion (#2961) 2023-01-29 14:12:27 +08:00
Gao Sun
de4b0bae16
refactor: add function and trigger to set tenant_id 2023-01-28 19:26:29 +08:00
Gao Sun
52c2222f4a
test(core): fix unit tests 2023-01-28 14:43:20 +08:00
Gao Sun
b07252f9b2
refactor: fix build 2023-01-28 13:05:45 +08:00
wangsijie
65f7f895fb
fix(core): scope name cannot contain any spaces (#3007) 2023-01-20 18:12:57 +08:00
wangsijie
3e34c51cca
refactor!: remove user roleNames (#2990) 2023-01-20 16:51:29 +08:00
wangsijie
6b5eb4a0e6
refactor(core): update role in authn route for Hasura (#2944) 2023-01-20 16:14:41 +08:00
Darcy Ye
0e06a1cf4f
feat: update GetAuthorizationUri, ConnectorSession and social connector member methods (#2922) 2023-01-20 10:13:48 +08:00
Gao Sun
95a44929a5
feat: init multi-tenancy environment (#2929) 2023-01-18 20:38:05 +08:00
simeng-li
4944062f1f
feat(core,ui): display registered social identity message on continue (#2974) 2023-01-18 07:58:30 +00:00
wangsijie
ece866db7c
feat!: migrate application role names to RBAC (#2972) 2023-01-18 15:38:36 +08:00
simeng-li
ff2abdceeb
refactor(core,ui): refactor social sign-in flow (#2958) 2023-01-18 14:11:22 +08:00
Gao Sun
d868e6ee49
feat(cli): rollback command for alteration (#2975) 2023-01-18 05:12:57 +00:00
wangsijie
39bc1a82f1
feat(core): get all scopes for a role (#2967) 2023-01-17 05:05:07 +00:00
wangsijie
448599e8d4
fix(core): fix roles count (#2963) 2023-01-17 11:56:26 +08:00
wangsijie
2722704a2d
fix(core): fix scope resource finder (#2962) 2023-01-17 11:56:18 +08:00
simeng-li
ace9a01327
refactor(core,ui,schemas)!: refactor social identity verification payload (#2924) 2023-01-16 18:15:31 +08:00
wangsijie
9ed66a8593
feat(console,core)!: use rbac scope to control management resource (#2942) 2023-01-16 15:11:40 +08:00
Gao Sun
8624fc8e62
Merge pull request #2913 from logto-io/gao-log-5162-core-remove-deprecated-database-query
refactor: remove deprecated singleton instances
2023-01-12 23:08:59 +08:00
wangsijie
f66fad07b9
fix(core): fix getResourceServerInfo userId (#2919) 2023-01-12 20:50:23 +08:00
wangsijie
849c7fb784
feat(core): add pagination and search to user roles api (#2923) 2023-01-12 09:40:45 +00:00
wangsijie
900b87b9a5
feat(core): add pagination and search to role users (#2927) 2023-01-12 09:28:23 +00:00
wangsijie
6d874d5250
feat(core): add search and pagination to role scopes (#2925) 2023-01-12 16:56:29 +08:00
Gao Sun
80350b5e05
refactor(core): fix env set load order 2023-01-12 16:37:21 +08:00
Gao Sun
f317a917c9
refactor: remove deprecated singleton instances 2023-01-12 16:34:06 +08:00
wangsijie
91a5c64e04
feat(core): implement oidc getResourceServerInfo (#2875) 2023-01-12 03:49:40 +00:00
Charles Zhao
10ea2307ad
feat(core): add send and verify APIs for generic type verification code (#2849) 2023-01-12 03:44:07 +00:00
Gao Sun
a5467e265b
Merge pull request #2907 from logto-io/gao-log-5161-core-remove-deprecated-query-functions
refactor(core): remove deprecated query functions
2023-01-11 21:58:36 +08:00
wangsijie
175516a711
test: add integration tests for roles (#2900) 2023-01-11 08:36:31 +00:00
wangsijie
fe14f0563c
test: add it for admin-user roles (#2881) 2023-01-11 15:34:39 +08:00
Gao Sun
a4e2484087
refactor(core): move findUsersByRoleName() to library 2023-01-11 13:44:15 +08:00
Gao Sun
e55ff3d185
refactor(core): remove deprecated query functions 2023-01-11 13:36:35 +08:00
Gao Sun
3f47695726
ci: increase node mem. size for test 2023-01-10 23:15:04 +08:00
Gao Sun
338b0ed63f
refactor(core): remove deprecated library functions 2023-01-10 19:48:48 +08:00
Gao Sun
6abdd05a40
refactor(core): migrate passcode library to factory mode 2023-01-10 18:28:19 +08:00
Gao Sun
9bec890e6f
refactor(core): migrate social library to factory mode 2023-01-10 18:05:28 +08:00
Charles Zhao
1b998b7e62
refactor(core,ui): remove identity profile related apis and pages (#2897) 2023-01-10 17:41:28 +08:00
wangsijie
5d862f617f
feat(core): list roles filter by userId (#2893) 2023-01-10 17:04:27 +08:00
Gao Sun
7df71dee2f
ci: set max worker to 75% 2023-01-10 14:42:47 +08:00
Gao Sun
9ba0d495e6
refactor(core): migrate hook library to factory mode 2023-01-10 14:41:38 +08:00
Gao Sun
5beb7aa5ce
Merge pull request #2887 from logto-io/gao-log-5128-core-library-factory-resource
refactor(core): migrate resource library to factory mode
2023-01-10 14:38:04 +08:00
Gao Sun
e32c319a22
ci: limit max workers for core test 2023-01-10 14:31:20 +08:00
simeng-li
3ff6554c08
refactor(core,console,schemas): remove logDto (#2889) 2023-01-10 05:57:24 +00:00
simeng-li
39f15acb40
refactor(core): remove session api (#2878) 2023-01-10 05:49:00 +00:00
wangsijie
8b8103132e
fix(core): fix findUsersByIds for empty ids case (#2892) 2023-01-10 05:39:15 +00:00
Gao Sun
0442efeb60
refactor(core): migrate resource library to factory mode 2023-01-10 13:33:47 +08:00
Gao Sun
f7c08332a1
Merge pull request #2886 from logto-io/gao-log-5127-core-library-factory-phrase
refactor(core): migrate phrase library to factory mode
2023-01-10 13:29:40 +08:00
Gao Sun
76bd2bc7d0
Merge pull request #2885 from logto-io/gao-log-5125-core-library-factory-logto-config
refactor(core): migrate logto config library to factory mode
2023-01-10 13:27:31 +08:00
Gao Sun
0cc3818317
Merge pull request #2884 from logto-io/gao-log-5123-core-library-factory-connector
refactor(core): migrate connector library to factory mode
2023-01-10 13:26:49 +08:00
Gao Sun
131e1d79f7
Merge pull request #2879 from logto-io/gao-reorg-connector-files
refactor(core): reorg connector files
2023-01-10 13:21:26 +08:00
Gao Sun
048981cf27
Merge pull request #2870 from logto-io/gao-log-5122-core-library-factory-sie
refactor(core): migrate sie library to factory mode
2023-01-10 13:20:35 +08:00
wangsijie
34aab882c3
feat(core): scope name within the same resource should be unique (#2861) 2023-01-10 05:15:48 +00:00
simeng-li
60e78656f9
refactor(core,ui,test): migrate consent api to interaction (#2873) 2023-01-10 11:59:24 +08:00
wangsijie
14680cc556
feat(core): hide admin console role (#2872) 2023-01-10 03:46:41 +00:00
Gao Sun
1102e70226
refactor(core): migrate phrase library to factory mode 2023-01-10 00:28:41 +08:00
Gao Sun
836f3c101d
refactor(core): migrate logto config library to factory mode 2023-01-10 00:03:06 +08:00
Gao Sun
3b3b35b883
refactor(core): migrate connector library to factory mode 2023-01-09 23:53:33 +08:00
Gao Sun
a47671eb94
refactor(core): reorg connector files 2023-01-09 19:33:06 +08:00
Gao Sun
d67de1b181
Merge pull request #2867 from logto-io/gao-log-5121-core-library-factory-user
refactor(core): migrate user library to factory mode
2023-01-09 19:14:06 +08:00
renovate[bot]
db2b5feb61
chore(deps): remove dependency @types/fs-extra (#2868)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-01-09 10:06:51 +00:00
Gao Sun
080a6385c8
refactor: support EC key and ES signing algorithms (#2847) 2023-01-09 09:34:13 +00:00
Gao Sun
ecbf028f4e
refactor(core): migrate sie library to factory mode 2023-01-09 17:23:09 +08:00
Gao Sun
8561b6bc43
refactor(core): migrate user library to factory mode 2023-01-09 17:21:27 +08:00
Gao Sun
3c4aeec30a
refactor(core): upgrade oidc-provider to 8.0.0 (#2851) 2023-01-09 09:20:15 +00:00
Gao Sun
26f8511f93
refactor(core): use tenant context for route inits 2023-01-09 16:58:02 +08:00
Gao Sun
a68b34971a
refactor(core): users and users roles query factories 2023-01-09 16:43:09 +08:00
Gao Sun
4b21b7d16e
refactor(core): multiple query factories (#2857) 2023-01-09 08:32:35 +00:00
Gao Sun
be57e7e1af
refactor(core): custom phrase and log query factories (#2856) 2023-01-09 08:02:15 +00:00
Gao Sun
c5729e7a2d
refactor(core): connector query factory (#2854) 2023-01-09 07:48:57 +00:00
Gao Sun
8f809da308
refactor(core,cli): application query factory (#2853) 2023-01-09 15:29:01 +08:00
Gao Sun
1654322ead
Merge pull request #2852 from logto-io/gao-log-5095-property-tenant-app
refactor(core): move app to tenant instance
2023-01-09 14:53:13 +08:00
Gao Sun
981a25fb1c
Merge pull request #2850 from logto-io/gao-log-5092-class-envset
refactor(core,shared): `EnvSet` class
2023-01-09 14:50:51 +08:00
wangsijie
2eb1cbbe10
feat(core): filter users by exclude role id (#2846) 2023-01-09 13:12:43 +08:00
wangsijie
225ccfed0a
feat(core): count role users and featured users (#2866) 2023-01-09 13:03:28 +08:00
wangsijie
8b179c0567
feat(core): set roles pagination to optional (#2865) 2023-01-09 12:02:47 +08:00
simeng-li
94ed1852b0
refactor(core,ui,schemas,test)!: replace passcode with verification code (#2833) 2023-01-09 09:55:34 +08:00
wangsijie
364e51d755
feat(core): set resources pagination to optional (#2845) 2023-01-08 20:35:10 +08:00
wangsijie
0501ccc5ca
feat(core): add search and optional pagination to scopes (#2840) 2023-01-08 20:24:16 +08:00
wangsijie
67b1885b12
feat(core): add search and pagination for roles (#2836) 2023-01-08 20:16:40 +08:00
Gao Sun
de15b03c68
refactor(core): fix test 2023-01-07 21:06:17 +08:00
Gao Sun
6e2951fafc
chore!: drop Node 16 (#2848) 2023-01-07 20:42:10 +08:00
Gao Sun
8d829b8f3d
refactor(core): move app to tenant instance 2023-01-07 18:17:43 +08:00
Gao Sun
954664bd28
refactor(core,shared): EnvSet class 2023-01-07 17:22:15 +08:00
wangsijie
751f8dffcf
feat(core): add resource to response scopes (#2843) 2023-01-07 04:19:09 +00:00
wangsijie
bde1cbcc9d
fix(core): prevent empty array to be used by sql in (#2844) 2023-01-07 12:13:13 +08:00
wangsijie
7e507dbc2b
feat(core): user-role related api (#2827) 2023-01-07 12:08:03 +08:00
wangsijie
6e8e3003f8
fix(core): fix typo (#2842) 2023-01-07 12:07:35 +08:00
Gao Sun
da2b8cdbfe
chore!: drop Node 16 2023-01-06 22:24:39 +08:00
simeng-li
4af325af03
refactor(core,ui,schemas): replace sms sign-in method with phone (#2825) 2023-01-06 17:43:28 +08:00
Gao Sun
27c0cade79
Merge pull request #2837 from logto-io/v1.0.0-beta.19
chore: merge back v1.0.0 beta.19
2023-01-06 17:01:19 +08:00
Gao Sun
4d9d16661d
release: version core packages 2023-01-06 16:48:18 +08:00
wangsijie
f371a61460
feat(core): role-scope api (#2826) 2023-01-06 15:37:00 +08:00
wangsijie
e73d606053
fix(core): return role names for admin user detail api (#2828) 2023-01-06 14:44:00 +08:00
wangsijie
cb03d64e12
feat(core): list resources with scopes (#2819) 2023-01-05 07:43:01 +00:00
wangsijie
cf900d4aef
feat(core): resource scopes crud (#2757) 2023-01-05 15:24:24 +08:00
wangsijie
9b5dbeea34
feat(core): roles crud (#2672) 2023-01-04 17:02:08 +08:00
wangsijie
e38cd36579
feat(toolkit): define optional keys for connector.getUserInfo (#2716) 2023-01-04 07:43:54 +00:00
wangsijie
61f4e7fd2d
feat: add users_roles table and remove role_names (#2525) 2023-01-04 15:39:27 +08:00
simeng-li
46ebdfe502
fix(demo-app): demo app notificaiton should always follow system language (#2814) 2023-01-04 10:33:09 +08:00
Gao Sun
db71cc11ac
refactor: connector loader (#2809) 2023-01-03 15:41:29 +08:00
silverhand-bot
9c1b3d77aa
release: version core packages (#2803) 2023-01-01 19:55:54 +08:00
Gao Sun
ab54c38cd5
refactor(core): check connector-kit compatibility when load connector (#2798) 2023-01-01 18:36:46 +08:00
simeng-li
5189f6ab9f
feat(core): add interaction api logs (#2794) 2022-12-31 18:18:35 +08:00
simeng-li
d8deb0285f
fix(core): register with social should not ask for password (#2793) 2022-12-31 09:30:07 +08:00
Charles Zhao
95ef24a92b
chore: update testing passcode (#2796) 2022-12-30 15:29:43 +00:00
simeng-li
db07e70740
refactor(core): refactor interaction identifier verification flow (#2790) 2022-12-30 10:26:38 +00:00
wangsijie
fc6b7cfe2b
Merge pull request #2787 from logto-io/sijie-log-4995-standard-connector-name
fix(console): display standard connector name
2022-12-30 17:37:41 +08:00
Darcy Ye
396dce8c3d
feat: pass user agent to connector (#2770) 2022-12-30 16:05:32 +08:00
wangsijie
012e4d5b24
fix(console): display standard connector name 2022-12-30 15:41:25 +08:00
simeng-li
fc456f4851
fix(ui): forgotpassword passcode verification page 404 (#2752) 2022-12-29 09:12:33 +08:00
simeng-li
be2c65dc0c
refactor(ui): replace social flow api (#2751) 2022-12-28 18:24:58 +08:00
simeng-li
e02f7e5ac2
refactor(ui): replace continue api with patchProfile (#2744) 2022-12-28 15:33:31 +08:00
Gao Sun
06ec86d831
refactor: rename MessageTypes -> VerificationCodeType (#2745) 2022-12-28 06:28:46 +00:00
simeng-li
d641e201c2
refactor(core): remove the event from sendPasscode API payload (#2742) 2022-12-28 03:53:13 +00:00
Darcy Ye
1f7efd3680
chore(phrases,core): change 'passcode' to 'verification code' in content (#2740) 2022-12-28 10:29:28 +08:00
simeng-li
a3a861c9cd
refactor(ui): refactor username password register flow (#2731) 2022-12-28 10:26:06 +08:00
Gao Sun
16c295c677
Merge pull request #2739 from logto-io/gao-align-message-type
refactor!: align `PasscodeType` to `MessageTypes`
2022-12-27 22:28:16 +08:00
Darcy Ye
45800d1cfe
fix(core): should block POST of non-standard social connectors with conflicting target (#2737) 2022-12-27 16:23:54 +08:00
Gao Sun
01f718b258
refactor!: align PasscodeType to MessageTypes
refactor: apply suggestions from code review

Co-authored-by: Darcy Ye <darcyye@silverhand.io>

refactor(core): fix type names
2022-12-27 15:29:06 +08:00
simeng-li
54b0574e18
feat(test): add fulfill user profile integration tests (#2710) 2022-12-27 10:29:01 +08:00
renovate[bot]
e5dc687ee8
chore(deps): update dependency @silverhand/essentials to v2.1.0 (#2732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 20:13:05 +08:00
Gao Sun
3a996cc9d9
refactor: fix esm mock context (#2725) 2022-12-26 12:12:19 +00:00
Gao Sun
84014b37d2
refactor: add and fix tests 2022-12-26 19:59:33 +08:00
Gao Sun
f993da8795
test: add integration tests for interaction hooks 2022-12-26 19:44:03 +08:00
Gao Sun
5825620b9b
refactor: rename interaction Event -> InteractionEvent (#2718) 2022-12-26 11:22:56 +00:00
simeng-li
baaa58ca0b
refactor(core): per review
add the missing file

refactor: remove unused code

fix(core): rename interactionSie middleware

rename interactionSie middleware

fix(core): update context type name

update context type name

refactor: per review
2022-12-26 19:14:24 +08:00
simeng-li
f8000fe18d
refactor(core): rebase and update interaction hooks middleware
rebase and update interaction hooks middleware
2022-12-26 10:28:46 +08:00
Gao Sun
8745886aa0
refactor: add unit tests 2022-12-26 10:26:25 +08:00
Gao Sun
a6342213a9
refactor: cleanup 2022-12-26 10:26:25 +08:00
Gao Sun
464a4a9133
feat: trigger interaction hooks 2022-12-26 10:26:25 +08:00
Darcy Ye
8c5ccac59f
refactor(core): refactor createSocialAuthorizationUrl and verifySocialIdentity (#2707)
Co-authored-by: simeng-li <simeng@silverhand.io>
2022-12-26 10:23:40 +08:00
Darcy Ye
1b709db854
refactor: move assign/get connector session to interaction path (#2706)
Co-authored-by: simeng-li <simeng@silverhand.io>
2022-12-26 10:06:39 +08:00
renovate[bot]
c5025fc70b
chore(deps): update dependency @silverhand/essentials to v2.0.0 (#2723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-25 13:52:55 +08:00
Gao Sun
c52a66a32d
refactor: remove lodash (#2715) 2022-12-23 15:19:49 +00:00
simeng-li
15c7c1605a
refactor(core): refactor interaction API (#2686) 2022-12-23 10:01:08 +08:00
Gao Sun
df6eb9e942
chore(deps): upgrade prettier to v2.8.1 (#2709) 2022-12-22 16:52:39 +08:00
Darcy Ye
87ebd057ea
chore: response of connector POST API should be ConnectorResponse (#2699) 2022-12-22 14:02:15 +08:00
Gao Sun
f50509dfab
Merge pull request #2683 from logto-io/gao-log-4632-core-init-hooks-schemas
feat: hooks schema and APIs
2022-12-22 13:11:29 +08:00
Darcy Ye
07f870d774
chore: should clear connector session after getSession() (#2693) 2022-12-21 15:15:11 +08:00
Gao Sun
caa75422ad
Merge pull request #2681 from logto-io/gao-refactor-log-types-2
refactor: log types 2
2022-12-21 11:01:52 +08:00
Gao Sun
cc18103419
refactor: remove fs-extra (#2695) 2022-12-20 12:31:53 +00:00
Gao Sun
cb159ac8bb
Merge pull request #2685 from logto-io/gao-refactor-schemas-export
refactor: schema export and id generator
2022-12-20 18:08:13 +08:00
Darcy Ye
ecb7f80826
chore: add social sign-in validation reference to interaction (#2658) 2022-12-20 07:05:54 +00:00
Gao Sun
27c80f7d56
refactor(core): fix log 2022-12-20 14:00:03 +08:00
Gao Sun
c24a57f2c4
refactor: update log types in database and console 2022-12-20 13:47:12 +08:00
Gao Sun
a023fe97e5
refactor: add alteration and integration test 2022-12-20 13:02:40 +08:00
Gao Sun
92b18c7e3c
feat: hooks schema and APIs 2022-12-20 12:14:15 +08:00
Gao Sun
0f2548e0c4
refactor: fix build errors 2022-12-20 10:25:47 +08:00
Gao Sun
3a3a107811
refactor: schema export and id generator 2022-12-20 00:02:35 +08:00
Gao Sun
2496b57fef
refactor: minor improvements 2022-12-18 12:11:00 +08:00