0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00
Commit graph

1336 commits

Author SHA1 Message Date
Xiao Yijun
c5770107a0
refactor(core): remove message id from hook request headers (#3979) 2023-06-06 13:20:05 +08:00
Gao Sun
c54b8bb629
refactor(core): refine webhook log payload (#3973)
rename log payload field `json` -> `hookRequest.body`
2023-06-05 15:46:36 +00:00
Xiao Yijun
12ae2622b1
refactor(core): return 422 if failed to send a webhook test payload (#3970) 2023-06-05 16:02:43 +08:00
Gao Sun
17d72c8564
refactor(core): refine query 2023-06-05 12:51:35 +08:00
Gao Sun
e8ed876878
test: add default resource integration test 2023-06-04 20:46:43 +08:00
Gao Sun
c933bf58f7
feat: support default API Resource 2023-06-04 20:46:36 +08:00
wangsijie
0e8817f279
fix(core): delete cloudflare custom domain (#3953)
* fix(core): delete cloudflare custom domain

* fix(core,phrases): handle cloudflare api errors
2023-06-02 08:50:36 +00:00
wangsijie
8178d61eca
refactor(core): persist dns records to database (#3950) 2023-06-02 14:22:58 +08:00
wangsijie
f35d1cbb86
fix(core): fix url resolver for cloudflare (#3948) 2023-06-02 11:42:48 +08:00
simeng-li
3d98852334
chore(core): bump oidc version (#3941)
* chore(core): bump oidc version

bump oidc version

* fix(core): fix userId not found bug

fix userId in session not found bug
2023-06-01 16:20:08 +08:00
wangsijie
b53258ba56
fix(core): get cf id before insert (#3934) 2023-06-01 16:04:15 +08:00
wangsijie
a1ea4c388f
feat(core): apply custom domain to koa (#3928) 2023-06-01 15:58:28 +08:00
wangsijie
fa0dbafe81
feat(core): integrate with cloudflare (#3919)
* feat(phrases): add phrases

* feat(core): add domains library

* feat(core): integrate cloudflare

* chore: changeset

* fix: read envset inside

* fix: fix cloudflare request

* fix: fix integration test envset problem

* fix: cr fixes
2023-06-01 15:32:49 +08:00
Charles Zhao
1d7330835c
fix(core): verify an empty string password should return 400 instead of 500 (#3939)
* fix(core): verify an empty string password should return 400 instead of 500

* test(core,test): add unit and integration tests for verify password api
2023-06-01 07:10:21 +00:00
Xiao Yijun
813e216398
fix(core): trigger reset password hook (#3916) 2023-06-01 12:18:49 +08:00
Xiao Yijun
189f2d3af7
chore(test): use fake time in webhook unit tests (#3933) 2023-05-31 20:03:08 +08:00
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