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

1320 commits

Author SHA1 Message Date
Xiao Yijun
51f61b455a
feat(core): support pagination for GET /hooks api (#3904) 2023-05-29 11:43:08 +08:00
Xiao Yijun
79daf253a8
feat(core): add message id for the webhook payload (#3913) 2023-05-29 03:37:00 +00:00
wangsijie
0edd549365
feat(core): add domain routes (#3892) 2023-05-29 11:27:23 +08:00
Darcy Ye
8cbf87bb73
feat(schemas,cli,core,cloud): add manage tenant self scope (#3865) 2023-05-26 17:38:09 +08:00
Xiao Yijun
d3d63b1562
feat(core): test webhook (#3889) 2023-05-25 12:16:29 +08:00
Xiao Yijun
166c6f7da0
feat(core): get hook execution stats (#3882) 2023-05-24 08:28:39 +08:00
Gao Sun
02eee1956f
Merge pull request #3879 from logto-io/gao-feature-updates-for-openai-plugins
feat: updates for openai plugins
2023-05-23 22:55:47 +08:00
Gao Sun
4f1e29aefc
release: version packages 2023-05-23 21:42:01 +08:00
Xiao Yijun
0c79437ba4
feat(core): sign hook payload data (#3854) 2023-05-23 18:02:17 +08:00
simeng-li
adbed8e47d
refactor(core): sync social email and phone for new registered user
sync social verified email and phone for new registered user
2023-05-22 22:09:18 +08:00
Gao Sun
92625e5019
refactor(core): parse application/json in /oidc routes 2023-05-22 21:00:51 +08:00
Xiao Yijun
b92508db3a
feat(core,schemas): support get hook recent logs (#3859) 2023-05-22 19:01:54 +08:00
Gao Sun
852bc7b274
feat: add alwaysIssueRefreshToken for web apps 2023-05-22 17:11:09 +08:00
Xiao Yijun
9423b273b6
refactor: update webhook API (#3819) 2023-05-19 16:48:05 +08:00
Gao Sun
08a578b4d1
Merge pull request #3858 from logto-io/sijie-pkce-require
refactor: disable pkce requirement for traditional app
2023-05-18 23:25:03 +08:00
Gao Sun
dc41d5d3dc
release: version packages 2023-05-18 22:26:11 +08:00
wangsijie
5a59cd38e5
feat: disable pkce requirement for traditional app 2023-05-18 22:21:23 +08:00
Gao Sun
7a3be91e35
fix: use only necessary domains in CSP (#3864) 2023-05-18 10:12:31 +00:00
simeng-li
ac65c8de4a
refactor(core): remove the reportOnly flag (#3849)
* refactor(core): remove the reportOnly flag

remove all the reportOnly flag of the CSP security headers. Bring up strict policy check

* chore: add changeset

add changeset
2023-05-17 14:00:01 +08:00
Charles Zhao
1cd854a63c
chore(core): add response guard for user roles APIs (#3773)
refactor(core): add response and status guards to admin user role APIs
2023-05-17 11:50:53 +08:00
silverhand-bot
404fe9a03f
release: version packages (#3794) 2023-05-16 04:52:17 +00:00
Charles Zhao
0023dfe38a
feat(core): add management APIs to help with linking social identities to user (#3821)
* feat(core): add management APIs to help with linking social identities to user

* chore: add changeset

* test: add integration tests

* chore: improve wording

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

* chore: improve wording

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

* refactor: return user identities after update

* chore: rename test filename

* chore: add code annotation

---------

Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2023-05-15 19:25:50 +08:00
Gao Sun
176e70190f
refactor(core): add guards for authn routes (#3843) 2023-05-15 07:47:53 +00:00
simeng-li
e62b0bae5e
feat(core): add 401,403 status guard to all management api routes (#3831)
add 401,403 status guard to all management api routes
2023-05-15 15:36:23 +08:00
simeng-li
beb6ebad50
test(core): update the resource response guard and integration tests (#3824)
* test(core): update the resouce response guard and integration tests

update the resource response guard and integration tests

* fix(test): fix test

fix resource test

* fix(schemas): add non-empty string type guard (#3826)

* fix(schemas): add non-empty zod guard to the string typed schema field

add non-empty zod guard to the string typed schema field

* fix(schemas): comment out non-empty string guard

comment our non-empty string guard for now

* chore: add change set

add change set

* fix(schemas): remove the guard if has default value
remove the guard if has default value

* refactor(core): replace zod merge using zod extend

replace zod merge using zod extend
2023-05-15 15:12:15 +08:00
Xiao Yijun
af02321ba2
fix(core): compatibility for retries field in HookConfig (#3834) 2023-05-15 11:41:46 +08:00
wangsijie
ce5377d729
test(core): add integration test for application isAdmin (#3829) 2023-05-15 10:25:02 +08:00
Darcy Ye
7598ddefd7
chore(core): update custom phrase PUT API response status (#3830) 2023-05-13 00:23:00 +08:00
Xiao Yijun
59a6ad3b7d
test(core): add api response guard and error case tests for verification code (#3825) 2023-05-12 17:17:51 +08:00
Xiao Yijun
8fc5b78def
refactor(schemas): update hook schema (#3788) 2023-05-09 09:25:45 +08:00
wangsijie
97363e01dc
test(core): add api response guard and error case tests to log api (#3807) 2023-05-08 03:00:58 +00:00
Darcy Ye
520e0c3df3
chore(core,test): add status code guard for SIE, custom phrase and config APIs (#3813) 2023-05-08 10:43:57 +08:00
Charles Zhao
0e46ddacca
chore: add response guard and integration tests for application APIs (#3771) 2023-05-06 04:05:50 +00:00
Charles Zhao
d2e6e1fd5b
fix(core): use correct status code for slonik errors (#3812) 2023-05-06 10:17:25 +08:00
wangsijie
8baf8e5be6
test(core): add api response guard and error case tests to admin user (#3809)
test(core): add api response guard and error case tests to admin user api
2023-05-05 21:21:09 +08:00
wangsijie
5875d4cb3b
test(core): add api response guard and error case tests to connector api (#3806) 2023-05-05 21:20:58 +08:00
simeng-li
fafe27f87a
test(core): add exception cases for role api and scope api (#3802)
* feat(core): add roles api guard

add roles api guard

* feat(core): add scope api response guard

add scope api response guard

* test(core): add exception cases for role api integration tests

add exception cases for role api integration tests

* fix(console): fix lint error

fix lint error

* fix(core): remove guard status code

remove guard status code

* fix(core): resolve comments

resolve comments

* fix(core): remove useless 401,403 code guard

remove useless 401,403 code guard

* fix(core): fix swagger 422 guard error

fix swagger 422 guard error
2023-05-05 16:18:27 +08:00
Charles Zhao
9200169f80
chore: add response guard and integration test for .well-known api (#3769) 2023-05-05 15:07:26 +08:00
wangsijie
e57fc80bd4
fix(core): fix unpaginated scopes response (#3810) 2023-05-05 11:43:33 +08:00
simeng-li
f20f65407f
fix(core): add duplicate resource indicator error guard (#3797)
* fix(core): add duplicate resource indicator error guard

add duplicate resource indicator error guard

* fix(core): omit resource indicator from patch api

omit resource indicator from patch api

* fix(test): fix ut

fix ut
2023-05-04 15:33:13 +08:00
Gao Sun
1642df7e1c
refactor(core): add response schemas to swagger.json API (#3801) 2023-05-04 12:35:55 +08:00
Darcy Ye
5f4a323d26
chore(core): remove legacy commented code (#3804) 2023-05-04 10:42:16 +08:00
simeng-li
5c0ed8e79e
test(core): add api response guard and error case tests to dashboard api (#3789)
* test(core): add dashboard api response guard

add dashboard api response guard

* test(core): add dashboard integration tests

add dashboard integration tests
2023-05-02 20:58:48 +08:00
renovate[bot]
f4f8224ff9
chore(deps): update dependency http-errors to ^2.0.0 (#3785)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-29 12:57:21 +00:00
renovate[bot]
13d9acdb8b
fix(deps): update dependency lru-cache to v9 (#3686)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-29 12:10:05 +00:00
Gao Sun
5a8442712f
refactor: update tracking components (#3792)
* refactor: update tracking components

* refactor: track once for the same session
2023-04-29 12:02:52 +08:00
Darcy Ye
6e5b48bdcb
chore(schemas,test,core): add IT to ensure mock connectors are installed (#3762) 2023-04-28 15:42:43 +08:00
Darcy Ye
7c2af46cf6
chore(test): complete custom phrase API guard and add ITs (#3772) 2023-04-28 03:41:00 +00:00
Darcy Ye
64a01f18d8
chore(test): add SIE API guard (#3774) 2023-04-28 11:12:57 +08:00
silverhand-bot
4bba658d7b
release: version packages (#3751) 2023-04-27 19:11:20 +08:00