simeng-li
2b15b13bbf
feat(core): add OIDC SSO connector class ( #4701 )
...
* feat(core): implement oidc and single sign on connector class
init oidc and single sign on connecter class
* refactor(core): refactor the structure of single sign-on classes
refactor the structure of single sign-on classes
* chore(core): provide more comments
provide more comments
* feat(core): add sso-connector-factories api (#4708 )
* feat(core): add sso-connector-factories api
add sso-connector-factories api
* fix(test): remove hard code connector name
remove hard code connector name
* feat(core): add POST sso-connectors api (#4719 )
* feat(core): add POST sso-connectors api
add POST sso-connectors api
* chore(core): add some comments
add some comments
* test(core): add post sso connectors integration tests
add post sso connectors integration tests
* feat(core): add GET sso-connectors api (#4723 )
* feat(core): add GET sso-connectors api
add GET sso-connectors api
* test(core): add tests
add tests
* test(core): add ut
add ut
* fix(test): remove console statement
remove console statement
* feat(core): implement get sso-connector by id endpoint (#4730 )
* feat(core): implement get sso-connector by id endpoint
implement get sso-connector by id endpoint
* feat(core): implement delete sso-connector by id endpoint (#4733 )
* feat(core): implement delete sso-connector by id endpoint
implement delete sso-connector by id endpoint
* feat(core): implement patch sso-connectors api (#4734 )
* feat(core): implement patch sso-connectors api
implement patch sso-connectors api
* fix(core): avoid patch api empty update case
avoid patch api empty update case
* feat(core): implement patch sso-connector config api (#4736 )
implement patch sso-connector config api
* fix(test): replace SAML provider name with dummy name
replace SAML provider name with dummy name
as we are going to implement the SAML connector soon
* fix(core): fix rebase error of findAll query output type
fix rebase error of the findAll query output type
2023-10-25 14:44:58 +08:00
Gao Sun
0554ee9847
chore: use sentence case
2023-10-25 14:01:49 +08:00
Gao Sun
fb48db4185
Merge pull request #4739 from logto-io/gao-add-organization-user-api-tests
...
chore(test): add integration tests for new APIs
2023-10-24 23:46:04 -05:00
Gao Sun
5b2e4c87b1
Merge pull request #4725 from logto-io/gao-console-org-12
...
refactor(core,console): fixing to-dos
2023-10-24 23:42:06 -05:00
Gao Sun
efeb2716b2
Merge pull request #4721 from logto-io/gao-remove-role-transfer-comp
...
refactor(console): remove role transfer component
2023-10-24 23:41:10 -05:00
Gao Sun
52d8e3ad37
refactor(console): fixing code review to-dos
2023-10-25 12:40:14 +08:00
Gao Sun
63d6a3b7db
chore(test): add integration tests for new APIs
2023-10-24 22:00:18 +08:00
wangsijie
1da511ad55
fix(core): fix bind webauthn domain hostname ( #4735 )
2023-10-24 08:09:10 +00:00
Gao Sun
bc5a1039f0
refactor(core,console): fixing to-dos
2023-10-24 15:44:00 +08:00
wangsijie
2c5db0d66a
fix(core): set totp qrcode service and user name ( #4703 )
2023-10-24 07:13:36 +00:00
wangsijie
4e991c3083
fix(core): get hostname from ctx for webauthn ( #4729 )
2023-10-24 14:09:28 +08:00
wangsijie
478c0c5af9
feat(core): skippable bind mfa prompt ( #4697 )
...
feat(core): skipable bind mfa prompt
2023-10-24 12:56:48 +08:00
Gao Sun
c988d52de0
Merge pull request #4714 from logto-io/gao-console-org-8
...
feat(core): organization apis
2023-10-23 23:55:24 -05:00
Gao Sun
36d0807d7a
Merge pull request #4698 from logto-io/gao-console-org-5
...
feat(core): schema with search fields
2023-10-23 23:50:35 -05:00
Gao Sun
962204ef5e
Merge pull request #4696 from logto-io/gao-console-org-4
...
feat(console,core): edit permissions and roles
2023-10-23 23:49:02 -05:00
Gao Sun
6581108450
Merge pull request #4689 from logto-io/gao-console-org-3
...
feat(console): organization roles table
2023-10-23 23:43:15 -05:00
Gao Sun
f98b43c57f
refactor(console): remove role transfer component
2023-10-23 16:34:41 +08:00
wangsijie
a20e9a2641
feat(core,schemas): verify backup code ( #4695 )
2023-10-23 16:00:58 +08:00
Gao Sun
fbe9f7e89a
chore(test): fix integration tests
2023-10-23 13:06:55 +08:00
Gao Sun
613c0222f8
chore(core): add comments
2023-10-23 12:46:32 +08:00
Gao Sun
43a655ba67
feat(core): organization apis
2023-10-23 12:18:24 +08:00
wangsijie
62367da5fc
feat(core,schemas): bind backup code ( #4690 )
2023-10-23 12:12:39 +08:00
wangsijie
cc81d8de33
chore(core,shared): add isDevFeatureEnabled to envset ( #4707 )
2023-10-20 17:41:29 +08:00
Gao Sun
4ee2947b81
feat(core): schema with search fields
2023-10-20 16:54:51 +08:00
Gao Sun
e244b62a39
feat(console,core): edit permissions and roles
2023-10-20 16:21:06 +08:00
wangsijie
b972397f80
refactor(core,phrases): change interaction bind-mfa to array ( #4680 )
2023-10-20 13:48:36 +08:00
Gao Sun
d582fdf284
feat(console): show permission tags in roles table
2023-10-19 18:48:07 +08:00
Gao Sun
3bd169c297
feat(console): init org settings page with permissions table
2023-10-19 17:56:39 +08:00
Xiao Yijun
8c0b55ab06
refactor(core): add time window validation tolerance for otp authenticator ( #4684 )
2023-10-18 11:56:01 +08:00
Gao Sun
248448d13a
Merge pull request #4668 from logto-io/gao-remove-actions-class
...
refactor(core): remove `SchemaActions` class
2023-10-17 04:58:13 -05:00
simeng-li
8abca1a5d9
refactor(core): refactor post connector endpoint ( #4681 )
...
* refactor(core): refactor post connector endpoint
refactor post connector endpoint
* fix(core): fix ut
fix ut
2023-10-17 17:42:04 +08:00
Gao Sun
d64461c30e
refactor(core): remove SchemaActions
class
2023-10-17 17:26:00 +08:00
Gao Sun
98b2eed6ec
Merge pull request #4666 from logto-io/gao-handle-db-errors
...
refactor(core): organization apis error handling
2023-10-17 04:25:50 -05:00
Gao Sun
8f1a4cb52e
Merge pull request #4665 from logto-io/gao-org-apis-7
...
feat(core): get organizations for user api
2023-10-17 04:24:49 -05:00
wangsijie
15ab4d587e
fix(core): validate mandatory mfa ( #4639 )
2023-10-17 01:18:53 -05:00
Charles Zhao
b991597342
refactor(schemas,core,console): unify the usage of OIDC "keyType" in both frontend and backend ( #4670 )
2023-10-16 22:27:46 -05:00
wangsijie
32fadf6f16
feat(core,schemas): verify webauthn ( #4635 )
...
* feat(core,schemas): bind webauthn
* feat(core,schemas): verify webauthn
2023-10-16 04:11:25 -05:00
Gao Sun
718053739c
Merge pull request #4659 from logto-io/gao-org-apis-5
...
feat(core): organization - user relation apis
2023-10-16 03:21:34 -05:00
Gao Sun
33e9a5d695
Merge pull request #4658 from logto-io/gao-add-relation-routes
...
refactor(core): `addRelationRoutes()` for `SchemaRouter`
2023-10-16 02:16:41 -05:00
Gao Sun
d69a73617e
Merge pull request #4657 from logto-io/gao-org-apis-4
...
feat(core): role - scope relation apis
2023-10-16 02:15:18 -05:00
Gao Sun
b2fb2f77f1
Merge pull request #4655 from logto-io/gao-refactor-queries
...
refactor(core): refactor organization queries
2023-10-16 02:14:35 -05:00
Gao Sun
a74e523bbe
Merge pull request #4651 from logto-io/gao-org-apis-3
...
feat(core): organization role APIs
2023-10-16 02:13:24 -05:00
Gao Sun
c3219f6fcd
refactor(core): organization apis error handling
2023-10-16 14:04:03 +08:00
wangsijie
af246ad863
feat(core,schemas): bind webauthn ( #4626 )
2023-10-16 04:00:59 +00:00
Gao Sun
406e54e84f
feat(core): get organizations for user api
2023-10-15 23:15:09 +08:00
Gao Sun
a3a4c8a431
refactor(core): add pagination to relation queries
2023-10-15 22:51:02 +08:00
Gao Sun
d792e754a2
refactor(core): reorg routes
2023-10-15 15:29:08 +08:00
Gao Sun
d393741366
feat(core): organization - user - organization role apis
2023-10-15 13:54:58 +08:00
Charles Zhao
35f57639e5
fix(core): dispose tenant cache on demand in order to hot reload oidc provider ( #4641 )
...
* fix(core): dispose tenant cache on demand
* chore: add comments for the tenant cache invalidation mechanism
* refactor(core): refactor dispose tenant cache implementation per review comments
* refactor(core): change `invalidateCache` to a class member method
* test(core): add test cases for Tenant class
2023-10-14 12:34:03 +00:00
Gao Sun
34ca8b9c6f
refactor(core): reduce parameter
2023-10-14 20:17:07 +08:00
Gao Sun
e6d3db6e80
feat(core): organization - user relation apis
2023-10-14 20:06:14 +08:00
Gao Sun
eae1c5849e
refactor(core): addRelationRoutes()
for SchemaRouter
2023-10-14 19:32:08 +08:00
Gao Sun
523f6924b6
refactor(core): update RelationQueries
comments
2023-10-14 17:59:03 +08:00
Gao Sun
6ffdf0581a
feat(core): role - scope relation apis
2023-10-14 17:00:03 +08:00
Gao Sun
b059a30817
refactor(core): refactor organization queries
2023-10-13 19:35:27 +08:00
Gao Sun
57af573fe1
feat(core): organization role APIs
2023-10-13 18:57:34 +08:00
Gao Sun
f0e6cf3199
Merge pull request #4640 from logto-io/gao-org-apis-2
...
feat(core): add organization scope APIs
2023-10-13 05:08:47 -05:00
wangsijie
03e654b459
refactor(core,experience): generate totp qrcode on server side ( #4646 )
2023-10-13 01:19:03 -05:00
Gao Sun
5fca07ee8d
refactor(core): throw duplicate error
2023-10-12 15:12:29 +08:00
Gao Sun
1fcb28b31b
Merge pull request #4637 from logto-io/gao-implement-schema-queries-class
...
refactor(core): generic schema queries and actions
2023-10-12 02:10:13 -05:00
Gao Sun
996d550382
feat(core): add organization scope APIs
2023-10-12 14:57:13 +08:00
Gao Sun
fd7d5a4ab1
refactor(core): fix id guard issue for post api
2023-10-12 14:56:34 +08:00
renovate[bot]
dac50d2d25
chore(deps): update dependency @logto/cloud to v0.2.5-d434baa ( #4463 )
...
* chore(deps): update dependency @logto/cloud to v0.2.5-d434baa
* chore: update lock file
update lock file
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-12 06:30:23 +00:00
Gao Sun
b4655b4e0f
Merge pull request #4636 from logto-io/gao-optimize-schema-types
...
refactor(schemas,shared)!: optimize schema types
2023-10-12 01:07:59 -05:00
dependabot[bot]
6826f15efb
chore(deps): bump zod from 3.20.2 to 3.22.3 ( #4615 )
...
* chore(deps): bump zod from 3.20.2 to 3.22.3
Bumps [zod](https://github.com/colinhacks/zod ) from 3.20.2 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases )
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md )
- [Commits](https://github.com/colinhacks/zod/compare/v3.20.2...v3.22.3 )
---
updated-dependencies:
- dependency-name: zod
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore(deps): align zod versions
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-12 04:12:05 +00:00
Gao Sun
9a995ef65f
refactor(core,schemas): generate updateGuard
and update schema actions
2023-10-11 19:34:11 +08:00
Gao Sun
c3b9e57fe3
Merge pull request #4620 from logto-io/gao-org-apis-1
...
feat(core): org basic apis
2023-10-11 05:58:07 -05:00
Gao Sun
e02bf4c987
chore: remove unused file
2023-10-11 18:41:26 +08:00
Gao Sun
c057024b7c
refactor(core): generic schema queries and actions
2023-10-11 17:04:45 +08:00
Gao Sun
7178657935
refactor!: optimize schema types
2023-10-11 16:41:31 +08:00
Charles Zhao
005bb660cd
Merge pull request #4594 from logto-io/charles-log-6861-api-to-rotate-private-keys
...
feat(core,phrases): add apis to fetch, delete and rotate oidc private keys
2023-10-11 02:52:46 -05:00
Charles Zhao
f01ada5760
feat(core,phrases,shared): add apis to fetch, delete and rotate oidc private keys
2023-10-11 15:28:24 +08:00
Gao Sun
4110409bd1
refactor(core): organization crud apis
2023-10-11 12:48:20 +08:00
Gao Sun
8e931d757f
refactor(core): add unit tests for SchemaRouter
2023-10-10 14:09:28 +08:00
Gao Sun
bb22ce3acc
feat(core): org basic apis
2023-10-10 14:09:28 +08:00
Darcy Ye
f1f75aa37e
refactor: eliminate connector-kit dependency on logto/cloud ( #4622 )
2023-10-10 13:55:21 +08:00
Charles Zhao
c913406926
refactor(core): support oidc configuration hot replace ( #4590 )
2023-10-09 10:05:07 +00:00
simeng-li
04ec524e67
fix(core): fix new linked social email conflict error ( #4623 )
2023-10-09 11:15:02 +08:00
Charles Zhao
46d0d4c0b9
refactor(schemas,core,cli): alter signing key type to json object ( #4582 )
2023-10-08 12:51:04 -05:00
renovate[bot]
3e45c3848d
fix(deps): update dependency nanoid to v5 ( #4491 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-08 00:42:32 -05:00
silverhand-bot
6993b15ecd
release: version packages ( #4621 )
2023-10-08 00:28:22 -05:00
Gao Sun
2c340d3799
refactor(core): support roles
scope for ID token ( #4600 )
...
* refactor(core): support `roles` scope for ID token
* chore: update changeset
2023-10-07 10:20:51 +00:00
silverhand-bot
f3ec4c6734
release: version packages ( #4575 )
2023-10-07 00:39:33 -05:00
wangsijie
6a32f50d15
feat(core,schemas,phrases): verify totp to sign in ( #4570 )
2023-09-27 09:12:25 +08:00
wangsijie
08a35a1695
feat(core,phrases,schemas): implement bind mfa totp ( #4551 )
2023-09-26 14:18:26 +08:00
Gao Sun
827123faa0
feat(core): integrate basic sentinel ( #4562 )
...
* feat(core): integrate basic sentinel
* chore: add integration tests
* refactor(test): fix toast matching
* chore: add changeset
* refactor(test): update naming
2023-09-25 08:20:17 +00:00
Gao Sun
b8e592d669
refactor(core): improve oidc error handling ( #4573 )
...
* refactor(core): improve oidc error handling
* refactor(core): fix tests
2023-09-25 16:16:04 +08:00
Gao Sun
9644308176
Merge pull request #4554 from logto-io/gao-basic-sentinel
...
feat(core): init basic sentinel
2023-09-23 23:06:31 +08:00
Gao Sun
24f70ebb2c
chore(core): add comments to basic sentinel init
2023-09-23 22:51:01 +08:00
Gao Sun
18181f892e
refactor(shared)!: standardize id and secret generators ( #4550 )
...
* refactor(shared)!: standardize id and secret generators
* refactor: fix tests
2023-09-22 13:43:56 +08:00
silverhand-bot
d254dae5ff
release: version packages ( #4572 )
2023-09-21 22:04:40 +08:00
Darcy Ye
352ca03177
refactor(console,phrases,core): add roles and logs tabs for m2m app details page ( #4548 )
2023-09-21 16:54:17 +08:00
Darcy Ye
71f7977b9c
refactor(console,phrases,core): reorg role details page ( #4537 )
2023-09-20 12:01:15 +08:00
renovate[bot]
bb5ec66a35
chore(deps): update dependency sinon to v16 ( #4496 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-09-19 12:42:13 +00:00
Gao Sun
f34b2f4e21
refactor: reuse existing blocked record expiration
2023-09-19 17:21:45 +08:00
Gao Sun
b9ab1f3d85
feat(core): init basic sentinel
2023-09-19 16:35:03 +08:00
silverhand-bot
e69f941e38
release: version packages ( #4451 )
2023-09-18 10:47:19 +00:00
Charles Zhao
ff1da7700f
fix(console): should show user initial letter avatar in roles ( #4540 )
2023-09-18 16:06:18 +08:00
wangsijie
256aa30c31
feat(core): management user verifications ( #4481 )
...
* feat(schemas): add user verifications column
* feat(core): management user verifications
2023-09-18 11:39:22 +08:00
Darcy Ye
e90eb65d63
refactor(console,phrases,schemas,core): reorg role table ( #4534 )
2023-09-18 11:23:06 +08:00
wangsijie
7a3d4fb58c
fix(core): quota guard for mfa feature ( #4529 )
2023-09-18 10:00:26 +08:00
Darcy Ye
8366af442a
chore(core,test): enable advanced search params for GET /applications API ( #4495 )
...
* chore(core,test): enable advanced search params for GET /applications API
* refactor: add query by app type(s) filter
* refactor: reuse search for app types
2023-09-17 03:48:56 +00:00
Gao Sun
86113e0415
Merge pull request #4514 from logto-io/gao-rename-ui-to-experience-3
...
refactor: ui -> experience (part 3)
2023-09-15 18:26:34 +08:00
Gao Sun
c4e4b83740
Merge pull request #4509 from logto-io/gao-rename-ui-to-experience-2
...
refactor: ui -> experience (part 2)
2023-09-15 17:58:19 +08:00
Gao Sun
2319101056
refactor: ui -> experience (part 3)
...
Rename `ui` to `experience`.
2023-09-15 13:46:27 +08:00
wangsijie
08a0a6748b
feat(schemas): add user verifications column ( #4480 )
2023-09-15 11:16:47 +08:00
Gao Sun
083ef8379e
refactor: ui -> experience (part 2)
...
Rename `phrases-ui` to `phrases-experience`.
2023-09-15 10:29:41 +08:00
simeng-li
5556a73b0a
fix(core): allow ui unsafe inline script ( #4497 )
...
fix(core): all ui unsafe inline
all ui unsafe inline
2023-09-15 02:22:13 +00:00
wangsijie
17fd64e643
feat(core,schemas): support region option for s3 storage ( #4439 )
2023-09-14 14:46:27 +08:00
Gao Sun
1680cf5fa4
Merge pull request #4476 from logto-io/gao-password-policy-cleanup
...
chore: legacy password policy cleanup
2023-09-13 22:38:41 +08:00
wangsijie
6cdd33bf1c
feat(core): update mfa in sign in experience ( #4467 )
2023-09-12 17:53:16 +08:00
Gao Sun
803371d692
chore: legacy password policy cleanup
2023-09-12 16:12:39 +08:00
Gao Sun
e35d099c35
chore(core): add supplementary openapi json ( #4472 )
...
* chore(core): support supplementary openapi json
* refactor(core): copy json files to build
2023-09-12 06:27:40 +00:00
wangsijie
b91aa8d3d7
feat(schemas): add mfa to sign in experience table ( #4396 )
2023-09-12 10:36:47 +08:00
Xiao Yijun
9644fa0615
chore: remove deprecated challenge task flags ( #4468 )
2023-09-11 17:46:13 +08:00
Darcy Ye
9251c2bb40
feat(core,test,phrases): add application-role related APIs ( #4425 )
2023-09-11 14:06:40 +08:00
Darcy Ye
285aa745e7
feat(core): add role-application related APIs ( #4384 )
...
* feat(core): add role-app related APIs
* chore(core): add search for GET role-application
2023-09-11 14:04:37 +08:00
Gao Sun
3326cecd01
refactor(core): fix rebase error
2023-09-11 12:46:07 +08:00
Gao Sun
4675ad4eb4
Merge pull request #4454 from logto-io/gao-check-personal-info
...
refactor(core): check personal info when setting password
2023-09-11 12:28:00 +08:00
Darcy Ye
f6caeacb5a
refactor(core,phrases,test): add user role APIs guard ( #4382 )
...
refactor(core,phrases): update roles API logics since type field is added to roles
refactor(test): add integration test cases
fix(core): should not manually filter out m2m role assigned to user
chore: silently filter out existing entities
2023-09-11 03:51:46 +00:00
Darcy Ye
5d78c7271b
refactor(core,schemas): update roles table schemas, add type column ( #4378 )
...
refactor(core,schemas): update roles table schemas, add type col and fix UTs
refactor(test,core,schemas): add role type constraint to DB level to keep the data source clean
2023-09-11 03:27:49 +00:00
Xiao Yijun
d1b92e99aa
refactor(console): display webhook test result on details page ( #4453 )
2023-09-11 10:05:19 +08:00
Gao Sun
a89ce6eeed
refactor(core): check personal info when setting password
2023-09-08 13:42:54 +08:00
Xiao Yijun
b3fc33524e
refactor(core): remove response data construction helper from libs ( #4437 )
2023-09-06 10:21:36 +08:00
simeng-li
5e8b1bd598
fix(core,ui): clear ui preload link not used warning ( #4429 )
...
fix(core,ui): address ui preload link not used warning
address ui preload link not used warning
2023-09-06 09:55:22 +08:00
Gao Sun
bbdf57b369
Merge pull request #4418 from logto-io/gao-console-others-to-content
...
refactor(console): update tab name others -> content
2023-09-05 14:28:34 +08:00
Gao Sun
cb696d7e44
Merge pull request #4416 from logto-io/gao-implement-password-policy-guard
...
feat(core): guard password by policy
2023-09-05 00:11:34 +08:00
simeng-li
8607b3eb75
refactor(core): clean up useless interaction guard ( #4409 )
...
refactor(core): clean up unused interaction guards
clean up unused interaction guards
2023-09-04 10:55:04 +08:00
Gao Sun
e68cbd0b09
refactor(console): update tab name others -> content
...
update the sign-in experience configuration page tab name per design.
2023-09-03 23:20:20 +08:00
Gao Sun
b8a7b900e1
feat(core): guard password by policy
2023-09-03 02:11:22 +08:00
silverhand-bot
f416ec3312
release: version packages ( #4270 )
2023-08-30 16:16:55 +08:00
renovate[bot]
bc6a08fac2
fix(deps): update dependency p-retry to v6 ( #4395 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-08-29 09:43:17 +00:00
simeng-li
9f70e7632c
feat(core): add tenant is suspended guard ( #4379 )
...
* feat(core): add tenant is suspended guard
add tenant is suspended guard to all management apis
* fix(core): address comments
fix function name
2023-08-29 16:42:13 +08:00
renovate[bot]
f82df68794
chore(deps): update dependency lint-staged to v14 ( #4322 )
...
* chore(deps): update dependency lint-staged to v14
* fix: lockfile
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-08-24 14:01:38 +08:00
Gao Sun
2901f43e64
feat: post affiliate data to cloud ( #4321 )
...
* feat: post affiliate data to cloud
Read data from cookie and post to cloud when needed.
* chore: add alteration script
* refactor: fix alteration
2023-08-16 14:34:54 +00:00
Gao Sun
44d023ab2e
feat(console): show sample for the guide and allow request new guide ( #4327 )
...
* feat(console): show sample for the guide and allow request new guide
* refactor(console): fix build
* feat(console): express guide
2023-08-15 16:44:33 +08:00
wangsijie
7bb60eeff8
fix(core): fix cloudflare hostname not found error handler ( #4316 )
...
fix(core): fix cloudflare hostnme not found error handler
2023-08-14 10:51:06 +08:00
Xiao Yijun
3c903b4778
test: interaction api counter cases and response status guard ( #4306 )
...
* test: add interaction api counter cases and response status guard
* fix(core): fix koa router method type definition
2023-08-14 10:38:05 +08:00
Darcy Ye
77d274a3c3
refactor(toolkit,connector,core,cli): cache access token for logto email service ( #4309 )
2023-08-11 15:43:09 +08:00
simeng-li
760e97eee5
refactor(cloud): clarify the isTest scope ( #4310 )
...
clarify the isTest scope
2023-08-10 14:08:13 +08:00
wangsijie
ad96196176
fix(core,phrases): ignore cloudflare not found when deleting domain ( #4305 )
2023-08-09 15:37:23 +08:00
renovate[bot]
65803deaf4
chore(deps): update dependency @logto/cloud to v0.2.5-33a6965 ( #4131 )
...
* chore(deps): update dependency @logto/cloud to v0.2.5-33a6965
* chore(deps): update dependency @logto/client to v0.7.21
---------
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-08-05 08:01:01 +00:00
Gao Sun
5b34338484
feat: mailgun connector ( #4281 )
...
* feat: mailgun connector
* refactor: support png as connector logo
* chore: add changesets
* chore: fix error
* chore: translate phrases
2023-08-03 04:38:09 +00:00
Darcy Ye
18d805e61f
fix(core): exclude standard connectors when compute social connector usage ( #4271 )
2023-08-02 11:09:07 +08:00
Gao Sun
0b519e5481
refactor: allow non-http scheme in cors origin ( #4269 )
...
* refactor: allow non-http scheme in cors origin
* chore: fix errors and add changeset
2023-08-01 13:03:22 +08:00
Darcy Ye
028ffae068
refactor(core,console): filter out webhook logs from audit logs list ( #4243 )
...
* refactor(core,console): filter out webhook logs from audit logs list
* refactor(core): separate the method of finding audit logs and webhook logs
* refactor(test): update integration tests
* chore: adopt code review suggestions
* refactor(core): refactor build log condition method and update its use cases
2023-08-01 03:23:03 +00:00
silverhand-bot
74e9734ef8
release: version packages ( #4255 )
2023-07-31 18:43:59 +08:00
wangsijie
0aa00307cb
fix(core): exclude demo connector for quota ( #4245 )
2023-07-26 11:26:35 +08:00
wangsijie
b9a05c0034
chore(core): remove pricing feature switch ( #4212 )
2023-07-25 17:47:54 +08:00
wangsijie
d696df1683
fix(core): add opaque access token event listener ( #4227 )
2023-07-25 17:08:16 +08:00
Darcy Ye
3ef8c06d4a
feat(connector,core): remove email service feature switch ( #4165 )
2023-07-24 14:29:38 +08:00
wangsijie
3d828f2e6d
fix(core): fix quota guard middleware env flag ( #4204 )
2023-07-24 14:02:50 +08:00
renovate[bot]
7b97571f1c
chore(deps): update dependency nodemon to v3 ( #4140 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-22 09:46:09 +00:00
Gao Sun
6d1ea26cdc
refactor(core): improve error handling ( #4198 )
...
* refactor(core): improve error handling
* test(core): add integration tests
2023-07-22 17:32:25 +08:00
wangsijie
34e907d1ec
feat(core): apply all quota guard ( #4187 )
2023-07-20 09:27:25 +00:00
wangsijie
d5885160cc
refactor(core): create quota library ( #4185 )
2023-07-20 16:29:39 +08:00
Chukwuemelie Obumse
7cda535629
test: added tests for the koaConsoleRedirectProxy function ( #4182 )
...
* test: added tests for the koaConsoleRedirectProxy function
* test: added tests for the koaConsoleRedirectProxy function with clearer descriptions
2023-07-20 15:50:24 +08:00
Xiao Yijun
8dbc3f6b3c
feat(core): support fetching all applications without pagination ( #4184 )
2023-07-19 17:58:22 +08:00
wangsijie
34105e1579
feat(core,phrases): add quota guard middleware ( #4153 )
...
feat(core,phrases): add usage guard middleware
2023-07-18 17:05:00 +08:00
Darcy Ye
e441c089d7
fix(core,connector): fix patch connector api cannot reset config/metadata bug ( #4166 )
2023-07-14 17:38:56 +08:00
Darcy Ye
3e08f3c94d
refactor(core,connector): store and get fromEmail from logto email connector ( #4164 )
2023-07-14 03:36:24 +00:00
Gao Sun
cee1d0dd20
refactor(core,console): fix useCloudSwr type ( #4152 )
2023-07-11 15:25:45 +08:00
Darcy Ye
8d282e083f
fix(core): fix the argument type of createConnectorLibrary ( #4147 )
2023-07-11 11:08:40 +08:00
Gao Sun
947de83173
chore: upgrade configs ( #4132 )
...
* chore: upgrade configs
* chore: fix lint errors
2023-07-07 17:17:21 +00:00
Darcy Ye
cabbd6ffe8
fix(core,connector): use isProduction as email service feature switch ( #4135 )
...
* fix(core,connector): use isProduction as email service feature switch
* refactor(core): reorg code
---------
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-07 23:33:22 +08:00
wangsijie
7eaed24b95
feat(core): add cloud client ( #4127 )
2023-07-07 16:20:11 +08:00
wangsijie
5ccdd7f31a
feat(core,schemas): record daily active users ( #4113 )
2023-07-07 15:14:29 +08:00
Darcy Ye
e8492654e7
feat(core,connector): add cloud connection library ( #4122 )
2023-07-05 12:52:14 +00:00
Xiao Yijun
b232f8dd39
feat(core): enable email service connector ( #4120 )
2023-07-05 04:41:33 +00:00
Darcy Ye
61c49845a6
refactor(core,schemas,cli): save cloud service m2m app credentials ( #4109 )
2023-07-04 18:14:35 +08:00
Darcy Ye
909591f1c5
refactor(core): add extraInfo to connector GET APIs response ( #4100 )
2023-07-03 06:54:53 +00:00
Darcy Ye
7afa5a4760
fix(core): block logto email connector (create and enter detail page) ( #4101 )
2023-07-01 18:21:44 +08:00
Darcy Ye
e0ee44d5d0
feat(core): add connector usage to GET APIs response ( #4097 )
...
* feat: add GET /connectors/:id/usage to get passwordless connector usage
* refactor(core): get usage when possible when transpiling connector
2023-06-30 16:22:34 +08:00
simeng-li
b8001fd6c8
fix(core): add invalid body request error on oidc endpoints ( #4095 )
...
* fix(core): add invalid body request error on oidc endpoints
should throw invalid body request error for all oidc endpoints' input syntax error
* chore(core): add some comments
add some comments
2023-06-29 06:06:14 +00:00
simeng-li
476de8d2ff
chore(core,ui): set jest config coverage report to all files ( #4090 )
...
set jest config coverage report to all files
2023-06-29 13:59:23 +08:00
silverhand-bot
53131ad5a7
release: version packages ( #4033 )
2023-06-28 18:57:43 +08:00
Darcy Ye
4dc0930e09
feat(schemas): add email service guard and system key ( #4079 )
2023-06-28 10:59:03 +08:00
Gao Sun
ad6dde7f18
refactor(console): reorg error rendering ( #4082 )
...
* refactor(console): reorg error rendering
* refactor(console): reorg error rendering
2023-06-27 11:31:03 +08:00
renovate[bot]
5ed7750de7
fix(deps): update dependency lru-cache to v10 ( #4045 )
...
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-23 11:59:39 +00:00
Gao Sun
cfe4fce51c
fix: support circular reference when normalizing errors ( #4069 )
2023-06-21 16:05:33 +08:00
wangsijie
ad44f0875a
fix(core): update domain cache ( #4017 )
2023-06-19 15:45:42 +09:00
Danil Tankov
2d7c0aa3c3
fix(core): s3 region fallback ( #4049 )
...
Signed-off-by: Danil Tankov <danil.tankoff@yandex.ru>
2023-06-19 14:15:07 +08:00
wangsijie
160f861800
fix(core): fix session not found redirect hostname ( #4018 )
2023-06-19 11:31:10 +09:00
simeng-li
1b4fbc2df5
fix: remove unsafe-inline and unsafe-eval ( #4020 )
...
remove unsafe-inline and unsafe-eval allowance
2023-06-13 18:46:02 +08:00
Gao Sun
b0a126bbd7
Merge pull request #4028 from logto-io/gao-app-improvements
...
feat: various application improvements
2023-06-13 18:02:38 +08:00
renovate[bot]
9a9d1d2ed4
fix(deps): update dependency helmet to v7 ( #3814 )
...
* fix(deps): update dependency helmet to v7
* fix: fix lock file
fix lock file
* fix: fix helmetjs upgrade exceptions
fix helmetjs upgrade exceptions
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-06-13 10:05:47 +08:00
Gao Sun
e3e3f2c729
feat: various application improvements
...
- show OpenID Provider configuration endpoint in Console
- configure "Rotate Refresh Token" in Console
- configure "Refresh Token TTL" in Console
- refactor code for OIDC default values
2023-06-13 00:59:23 +08:00
lleyton
048c5cdb09
feat: enable OIDC introspection endpoint ( #3996 )
...
feat: enable introspection endpoint
2023-06-11 15:28:44 +00:00
Gao Sun
2338cb692e
refactor(core): apply no-unused-modules ( #4009 )
2023-06-09 21:55:15 +08:00
wangsijie
81f053dfd8
feat(core,schemas): get fallback origin from cf api ( #4005 )
2023-06-09 02:35:28 +00:00
wangsijie
62d3acfc7b
fix(schemas): set domain status enum guard ( #3958 )
2023-06-08 12:07:15 +09:00
wangsijie
71f1fe4436
fix(core,schemas): use http method for cloudflare ssl ( #3986 )
2023-06-08 02:59:34 +00:00
renovate[bot]
417534e9e4
chore(deps): update dependency got to v13 ( #3915 )
...
chore(deps): update dependency got to v13.0.0
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-07 08:10:27 +00:00
silverhand-bot
3acb0d2db1
release: version packages ( #3857 )
2023-06-06 23:21:29 +08:00
simeng-li
be43ecd49b
fix(console): fix github avatar broken issue ( #3982 )
...
* fix(console): fix github avatar broken issue
remove the crossOrigin settings on the avatar image element
* fix(core): update the OSS crossOriginEmbedderPolicy
update the OSS crossOriginEmbedderPolicy
2023-06-06 10:33:10 +00:00
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
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