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

908 commits

Author SHA1 Message Date
Darcy Ye
9b8d4c6b20
feat(console,phrases): add sso connector list page 2023-11-13 11:29:50 +08:00
simeng-li
eeb1928e57
feat(core,schemas): remove the ssoOnly setting of the sso connectors (#4856)
feat(core,schemas): remove ssoOnly property

remove the ssoOnly property from sso connectors
2023-11-13 11:14:46 +08:00
Gao Sun
d3e7cff0bd
refactor(core): reuse refresh_token grant for org tokens 2023-11-10 14:51:42 +08:00
Gao Sun
a03c0dbe5e
Merge pull request #4847 from logto-io/gao-update-org-scopes
refactor: update organization scopes
2023-11-10 14:48:47 +08:00
Gao Sun
0fd4a011f6
Merge pull request #4844 from logto-io/gao-organization-token-grant
feat: organization_token grant
2023-11-10 14:45:15 +08:00
simeng-li
d07a673a99
feat(core,experience): add sso link and email form (#4850)
* feat(core,experience): add sso link and email form

add sso link and email form

* chore(phrases): update phrases

phdate phrases

* fix(core): fix ut

fix ut

* test(experience): add single sign on link test

add single sign on link test

 Please enter the commit message for your changes. Lines starting
2023-11-10 14:41:59 +08:00
Gao Sun
e057e2fc42
refactor: update organization scopes 2023-11-09 16:16:43 +08:00
Gao Sun
c9db7b2ed9
Merge pull request #4831 from logto-io/gao-support-org-scope-in-for-id-token 2023-11-09 10:49:30 +08:00
simeng-li
8e07825f17
refactor(schemas): add new sso_connector_id column to the users_sso_identities table (#4843)
* refactor(schemas): add new sso_connector_id column to the users_sso_identities table

add new sso_connector_id column to the users_sso_identities table

* refactor(schemas): add new sso_connector_id row to the users_sso_identities table

add new sso_connector_id row to the users_sso_identities table

* fix(schemas): fix alteration script

fix alteration script

* fix(schemas): fix alteration script

fix alteration script

* feat(core): add single sign on authentication api (#4814)

* feat(core): add single sign on authentication api

add single sign on authentication api

* feat(core): finish up the single sign on authentication api

finish up the single sign on authentication api

* chore(core): fix typo

fix typo

* test(core): add ut for getSsoAuthorizationUrl method

add ut for getSsoAuthorizationUrl method

* fix(core): fix the userSsoIdentities sql

fix the userSsoIdentities sql

* test(core): add unit tests

add unit tests

* fix(core): saml sso rebase fix

saml sso rebase fix

* fix(core): fix rebase issue
 fix rebase issue

* feat(core): add sso email guard to interaction endpoint (#4838)

* feat(core): add sso email guard to interaction endpoint

add sso email guard to interaction endpoint

* fix(core): fix unit tests

fix unit tests

* chore(core): split files

split files
2023-11-08 08:55:45 +00:00
Gao Sun
397c0146e7
refactor(core): overwrite response with parsed result (#4759)
* refactor(core): overwrite response with parsed result

* refactor: fix legacy schema issues
2023-11-08 08:01:23 +00:00
Gao Sun
9e4ee1be19
feat: organization_token grant 2023-11-08 15:30:05 +08:00
Gao Sun
9ae4d9aad7
feat: support organizations scope for ID token 2023-11-07 12:33:53 +08:00
Charles Zhao
00017418c3
chore: bump dev dependencies (#4829)
chore: update browserlist-db
2023-11-07 11:38:54 +08:00
silverhand-bot
a5a0d44dc8
release: version packages (#4624) 2023-11-03 13:14:52 +08:00
wangsijie
b118fc54a6
refactor(core,schemas): add user logto_data column to store mfa (#4792)
* feat(core,phrases): disable auto skip mfa

* refactor(experience): skip mfa manually (#4788)

* refactor(core,schemas): add user logto_data column to store mfa skipped info

---------

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2023-11-02 16:16:21 +08:00
simeng-li
e515c04d44
refactor(core,schemas,console): refactor log key types and sso-connector authn-url api name (#4798)
* refactor(core,schemas,console): refactor log key types and sso-connector authn-url api name

refactor log key types and sso-connector authn-url api name

* feat(schemas): add user sso identities table (#4801)

* feat(schemas): add user sso identities table

add user sso identities table

* fix(schemas): fix alterations

fix alterations

* refactor(schemas): use unique constrain

use unique constrain
2023-11-02 02:13:06 +00:00
simeng-li
a982e997c3
feat(core): add get sso-connectors by email interaction api (#4795)
* refactor(core,test,schemas): remove the domains property from sso connector in sie wellknown data

remove the domains property from sso connector in sie wellknown data

* refactor(core): extract getAvailableSsoConnectors library method

extract getAvailableSsoConnectors library method

* fix(core,test): should filter out empty domain connectors

should filter out empty domain connectors

* feat(core,test): add get sso-connectors by email interaction api

add get sso-connectors by email interaction api

* chore(core): update comments

update comments
2023-11-01 09:38:28 +08:00
simeng-li
8616496c61
feat(core): add post single-sign-on authentication endpoint (#4787)
* feat(core): add put interaction sso authentication api

add put interaction sso authentication api

* fix(test): fix integration test type

fix integration test type
2023-10-31 17:52:27 +08:00
wangsijie
34f4d47bc6
feat(core): add last use time to user mfa verifications (#4767) 2023-10-31 10:40:01 +08:00
Charles Zhao
cee5717423
feat(console,schemas): add new db config to record organization creation status (#4785) 2023-10-31 09:34:44 +08:00
Hussain Shaikh
d41b71a54a
feat(core): google cloud storage provider (#4660) 2023-10-30 14:24:45 +08:00
simeng-li
4080a2599b
feat(core): add ssoConnectors to the sie well-known api (#4777)
* feat(core): add ssoConnectors to the sie wellknown api

add ssoConnectors to the sie wellknown api

* fix(test): fix well-known sie ut

fix well-known sie ut
2023-10-30 10:28:03 +08:00
renovate[bot]
7ea5b94178
chore(deps): update dependency @types/pluralize to ^0.0.32 (#4693)
* chore(deps): update dependency @types/pluralize to ^0.0.32

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 10:24:33 +08:00
Gao Sun
9b1f0ced09
Merge pull request #4755 from logto-io/gao-org-featured
feat: organization featured members
2023-10-25 21:11:57 -05:00
renovate[bot]
98478a32c8
chore(deps): update dependency lint-staged to v15 (#4661)
* chore(deps): update dependency lint-staged to v15

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 09:55:47 +08:00
Gao Sun
889ca18e66
feat: organization featured members 2023-10-25 20:28:58 +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
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
wangsijie
a20e9a2641
feat(core,schemas): verify backup code (#4695) 2023-10-23 16:00:58 +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
simeng-li
54fd29e41f
feat(schemas): create sso_connectors table (#4694)
* feat(schemas): create sso_connectors table

create sso_connectors table

* chore(schemas): add comments

add comments

* fix(schemas): remove dummy comments

remove dummy comments

* fix(schemas): fix schema typo

fix schema typo

* fix(schemas): adjust the alteration column order

adjust the alteration column order

* fix(schemas): drop policy

drop policy

* chore: fix the db alteration compare job tag version

fix the db alteration compare job tag version

* fix(schemas): set sso table order

set sso table order

* fix(schemas): fix alteration script

fix alteration script
2023-10-20 10:46:09 +08:00
Gao Sun
d582fdf284
feat(console): show permission tags in roles table 2023-10-19 18:48:07 +08: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
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
wangsijie
af246ad863
feat(core,schemas): bind webauthn (#4626) 2023-10-16 04:00:59 +00:00
Gao Sun
57af573fe1
feat(core): organization role APIs 2023-10-13 18:57:34 +08:00
simeng-li
42dbc0e62c
refactor(schemas): split the jsonb-type file (#4644)
split the jsonb-type file
2023-10-13 11:51:03 +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
renovate[bot]
51a534fcd5
chore(deps): update dependency @types/pluralize to ^0.0.31 (#4579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 06:51:55 +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
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
3471fa84e8
Merge pull request #4616 from logto-io/gao-init-org-tables
feat(schemas): init organization tables
2023-10-10 06:15:16 -05:00
Charles Zhao
46d0d4c0b9
refactor(schemas,core,cli): alter signing key type to json object (#4582) 2023-10-08 12:51:04 -05:00
Gao Sun
c1df440682
refactor(schemas): make description nullable 2023-10-08 13:47:22 +08:00
silverhand-bot
6993b15ecd
release: version packages (#4621) 2023-10-08 00:28:22 -05:00
Gao Sun
b81c573583
feat(schemas): init organization tables 2023-10-07 17:49:28 +08:00
Darcy Ye
765cfd652f
chore(schemas): format alteration script (#4617) 2023-10-07 06:14:58 +00:00
Gao Sun
059a06ea7e
refactor(schemas): support table comments 2023-10-07 13:58:24 +08:00
silverhand-bot
f3ec4c6734
release: version packages (#4575) 2023-10-07 00:39:33 -05:00
Darcy Ye
50a5b14e18
chore(schemas): update management api access name/desc to sentence case (#4599) 2023-09-28 05:29:50 +00: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
wangsijie
7b43dd5de6
feat(schemas,console): add mfa interaction log key (#4560) 2023-09-25 11:37:43 +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
Darcy Ye
368e0231a9
refactor(schemas,console,core): remove admin access switch for m2m apps (#4569)
* refactor(schemas,console,core): remove admin access switch for m2m apps

* refactor: refactor alteration script and add comments for better readability
2023-09-22 15:27:02 +08:00
Gao Sun
202103b71f
Merge pull request #4504 from logto-io/gao-init-sentinel
feat: init sentinel
2023-09-22 14:03:22 +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
Gao Sun
f34b2f4e21
refactor: reuse existing blocked record expiration 2023-09-19 17:21:45 +08:00
Gao Sun
a856145f81
refactor(schemas): improve regexp 2023-09-19 12:03:58 +08:00
silverhand-bot
e69f941e38
release: version packages (#4451) 2023-09-18 10:47:19 +00:00
Gao Sun
d065cbc623
refactor(schemas): sentinel first version 2023-09-18 16:31:23 +08: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
Gao Sun
d0a44e93f8
refactor(schemas): support field JSDoc comments 2023-09-16 17:15:56 +08:00
Gao Sun
f702cc24a3
feat: init sentinel 2023-09-16 17:15:53 +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
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
wangsijie
17fd64e643
feat(core,schemas): support region option for s3 storage (#4439) 2023-09-14 14:46:27 +08:00
Gao Sun
e8b0b1d020
chore: password policy release prep (#4488) 2023-09-14 10:32:46 +08:00
wangsijie
2a146bbd31
fix(schemas): update alteration script timestamp (#4478) 2023-09-12 03:52:05 +00:00
Xiao Yijun
c775d6c66f
fix(schemas): update alteration script timestamp (#4477) 2023-09-12 11:04:21 +08: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
9f6fc6100d
fix(schemas): specify function db schema of check_role_type (#4469)
fix(schemas): specify db schema of function check_role_type
2023-09-11 08:58:17 +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
b33a83ba15
Merge pull request #4420 from logto-io/gao-ui-show-password-policy-content
feat(ui): show password policy requirements and errors
2023-09-07 18:19:18 +08:00
Xiao Yijun
ba2245bc0e
fix(toolkit): support plus and hyphen in mobile uri scheme (#4434) 2023-09-07 00:41:51 +08:00
Darcy Ye
c5b1976117
refactor(toolkit): update input params type of SendMessageFunction (#4287) 2023-09-05 11:07:38 +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
Gao Sun
7a6f5621c8
feat(ui): show password policy requirements and errors 2023-09-05 00:04:55 +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
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]
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
simeng-li
6651364fa7
revert: 4353 (#4355)
fix(schemas): revert changes

revert changes
2023-08-17 12:48:26 +08:00
simeng-li
e1dada4d78
fix(schemas): hot fix bump alteration file timestamp (#4353)
hot fix bump alteartion file timestamp
2023-08-17 03:36:16 +00: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
simeng-li
6771f9ed6f
feat(cli): add rollback-to db action (#4329)
* feat(cli): add rollback-to db action

add rollback-to db action

* chore: bump alteration timestamp

bump alteration timestamp

* chore: rename the alteration action name

rename the alteration action name
2023-08-15 16:54:53 +08:00
simeng-li
9862aacc8d
refactor(schemas): add isSuspended to the tenantInfo type (#4326)
* refactor(schemas): add isSuspended to the tenantInfo type

add isSuspended to the tenantInfo type

* chore(schemas): bump withTyped/server version

bump withTyped/server version
2023-08-14 17:32:19 +08:00
simeng-li
2eaa42e588
feat(schemas): add isSuspended columns (#4323)
add isSuspended columns
2023-08-14 15:15:12 +08:00
renovate[bot]
b590942bf2
chore(deps): update dependency camelcase to v8 (#4313)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-08-10 07:22:48 +00: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
Darcy Ye
24612e2706
fix(schemas): use pool.query to tolerate empty query results (#4241) 2023-07-25 23:50:47 +08:00
simeng-li
088efeef1a
chore(schemas): bump withTyped version (#4199)
bump withTyped version
2023-07-21 03:26:35 +00:00
Gao Sun
c00cfedcbb
refactor(schemas): add create affiliate scope (#4171) 2023-07-17 15:40:15 +08:00
Gao Sun
305f1409fd
refactor(schemas): add manage affiliate scope (#4168) 2023-07-14 15:21:08 +08:00
Darcy Ye
c5b0f9bdc5
feat(console): change free tenant number limit to 10 (#4130) 2023-07-13 17:09:05 +08:00
Darcy Ye
99e346e55a
refactor(schemas): update email service data guard (#4159) 2023-07-12 14:32:41 +08:00
Gao Sun
6b54d9190d
refactor(schemas): specify tenants table schema (#4155) 2023-07-12 13:56:39 +08:00
Gao Sun
cee1d0dd20
refactor(core,console): fix useCloudSwr type (#4152) 2023-07-11 15:25:45 +08:00
wangsijie
3d0715e09e
fix(schemas): remove incorrect tenantInfoGuard type (#4145) 2023-07-11 11:04:58 +08:00
Gao Sun
947de83173
chore: upgrade configs (#4132)
* chore: upgrade configs

* chore: fix lint errors
2023-07-07 17:17:21 +00:00
wangsijie
5ccdd7f31a
feat(core,schemas): record daily active users (#4113) 2023-07-07 15:14:29 +08:00
Darcy Ye
dd657d3877
feat(schemas): drop m2m credentials in existing logto email connector config (#4126) 2023-07-06 05:47:14 +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
759adf0f18
refactor(schemas): sync cloud m2m credential to logto config (#4115) 2023-07-04 08:24:41 +00:00
renovate[bot]
166ccf93ae
fix(deps): update @withtyped packages (#4105)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-02 20:17:26 +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
Darcy Ye
0a9c6d35cb
fix(schemas): update email service config systems table key (#4094) 2023-06-29 14:02:00 +08:00
silverhand-bot
53131ad5a7
release: version packages (#4033) 2023-06-28 18:57:43 +08:00
Darcy Ye
3d3c82b1c5
fix(schemas): fix sendgrid email service config (#4093) 2023-06-28 18:02:10 +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
019cb6cadd
chore(schemas,phrases): make zod peer dependency (#4050) 2023-06-19 11:21:13 +09:00
wangsijie
ab8c26226e
fix(schemas): modify domain table unique index (#3954) 2023-06-14 11:12:08 +09:00
Gao Sun
99c98b6654
refactor: minor improvements 2023-06-13 16:01:40 +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
Darcy Ye
e96e92b2df
feat(schemas,cloud): align tenant types (#4004) 2023-06-12 18:36:15 +08:00
renovate[bot]
a187503213
fix(deps): update dependency @withtyped packages to ^0.11.0 (#4007)
* fix(deps): update dependency @withtyped packages to ^0.11.0

* refactor: fix build

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-10 16:21:12 +08:00
wangsijie
81f053dfd8
feat(core,schemas): get fallback origin from cf api (#4005) 2023-06-09 02:35:28 +00:00
renovate[bot]
66ba526040
fix(deps): update @withtyped monorepo to ^0.10.0 (#4008)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-08 14:56:31 +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
silverhand-bot
3acb0d2db1
release: version packages (#3857) 2023-06-06 23:21:29 +08:00
simeng-li
5599667576
fix(console): hide some log headers for webhook event (#3971)
* fix(console): hide some log headers for webhook event

hide some log headers for webhook event

* fix(console): address typo

address typo
2023-06-05 17:27:45 +08:00
Gao Sun
c933bf58f7
feat: support default API Resource 2023-06-04 20:46:36 +08:00
Darcy Ye
a8ad9b9371
chore(schemas): remove useless comment (#3944) 2023-06-01 17:00:38 +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
Darcy Ye
62b1ee6b72
feat(cloud,schemas,cli): update cloud service tenant APIs (#3875) 2023-05-29 04:57:10 +00:00
wangsijie
0edd549365
feat(core): add domain routes (#3892) 2023-05-29 11:27:23 +08:00
Darcy Ye
f1d8466919
chore(cli,cloud,schemas): change default tenant name (#3890) 2023-05-26 17:38:52 +08:00
Darcy Ye
8cbf87bb73
feat(schemas,cli,core,cloud): add manage tenant self scope (#3865) 2023-05-26 17:38:09 +08:00
wangsijie
7fb5374963
feat(schemas): add domains table (#3884) 2023-05-26 11:45:26 +08:00
wangsijie
2cab3787c1
feat(schemas): add cloudflare hostnames configs (#3902) 2023-05-26 11:44:10 +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
Darcy Ye
0ebaec520e
feat(schemas): update tenants table schema (#3860) 2023-05-23 13:51:00 +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
simeng-li
a265f1f48e
fix(schemas): guard string length for default value field (#3868)
should also guard the string length for non-nullable field with a default value as well
2023-05-19 15:43:44 +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
Charles Zhao
497d5b5262
feat(console,phrases): add support to update sign-in identifiers in user details form (#3828)
* feat(console,phrases): add support to update sign-in identifiers in user details form

* chore: add changeset
2023-05-17 08:19:51 +00:00
simeng-li
21d1fa42c7
refactor(schemas,core): enable min string length guard (#3850)
enable min string length guard to all non-null string typed field in Guards
2023-05-17 11:28:22 +08:00
silverhand-bot
404fe9a03f
release: version packages (#3794) 2023-05-16 04:52:17 +00:00
simeng-li
30cd7727de
fix(schemas): remove the notnull string min-length guard from response type (#3844)
remove the notnull string min-length guard from response type
2023-05-15 09:10:40 +00: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
Xiao Yijun
8fc5b78def
refactor(schemas): update hook schema (#3788) 2023-05-09 09:25:45 +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
wangsijie
e57fc80bd4
fix(core): fix unpaginated scopes response (#3810) 2023-05-05 11:43:33 +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
Darcy Ye
6e5b48bdcb
chore(schemas,test,core): add IT to ensure mock connectors are installed (#3762) 2023-04-28 15:42:43 +08:00
silverhand-bot
4bba658d7b
release: version packages (#3751) 2023-04-27 19:11:20 +08:00
Darcy Ye
632b8b1d84
refactor(schemas,core,console): use JsonObject instead of ArbitraryObject (#3730) 2023-04-24 11:11:27 +08:00
silverhand-bot
dd24aafc17
release: version packages (#3728) 2023-04-20 17:04:15 +00:00
silverhand-bot
666c4eaaa7
release: version packages (#3722) 2023-04-19 22:34:00 +08:00
silverhand-bot
85889031d0
release: version packages (#3705) 2023-04-18 21:13:31 +08:00
Gao Sun
c55ff367c7
chore: specify versions for workspace protocol (#3707) 2023-04-17 10:10:14 +00:00
Charles Zhao
457cb28224
fix(console): adding social connector should mark related get-started action item as completed (#3693)
* fix(console): adding social connector should mark related get-started action item as completed

* chore: add changeset
2023-04-15 08:10:42 +08:00
renovate[bot]
e07355c42e
fix(deps): update dependency @withtyped/server to ^0.9.0 (#3587)
fix(deps): update withtyped packages to ^0.9.0

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-08 10:01:53 +00:00
renovate[bot]
901ef8ecd6
chore(deps): update silverhand configs monorepo packages to v3.0.1 (#3683)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-07 16:17:14 +00:00
Gao Sun
aa203308f0
refactor: reorg packages
update `@logto/shared` to a non-business package
and put business components into `@logto/*kit`.
2023-04-04 16:28:48 +08:00
Gao Sun
0e49e43245
refactor: update title in main flow and report pv for console sign-in (#3651) 2023-04-03 07:40:56 +00:00
silverhand-bot
ad13427c37
release: version core packages (#3644) 2023-03-30 19:44:40 +08:00
renovate[bot]
93bc915609
chore(deps): update silverhand configs monorepo packages to v3.0.0 (#3585)
* chore(deps): update silverhand configs monorepo packages to v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-24 16:28:36 +00:00
Gao Sun
296cad8fc5
release: version packages 2023-03-22 16:25:32 +08:00
Gao Sun
5b4da1e3dd
chore: force bump to fix npm publishment
as we published and unpublished schemas to v1.0.6 long time ago.
2023-03-22 16:23:20 +08:00
silverhand-bot
a43e72d177
release: version core packages (#3578) 2023-03-22 14:58:19 +08:00
renovate[bot]
11e302b2fa
chore(deps): update dependency typescript to v5 (#3463)
* chore(deps): update dependency typescript to v5

* refactor: fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-21 19:37:51 +08:00
Gao Sun
959d1f02dd
refactor: use caret range for workspace dependencies (#3566) 2023-03-21 19:33:08 +08:00
Gao Sun
28e9fa4290
release: core v1.0.0 (#3554)
* chore: move changesets

* release: core v1.0.0

* chore: update workflow
2023-03-20 23:57:04 +08:00
Gao Sun
a6cb092ff6
refactor: fix initial sie config for cloud 2023-03-20 17:29:20 +08:00
Gao Sun
c2e4226292
refactor: update initial data (#3534) 2023-03-20 16:08:44 +08:00
Gao Sun
f27eb508ed
refactor(console): hide Management API from editing (#3509) 2023-03-20 11:00:16 +08:00
Darcy Ye
ad3611f5a0
refactor(schemas,core,toolkit): remove connector db storage and disable access (#3505) 2023-03-19 11:45:13 +00:00
Gao Sun
169c4450eb
refactor: use essentials tryThat and trySafe 2023-03-18 13:02:51 +08:00
renovate[bot]
fa3c13a68d
chore(deps): update dependency @silverhand/essentials to v2.5.0 2023-03-17 18:41:13 +00:00
Xiao Yijun
3404684a61
refactor(console): update get-started tasks (#3439) 2023-03-17 14:19:29 +08:00
wangsijie
5b8d8c8c14
feat(cloud,schemas): add demo social connectors for tenant (#3444) 2023-03-17 10:21:48 +08:00
Charles Zhao
7b394f77c5
feat(console): initials avatar (#3372) 2023-03-16 08:57:23 +00:00
Xiao Yijun
658d905fe0
refactor(console): refactor theme-related types (#3419) 2023-03-16 13:34:23 +08:00
renovate[bot]
565a0aead2
chore(deps): update dependency @silverhand/essentials to v2.4.1 (#3421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 21:36:02 +08:00
wangsijie
76b49de1f0
feat(core,console): display demo connectors (#3425) 2023-03-15 17:09:26 +08:00
wangsijie
dc175580b9
feat(cloud): limit control for send email (#3418) 2023-03-15 15:55:21 +08:00
wangsijie
47881b6d6e
feat(schemas): add service logs table (#3390) 2023-03-14 15:15:45 +08:00
Gao Sun
0b45c8f487
refactor: fix schema types (#3379)
by separating CreateSchema and Schema. also no need for explicitly
set generic type for database builders like `buildInsertIntoWithPool()`.
2023-03-14 12:45:13 +08:00
simeng-li
57eb6ee452
feat(schemas,ui): add custom content slot (#3369) 2023-03-14 03:06:01 +00:00
Xiao Yijun
b1b5200876
feat(console): inspire me (#3360) 2023-03-13 13:58:58 +08:00
Gao Sun
fa85b7d0eb
refactor: remove withtyped in core (#3375)
Keeping withtyped will introduce an additional database pool per tenant,
which is not good for performance and it should be more like all-or-nothing choice.
So remove it for core, but keep it in cloud.
2023-03-13 04:01:14 +00:00
Gao Sun
5784cfeb18
feat(schemas,core): add sessionNotFoundRedirectUrl tenant config (#3365) 2023-03-13 03:36:10 +00:00
Charles Zhao
9896390065
fix(core,schemas): remove sessionId usage from verification status table (#3345) 2023-03-13 11:20:52 +08:00
Gao Sun
eed6e80e45
Merge pull request #3362 from logto-io/gao-use-compressed-file-when-possible
refactor(cloud): send compressed spa file when possible
2023-03-12 21:31:57 +08:00
wangsijie
1f618a3a10
feat(cli,cloud,schemas): seed m2m app for each tenant (#3364) 2023-03-12 09:34:15 +08:00
Gao Sun
6b12d345a7
refactor(cloud): send compressed spa file when possible 2023-03-11 15:24:26 +08:00
Xiao Yijun
0971f99e98
feat(console): image uploader (#3323) 2023-03-10 16:35:25 +08:00
Gao Sun
310c543f93
Merge pull request #3333 from logto-io/gao-log-5603-hide-role-for-user-tenant
refactor: hide internal roles for user tenants
2023-03-09 12:41:34 +08:00
Gao Sun
b4c4c1a6e5
Merge pull request #3328 from logto-io/gao-use-restrictive-policies
refactor(schemas): use restrictive policies
2023-03-09 12:40:12 +08:00
Xiao Yijun
105390f004
refactor: remove branding style config (#3326) 2023-03-09 11:23:06 +08:00
Gao Sun
c5da152ddc
refactor: hide internal roles for user tenants
introduce internal roles which name starts with #internal:
with RLS policies to make them read-only.
2023-03-09 00:07:33 +08:00
Gao Sun
bdd7374d31
refactor(schemas): use restrictive policies
for enhanced security and scalability. restrictive policies can
be combined with permissive policies for advanced use cases.
2023-03-08 19:16:42 +08:00
Charles Zhao
1f0bc8f3f4
refactor(console): polish code by improving data types and API routes (#3324) 2023-03-08 08:28:33 +00:00
Charles Zhao
43470c41f1
fix(core,schemas): add new verification status table (#3312) 2023-03-08 15:21:59 +08:00
Gao Sun
56ffba151b
fix: should return demo app data when query api (#3322)
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-03-08 03:34:40 +00:00
Gao Sun
1ca42e0573
Merge pull request #3316 from logto-io/gao-add-cloud-api-tests
test(cloud): init cloud unit tests
2023-03-08 11:24:18 +08:00
simeng-li
05ada94f95
feat(core,console,schemas,phrases): add privacy policy url (#3315) 2023-03-08 10:56:26 +08:00
Gao Sun
af4276e08e
test(cloud): init api tests 2023-03-08 10:49:51 +08:00
simeng-li
04cc1fe69a
feat(console,ui,phrases,schemas): update favicon and html title (#3302) 2023-03-08 02:46:10 +00:00
wangsijie
3c0c82a4bf
feat(core): add s3 storage provider (#3320) 2023-03-08 10:14:28 +08:00
wangsijie
13fcf6f3c2
feat(core,console): handle connector target confict (#3251) 2023-03-07 16:14:23 +08:00
wangsijie
f25a9d343c
feat(core,phrases,schemas): upload user assets with azure storage (#3289) 2023-03-07 06:00:12 +00:00
renovate[bot]
4eb2d14762
chore(deps): update dependency @silverhand/essentials to v2.4.0 (#3284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 04:25:50 +00:00
Gao Sun
08e7b6c6c2
refactor: allow admin to create tenants 2023-03-04 14:52:02 +08:00
Gao Sun
0a3d4bb345
Merge pull request #3274 from logto-io/gao-seed-for-multi-tenancy
refactor: seed data for multi-tenancy
2023-03-03 16:45:02 +08:00
Charles Zhao
84adbf66df
Merge pull request #3252 from logto-io/charles-log-5541-mainflow-like-form-ui-for-change-password
feat(console): add mainflow like modal style for change password
2023-03-03 14:18:23 +08:00
Gao Sun
a76ce24bee
refactor: seed data for multi-tenancy 2 2023-03-03 14:11:19 +08:00
Charles Zhao
ae9edd3ebc
feat(console): add mainflow like modal style for change password 2023-03-02 22:46:11 +08:00
Gao Sun
9775db7af8
refactor: seed data for multi-tenancy 2023-03-02 22:25:13 +08:00
Gao Sun
44909140bf
feat: create tenant for new users (#3255) 2023-03-01 20:55:26 +08:00
Gao Sun
d789a08e41
feat(console): support multi-tenancy (1/2) (#3205) 2023-02-28 16:04:12 +08:00
Xiao Yijun
13f877ca4d
refactor(console): get-started tasks (#3208) 2023-02-27 10:15:55 +08:00
silverhand-bot
cda2c821cd
release: version core packages (#3225)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-02-25 23:15:42 +08:00
Gao Sun
54ef69d4f4
refactor: filter out suspended users in hasActiveUsers() 2023-02-24 13:17:37 +08:00
Gao Sun
dd776eeb15
refactor(schemas): fix alteration script
The alteration script of moving sie configs to database should test
if admin tenant has active user instead of default tenant.
2023-02-24 13:11:49 +08:00
Gao Sun
09d2dac1ea
refactor: move admin console app to database (#3185) 2023-02-22 14:35:17 +00:00
Gao Sun
6858f3c8dc
refactor: move console sie to database (#3171) 2023-02-21 21:24:43 +08:00
Gao Sun
e3f88f5250
refactor: remove demo app db entity (#3165) 2023-02-21 03:45:06 +00:00
Gao Sun
1ef5519e75
feat: custom css (#3155) 2023-02-21 10:55:44 +08:00
Darcy Ye
a13d27a018
feat: enabled connector db read and write (#3127) 2023-02-20 18:54:02 +08:00
Gao Sun
86ecd79b36
refactor(cloud): wrap create tenant in transaction (#3151) 2023-02-20 06:49:08 +00:00
Gao Sun
735796059c
refactor(schemas): add alteration script 2023-02-20 11:33:20 +08:00
Gao Sun
76a04d97b3
feat(cloud): POST /tenants 2023-02-20 00:27:12 +08:00
Gao Sun
12377665b4
refactor(cloud): implement request auth 2023-02-19 11:31:16 +08:00
Gao Sun
ed4894a19f
feat: init cloud 2023-02-18 13:34:52 +08:00