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

1025 commits

Author SHA1 Message Date
Darcy Ye
5ea8c49c5d
chore: fix 2024-03-22 17:50:31 +08:00
Gao Sun
a98bc3da54
Merge pull request #5530 from logto-io/gao-add-oidc-standard-claims
feat: add oidc standard claims to user
2024-03-21 23:25:50 +08:00
Gao Sun
3cb9b892da
refactor: fix test and ci 2024-03-21 23:10:24 +08:00
Gao Sun
f60e64175f
Merge pull request #5526 from logto-io/gao-store-raw-data-social
feat: return and store social connector raw data
2024-03-21 22:47:13 +08:00
Darcy Ye
5c6af3823c
Merge pull request #5525 from logto-io/yemq-log-8444-add-jwt-customizer-test-api
feat(core): add POST /configs/jwt-customizer/test API
2024-03-21 13:04:19 +08:00
Xiao Yijun
d913c8d5ca
chore(schemas): remove deprecated prune:logs scope (#5524) 2024-03-21 11:33:49 +08:00
Darcy Ye
b2e00df1b9
refactor: keep origin customJwtFetcherGuard 2024-03-21 10:58:36 +08:00
Darcy Ye
9c7956da5c
refactor: refactor 2024-03-21 10:57:23 +08:00
Darcy Ye
aac7a7bcf8
chore: update core dependency 2024-03-21 10:56:13 +08:00
Darcy Ye
5fbee28565
feat(core): add POST /configs/jwt-customizer/test API 2024-03-21 10:56:12 +08:00
Darcy Ye
f727ef8415
Merge pull request #5529 from logto-io/yemq-log-8446-update-user-context-type
refactor(core): update user context type
2024-03-21 10:54:46 +08:00
simeng-li
9518658595
fix(schemas): fix the get interation/consent api bug (#5503)
* fix(schemas): fix the get interation/consent api bug

fix the get interation/consent api bug

* chore: update changeset

update changeset

* fix: update changeset

update changeset

* refactor(schemas, console): alter the resource scopes description field to nullable (#5504)

* refactor(schemas, console): alter the resoruce scopes description field nullable

make the resourec scopes description nullable

* fix(test): fix the type issue in the integration test

fix the type issue in the integration test

* fix(console): add the field register

add the field register

* fix: update the changeset

update the changeset

* fix(console,test): update comments and rebase

update comments and rebase the master
2024-03-20 14:31:35 +08:00
Gao Sun
6feb531435
feat: add profile api, update api and database, add tests 2024-03-20 13:16:23 +08:00
Darcy Ye
e5e378d1bb
chore: remove org role scopes field since it relies on pagination setup 2024-03-20 12:58:12 +08:00
Darcy Ye
8f5baac585
refactor(core,schemas): refactor to improve lib method performance 2024-03-20 00:47:56 +08:00
Gao Sun
beff82ae2c
feat: add oidc standard claims to user 2024-03-19 22:51:26 +08:00
Darcy Ye
348124b60e
refactor(core): update user context type 2024-03-19 16:01:55 +08:00
Gao Sun
57d97a4df8
feat: return and store connector raw data 2024-03-19 14:05:42 +08:00
Gao Sun
0a5226c4be
chore: upgrade slonik 2024-03-18 09:59:38 +08:00
Gao Sun
fbbe767867
refactor: use silverhand slonik 2024-03-16 19:04:55 +08:00
Gao Sun
54c2b1d1e3
refactor: fix errors 2024-03-16 14:44:32 +08:00
Darcy Ye
2908c816e7
chore(schemas): export custom JWT API request body type (#5510)
chore(schemas): export custom jwt API request body type
2024-03-15 10:24:21 +00:00
simeng-li
2a358bf241
refactor(console,core,schemas): rename the jwtCustomizer related type and guards (#5496)
rename the jwtCustomizer related type and guards
2024-03-13 06:35:47 +00:00
simeng-li
2c5a4491ae
refactor(core,console): align the jwt token path enum (#5493)
align the jwt token path enum used in console and core
2024-03-13 01:48:12 +00:00
Darcy Ye
733f092e40
chore(schemas): add cloud scope, service log type and API guard 2024-03-12 15:26:04 +08:00
Darcy Ye
9eb1c4ad7f
feat(core,schemas): update jwt customizer user info context 2024-03-11 18:29:29 +08:00
Darcy Ye
18dfcdabb9
chore(schemas): renaming 2024-03-06 16:24:57 +08:00
Darcy Ye
d6d282f355
chore(schemas): add comments 2024-03-06 16:07:02 +08:00
Darcy Ye
ada9c4dc89
feat(schemas): remove API path JWT token type enum to keep things simple 2024-03-05 20:11:14 +08:00
Darcy Ye
1fd9f8ec50
feat(core): remove guard definition and refactor code 2024-03-05 16:02:31 +08:00
Darcy Ye
13c3fd211d
feat(schemas): update logto_configs table related types 2024-03-05 15:18:46 +08:00
Xiao Yijun
94d3b2c2e7
refactor(schemas): regenerate dau table data from logs (#5455) 2024-03-04 14:05:23 +08:00
Gao Sun
3b9edaea14
chore(schemas): upgrade withtyped pacakge 2024-03-04 12:15:57 +08:00
wangsijie
79b49ab79a
feat(core): support more encrypt methods (#5444)
* feat(schemas): add more encryption methods

* feat(core): support more encrypt methods

* fix(schemas): fix alter down column name

* fix(core): fix tiny lint issue

* refactor(core,schemas): use uppercase value

* feat(core,schemas): add bcrypt

* fix(schemas): fix alter script

* refactor(core,schemas): rename bcrypt and use hash-wasm

* chore: fix lock file
2024-03-04 03:18:19 +00:00
Gao Sun
0a1ad74691
refactor(schemas): update schema to fit cloud 2024-03-01 14:56:32 +08:00
silverhand-bot
16ca8b2a98
release: version packages (#5445) 2024-03-01 14:40:25 +08:00
5aaee9
0457df0e35
fix(schemas): set default password for tenant (#4535) (#5339)
* fix(schemas): set default password for tenant (#4535)

* feat(schemas): set password when enable encrypt
2024-03-01 13:50:49 +09:00
Xiao Yijun
c65730bcd2
refactor(core, schemas): enhance the time accuracy of dau data (#5451) 2024-03-01 12:43:55 +08:00
Xiao Yijun
f078e968cf
refactor(schemas): rename cleanup:outdated-logs scope toprune:logs (#5452) 2024-02-29 16:12:24 +08:00
Darcy Ye
873d20fed9
fix(core): mgmt API scopes are not assignable to user roles (#5425)
* fix(core): mgmt API scopes are not assignable to user roles

* feat: add alteration script to remove mgmt api scopes already assigned to user role

* chore: use option object
2024-02-27 03:19:59 +00:00
silverhand-bot
e606462bcc
release: version packages (#5433) 2024-02-26 08:41:08 +00:00
Xiao Yijun
be9428fa0d
feat(schemas): add cleanup:outdated-logs cloud scope (#5381) 2024-02-22 14:14:40 +08:00
Darcy Ye
b6233a1a58
feat(core,test): add PUT /users/:userId/identities/:target API (#5410) 2024-02-19 22:27:32 +08:00
simeng-li
52f4e578a5
refactor(core,schemas): remove cloudConnection call in koaTenantGuard (#5395)
remove cloudConnection dependency in the koaTenantGuard
2024-02-19 10:45:57 +08:00
silverhand-bot
3f28e9a445
release: version packages (#5068) 2024-02-08 13:18:42 +08:00
Gao Sun
0a87ffd609
refactor(core): use deepmerge (#5361) 2024-02-01 09:17:29 +08:00
wangsijie
db2d10a2a8
fix(core,schemas): use database index to prevent custom domain conflict (#5342) 2024-01-31 11:05:20 +08:00
Gao Sun
70b8ff707e
Merge pull request #5335 from logto-io/gao-remove-magic-links
refactor: remove magic links
2024-01-30 15:29:21 +08:00
Gao Sun
abe97c1182
Merge pull request #5330 from logto-io/gao-put-invitation-status
feat(core): put invitation status
2024-01-30 15:28:03 +08:00
Charles Zhao
2263cb93d5
refactor(console,schemas): bring back hidden get-started page (#5327) 2024-01-30 12:31:31 +08:00
wangsijie
1963e12bd7
fix(core,schemas): use database index to prevent subdomain conflict (#5326) 2024-01-30 11:53:27 +08:00
Gao Sun
6d0f95739c
refactor: remove magic links 2024-01-29 20:21:45 +08:00
Gao Sun
0a20b5a6f8
feat(core): put invitation status 2024-01-29 19:39:27 +08:00
Gao Sun
ee91767ce9
refactor: add invitation api tests (#5324)
* refactor: add invitation api tests

* refactor: update alteration

* refactor: fix config guard
2024-01-29 01:39:52 +00:00
Gao Sun
e999f61187
refactor(schemas): allow null inviter (#5278) 2024-01-25 12:00:56 +00:00
simeng-li
52411f6712
feat(experience): add redirect uri info (#5296)
add redirect uri info
2024-01-25 11:48:01 +08:00
wangsijie
5b37be116a
fix(core,phrases): prevent application deletion for custom domain (#5262)
fix(core,phrases): prevent application deletion when custom domain exists
2024-01-24 08:46:35 +08:00
wangsijie
0d4d1b16f5
fix(schemas): remove catchall from cloudflare data guard (#5271) 2024-01-22 13:50:40 +08:00
wangsijie
cb5763f449
feat(core): sync protected app domain status (#5257) 2024-01-22 03:35:46 +00:00
simeng-li
2f1fb659ef
refactor(core): update the consent apis (#5267)
update the consent apis
2024-01-22 02:29:32 +00:00
wangsijie
ea407f19fa
feat(core,schemas): prepare schemas for protected app custom domain (#5247) 2024-01-19 13:17:20 +08:00
simeng-li
08f8688cf2
feat(core): add get consent info api (#5259)
add get consent info api
2024-01-19 10:52:55 +08:00
wangsijie
e1bbbd9ebf
feat(core,shared,phrases): check subdomain when creating protected app (#5217) 2024-01-16 16:30:03 +08:00
simeng-li
de37e71239
feat(schemas): add new application user consent orgs table (#5235)
add new application user consent organizations table
2024-01-16 10:47:59 +08:00
wangsijie
cbfd00e673
feat(core,schemas): add block domain list (#5234) 2024-01-15 15:45:00 +08:00
Gao Sun
75b643ad2f
feat(schemas, core): init organization invitation apis 2024-01-11 18:08:26 +08:00
Gao Sun
41f7b4d8ad
refactor(schemas): use native enum for invitation status 2024-01-11 17:30:41 +08:00
Gao Sun
571b53d9cc
feat(schemas): init org invitation tables 2024-01-11 14:38:37 +08:00
Gao Sun
665454bacb
refactor(schemas): fix alteration script 2024-01-09 20:20:12 +08:00
Gao Sun
3d5786d982
refactor: remove legacy resources (#5118)
* refactor: remove legacy api resources

* refactor: remove legacy resources

* refactor: add alteration script

* refactor(cli): adjust legacy seed test data

* refactor: update alteration timestamp

* refactor: update organization role name
2024-01-08 14:47:30 +08:00
wangsijie
ade9cf1dc7
feat(core): sync site configs to KV for new protected app (#5135) 2024-01-08 14:36:43 +08:00
Xiao Yijun
5538946a9b
fix(core): fix dev tenant migration data guard (#5201) 2024-01-05 14:06:29 +08:00
Xiao Yijun
06c5795181
fix(console): allow image/x-icon mime type (#5193) 2024-01-03 11:20:21 +08:00
Xiao Yijun
b35c353d72
refactor: deprecate staging env tag (1/2) (#5180) 2024-01-02 12:51:24 +08:00
Gao Sun
d1f929e2a4
fix(schemas): update alteration script timestamp 2023-12-26 11:54:51 +08:00
Gao Sun
5f855790a4
refactor: remove tenant owner role (#5145) 2023-12-26 10:37:43 +08:00
Xiao Yijun
12e6d288dd
feat(console): add charge notification for token usage (#5153) 2023-12-25 09:13:07 +00:00
Xiao Yijun
a6f12307b3
feat(console,core): support hidding charge notification on read (#5151) 2023-12-25 16:42:13 +08:00
Darcy Ye
8d5ff29e27
feat(core,schemas): add daily token usage table to ease the usage calculation (#5148) 2023-12-25 04:56:53 +00:00
Gao Sun
9089dbf845
chore(deps): upgrade TypeScript (#5141)
* chore(deps): upgrade TypeScript

* chore: upgrade configs

* chore: fix tsconfig and add changeset

* chore: upgrade jest-related deps and fix code
2023-12-22 15:16:49 +08:00
simeng-li
6e82e99725
feat(core,schemas,phrases): add application sign-in-experience apis (#5129)
add application sign-in-experience apis
2023-12-21 11:28:10 +08:00
simeng-li
541ea2919c
feat(schemas): add application sign-in-experience table (#5122)
* feat(schemas): add application sign-in-experience table

add application level sign-in-experience table

* fix(schemas): fix table name

fix table name

* fix(schemas): fix table file name

fix table file name
2023-12-21 10:20:45 +08:00
simeng-li
072c6629d3
feat(core,schemas): add application user consent scope delete api (#5120)
* feat(core,schemas): add application user consent scope delete api

add application user consent scope delete api

* chore(core): add the invalid user consent scope type fallback error

add the invalid user consent scope type fallback error
2023-12-20 13:34:18 +08:00
Gao Sun
ca68a2a547
Merge pull request #5105 from logto-io/gao-tenant-org-alteration
refactor(schemas,core,cli): init tenant organizations
2023-12-19 23:06:41 +08:00
wangsijie
e28822997f
feat(schemas): add column protected_app_metadata (#5113)
* feat(schemas): add new application type for protected app

* feat(schemas): add column protected_app_configs
2023-12-19 17:04:14 +08:00
wangsijie
7e435c4749
feat(schemas): add new application type for protected app (#5112) 2023-12-19 15:59:27 +08:00
Gao Sun
36139d7002
refactor(schemas): skip adding membership when no user found 2023-12-16 14:48:01 +08:00
simeng-li
5c936e0976
feat(core,schemas): add GET application user consent scopes api (#5103)
* feat(core,schemas): add GET application user consent scopes api

add GET application user consent scopes api

* fix(core): remove useless field declare

remove useless field declare
2023-12-15 18:12:52 +08:00
Gao Sun
b8fd594fea
refactor: fix workflow 2023-12-15 16:50:14 +08:00
simeng-li
875e948186
feat(schemas): add application permissions relation tables (#5097)
* feat(schemas): add application permissions relation tables

add appliaction permissions relation tables

* refactor(schemas): redesign the application user scope relations table

redesign the application user scope relations table

* refactor(schemas): rename application user consent scopes table name

rename application user consent scopes table name

* fix(schemas): fix dirty char

fix dirty char

* refactor(schemas): rename resource scope column name

rename resource scope column name

* fix(schemas): fix the wrong column name

fix the wrong column name

* refactor(schemas): update the userscope column length

update the userscope column length
2023-12-15 10:18:44 +08:00
Gao Sun
30e4e103c2
refactor(cli): seed organization data 2023-12-15 00:31:19 +08:00
Gao Sun
3e3fa20241
refactor(schemas): add alteration script for tenant organizations 2023-12-14 17:25:17 +08:00
simeng-li
a93a39aa1b
feat(core,schemas): add isThirdParty column to the applications table (#5090)
* feat(core,schemas): add isThirdParty column to the applications table

add isThirdParty column to the applications table

* refactor(core): group the application routes under applications directory (#5091)

* refactor(core): group the application routes under applications directory

group the application routes under applications directory

* refactor(core,schemas): refactor the application api guard

refactor the application api guard

* fix(schemas): fix application patch guard

fix application patch guard

* fix(test): fix ut

fix ut
2023-12-12 14:54:49 +08:00
Gao Sun
31e60811d7
chore: use Node 20 LTS for engine requirement (#5084) 2023-12-11 09:10:53 +08:00
Gao Sun
a2ce0be466
feat(schemas): add tenant role enum and scope enum 2023-12-08 16:57:48 +08:00
silverhand-bot
4865610b51
release: version packages (#4894) 2023-12-06 16:13:56 +08:00
simeng-li
cdf5a22315
refactor(core,schemas,console): optimize the sso connector endpoints naming (#5047)
* refactor(core,schemas): rename the sso-connector-factory terms to connector-provider

shouls align the terms of api. Replace the factory using provider.

* refactor(core,console): rename the sso-connector-providers response property name

 rename the sso-connector-providers response property name

* chore(core): update api doc content

update api doc content

* feat(core): declare the SAMLResponse field in ACS api body

declare the SAMLResponse field in ACS api body

* refactor(console,core): categorize standard SSO providers at client side only

categorize standard SSO providers at client side only

* fix(core): fix rebase issue

fix rebase issue

* chore(console): remove useless useMemo

remove useless useMemo

* chore(core): update the api content

update the api content
2023-12-04 15:07:33 +08:00
Xiao Yijun
3e92a20320
refactor(core): add user ip to webhook event payload (#5049) 2023-12-04 06:06:28 +00:00
simeng-li
5150ead19f
feat(core,schemas): add new singleSignOnEnabled field to sie (#5003)
* feat(core,schemas): add new singleSignOnEnabled field to sie

add new singleSignOnEnabled field to sie

* chore(core): add some comment

add some comment

* fix(experience): update mock data

update mock data
2023-11-30 16:34:08 +08:00
simeng-li
c47e0192ff
feat(schemas): add unique constrain to the SSO connectorName field (#4974)
add unique constrain to the SSO connectorName field
2023-11-28 13:55:47 +08:00
Darcy Ye
5e695c2dd6
chore(console,phrases): update SSO connector name display (#4965) 2023-11-28 03:39:09 +00:00
simeng-li
b48ab51098
refactor(core,schemas): add SSO displayName (#4969)
feat(core,schemas): add SSO connector displayName property

add SSO connector displayName property
2023-11-28 11:34:48 +08:00
Darcy Ye
ac099b1e64
chore(console,core): add/replace SSO connector logo resources (#4963) 2023-11-27 11:02:34 +08:00
simeng-li
3f84e724b9
refactor(core): remove SSO connector config partial update logic (#4958)
* refactor(core): remove SSO connector config partial update logic

remove SSO connector config partial update logic

* fix(test): fix integration tests

fix integration tests

* refactor(core): refactor SAML SSO idpConfig type (#4960)

refactor SAML SSO idepConfig type
2023-11-24 06:21:59 +00:00
simeng-li
a36ae032e3
feat(core): add OKTA sso connector (#4951)
add OKTA sso connector
2023-11-23 13:35:28 +08:00
Darcy Ye
367673b25c
feat(console): add SSO connector details page (settings tab) (#4912) 2023-11-22 04:28:39 +00:00
simeng-li
3b3bfd750a
refactor(core,schemas): remove get provider properties method (#4927)
* refactor(core,schemas): remove get provider properties method

remove get provider properties method

* chore(core): adjust the comment

adjust the comment

* fix(console): fix console type error

fix console type error, remove providerProperties
2023-11-22 10:58:12 +08:00
wangsijie
651902c97d
refactor(schemas): add js-doc to tenant tag enum (#4909)
* refactor(schemas): add jsdoc to tenant tag enum

* chore: code review fix

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

* chore: code review fix

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>

---------

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-11-21 11:35:07 +08:00
simeng-li
f880329d16
feat(core,experience): implement google workspace connector (#4925)
* feat(core,experience): implement google workspace connector

implement google workspace connector

* fix(core): clean code

clean code

* fix(core): fix ut

fix ut

* fix(core): fix ut

fix ut

* fix(test): fix integration tests

fix integration tests

* fix(core): make the sso data as public property and remove getter

make the sso data as public perperty and remove getter
2023-11-21 11:13:59 +08:00
Xiao Yijun
15fd06fb4b
refactor(console,schemas): add reserved plan id enum (#4919) 2023-11-20 15:45:28 +08:00
Darcy Ye
57655dfeb7
feat(console,phrases,core): add SSO connector creation guide (#4866) 2023-11-19 06:30:22 +00:00
Darcy Ye
787359c1c4
feat(console): show SSO identities on user details page and reorg the page (#4687) 2023-11-16 11:26:26 +08:00
Gao Sun
9a4da065dc
fix(core): generate correct swagger components (#4884)
* fix(core): generate correct swagger components

* refactor(core): fix tests
2023-11-16 11:19:54 +08:00
Gao Sun
bfda1d2c95
refactor(schemas): use user membership as foreign key for user org roles (#4885) 2023-11-16 11:19:44 +08:00
silverhand-bot
76c8bb2fbf
release: version packages (#4873) 2023-11-14 19:57:42 +08:00
Xiao Yijun
e676f0c6eb
feat(console): add tenant env migration modal (#4859) 2023-11-13 19:23:22 +08:00
Gao Sun
a53fcfc654
Merge pull request #4854 from logto-io/gao-use-refresh-token-grant
refactor(core): reuse `refresh_token` grant for org tokens
2023-11-13 18:45:55 +08:00
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