0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
Commit graph

1735 commits

Author SHA1 Message Date
Gao Sun
fcda26ac2f
refactor(core): fix resource parameter 2023-11-10 14:59:48 +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
bcc397e5fc
Merge pull request #4846 from logto-io/gao-organization-toke-grant-tests
test(core): add organization token grant unit tests
2023-11-10 14:47:57 +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
Xiao Yijun
c5809e4722
refactor(experience): remove demo app notification (#4851) 2023-11-10 11:52:44 +08:00
Gao Sun
e057e2fc42
refactor: update organization scopes 2023-11-09 16:16:43 +08:00
Gao Sun
6e2b7c0975
refactor(core): add comments 2023-11-09 11:30:34 +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
Gao Sun
1da764cd5b
test(core): add organization token grant unit tests 2023-11-08 22:50:28 +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
c532a3fe38
refactor(core): rename type folder for oidc-provider 2023-11-08 16:16:01 +08: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
da24e523f7
refactor(core): fix tests 2023-11-08 15:44:27 +08:00
Gao Sun
9e4ee1be19
feat: organization_token grant 2023-11-08 15:30:05 +08:00
Charles Zhao
414604838d
Merge pull request #4834 from logto-io/charles-log-7417-support-searching-organization-by-id
feat(core): support searching organization by id
2023-11-08 12:31:56 +08:00
Darcy Ye
f694256461
Merge pull request #4806 from logto-io/yemq-log-7174-add-saml-sso-connector-class
feat(core): add SAML SSO class

feat(core,test): update SSO connector APIs for SAML class and add integration test cases
2023-11-07 22:11:41 +08:00
Darcy Ye
7fe41a0037
feat(core,test): update sso connector util functions, APIs and integration tests (#4807) 2023-11-07 21:12:29 +08:00
wangsijie
a3b5b55281
feat(core): add isDevelopmentTenant to SIE well-known api (#4825) 2023-11-07 17:30:20 +08:00
Charles Zhao
48c0e028af
feat(core): support searching organization by id 2023-11-07 15:52:44 +08:00
Gao Sun
9ae4d9aad7
feat: support organizations scope for ID token 2023-11-07 12:33:53 +08:00
Darcy Ye
40a5a18d90
feat(core): add saml sso class 2023-11-07 12:01:35 +08:00
Charles Zhao
c65dcb9552
fix(core): allow http1 in core services (#4823) 2023-11-07 11:39:26 +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
Gao Sun
6673996288
refactor(core): disable org apis for non-dev envs (#4813) 2023-11-03 04:32:12 +00: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
wangsijie
ddf4468189
feat(core,phrases): disable auto skip mfa (#4786)
* feat(core,phrases): disable auto skip mfa

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

---------

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2023-11-02 15:09:00 +08:00
wangsijie
9ed7be3f67
fix(core): check user mfa when binding backup code (#4790) 2023-11-02 13:05:12 +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
wangsijie
161f012bc0
fix(core): prompt to bind mfa for register (#4783) 2023-10-31 09:32:20 +08:00
Darcy Ye
1ab39d19b6
fix(console,core,test): support filter by type for GET roles and apps APIs (#4727)
* fix(console,core): do not reuse advanced search for role/app type

* chore(test): add integration test cases for using search component when assigning app/role

* chore: apply suggestions from code review

Co-authored-by: Gao Sun <gao@silverhand.io>

* chore(test): add API test cases for filtering roles/applications and add changeset

* chore: apply suggestions from code review

Co-authored-by: Gao Sun <gao@silverhand.io>

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-30 14:25:15 +00: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
wangsijie
8798432a24
feat(core,phrases): add mfa verifications by api (#4765) 2023-10-28 07:00:24 +00:00
Gao Sun
d9a469dee3
Merge pull request #4772 from logto-io/gao-improve-org-settings-page
refactor(console): improve org settings page
2023-10-28 01:41:44 +08:00
Gao Sun
d012008fd5
refactor(core): allow empty relation array for PUT 2023-10-28 01:27:10 +08:00
renovate[bot]
77cec73429
fix(deps): update dependency jose to v5 (#4761)
* fix(deps): update dependency jose to v5

* chore(deps): rebase lockfile update

rebase lockfile update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-27 16:52:32 +08:00
wangsijie
160fe94df7
fix(core): block the use of unavailable MFA (#4756) 2023-10-27 07:14:40 +00:00
wangsijie
97d1dfaa90
fix(core): fix validateBindMfaBackupCode to force linking backup code (#4753) 2023-10-27 14:55:48 +08:00
wangsijie
75e5df0091
fix(core): fix mfa log type (#4750) 2023-10-27 11:51:34 +08:00
wangsijie
752d02b316
fix(core): remove user verification requirement for webauthn (#4751) 2023-10-27 11:50:49 +08:00
simeng-li
85a39c35d7
refactor(core): refactor the sso-connector config guard logic (#4752)
* refactor(core): refactor the sso-connector config guard logic

refactor the sso-connector config guard logic

* chore(core): update with some more comments

update with some more comments

* refactor(core): adjust the input type of parseConnectorConfig

make the config requred in the parseConnectorConfig's input

* refactor(core): add the isSupportedSsoConnector type assertion (#4754)

* refactor(core): add the isSupportedSsoConnector type assertion

add the isSupportedSsoConnector type assertion

* chore(core): remove the useless comments

remove the useless comments

* refactor(core): reorg the sso utils

reorg the sso utils

* refactor(core): extract sso connector library

extract sso connector library
2023-10-27 11:47:58 +08:00
renovate[bot]
7a777bf101
chore(deps): update dependency sinon to v17 (#4711)
* chore(deps): update dependency sinon to v17

* 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 11:33:46 +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
Gao Sun
83cd281173
Merge pull request #4748 from logto-io/gao-use-sentence-case
chore: use sentence case
2023-10-25 21:07:02 -05:00
Gao Sun
d06c6e520c
Merge pull request #4746 from logto-io/gao-fixing-review-to-dos
refactor(console): fixing code review to-dos
2023-10-25 21:02:50 -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
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