0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
Commit graph

895 commits

Author SHA1 Message Date
simeng-li
b51680a78f
feat(core): add denyAccess api context to customJwt script (#6532)
* feat(schemas,core): add denyAccess api conext to custom jwt

add denyAccess api context to the custom jwt

* fix(test): fix integration test

fix integration test

* chore(schemas): update type name

update api context type name

* chore(schemas): fix typo

fix typo

* feat(core): add dev feature guard

add dev feature guard
2024-09-03 18:12:57 +08:00
Xiao Yijun
3d3a220306
chore: remove dev feature guard for first screens (#6522)
* chore: remove dev feature guard for new first screens

* chore: add changeset

* chore(experience): add comments for identifier sign-in and register page
2024-08-28 09:53:54 +08:00
Xiao Yijun
ef78823948
refactor(experience): remove redundant defaultType prop for SmartInputField (#6517) 2024-08-26 19:35:57 +08:00
wangsijie
52056f99f1
chore: remove dev feature guard of PAT (#6499) 2024-08-23 14:38:14 +08:00
wangsijie
4be675a53a
fix(core): add grant record for token exchange (#6502) 2024-08-22 07:29:54 +00:00
Xiao Yijun
fec844c3ce
feat(experience): add reset password first screen (#6498) 2024-08-22 14:44:05 +08:00
wangsijie
50bbcb69ee
test: add integration tests for pat token introspection (#6501) 2024-08-22 14:41:55 +08:00
wangsijie
2ebc47170e
fix(core): remove the requirement of secured app for PAT (#6493) 2024-08-22 13:54:47 +08:00
Darcy Ye
a999c51919
fix(core,console): disable quota guard and unblock resource creation for pro tenants (#6487) 2024-08-21 08:58:10 +00:00
Xiao Yijun
d4674833c8
fix(experience): correct first screen fallbacks (#6472) 2024-08-20 06:04:29 +00:00
wangsijie
746aa5897b
feat(core): token exchange by pat (#6450) 2024-08-19 11:36:04 +00:00
Xiao Yijun
f205aa7af7
test(experience): add integration tests for first screen feature (#6464) 2024-08-19 09:57:11 +00:00
simeng-li
2362791edc
chore(core): remove devFeature guard (#6462)
* chore(core): should not trigger profile update log

should not trigger profile update log if the synced profile is empty

* chore(core): add userId to experience audit log

add userId to the experience audit log

* chore(core): remove devFeature guard

remove devFeature guard

* feat(test): remove devFeature guard in test

remove devFeature guard in test
2024-08-19 13:00:19 +08:00
simeng-li
cea8aa1120
feat(core): implement wellknown swagger endpoints (#6445)
* feat(core): implement wellknown swagger endpoints

implement wellknown swagger endpoints

* chore(core): rename

rename

* refactor(core): extract common util methods

extract common util methods

* fix(core): fix lint error

fix lint error

* refactor(core): shared code optimization

shared code optimization

* chore(core): remove type assertion

remove type assertion
2024-08-19 09:37:23 +08:00
simeng-li
50e430880d
refactor(core): redesign get sso connectors endpoint (#6454)
* refactor(core): redesign get sso connectors endpoint

redesign get sso conenctors endpoint

* chore(core): fix import format

fix import format
2024-08-16 11:06:35 +08:00
simeng-li
db42279ed4
feat(core): add experience APIs openapi docs (#6436)
* feat(core): add experience APIs openapi docs

add experience APIs openapi docs

* fix(core): adjust the format

adjust the format

* chore: update experience API description

update experience API description

* fix(core): fix integration tests

fix integration tests

* chore(core): add devFeature tag in openapi doc

add devFeature tag in openapi doc

* fix(core): fix the integration test

remove the redundent path paramter def
2024-08-15 10:05:52 +08:00
wangsijie
fe054d5af5
feat(core): modify and delete PATs (#6390) 2024-08-13 11:37:58 +08:00
wangsijie
22d0a06fc6
feat(core): list PATs (#6389) 2024-08-13 10:47:37 +08:00
wangsijie
86e76ffc8a
feat(core): create PAT (#6388) 2024-08-13 10:10:41 +08:00
Xiao Yijun
ab90f43db2
fix(experience): prevent errors from applying unsupported cached identifier types (#6425)
* fix(experience): prevent errors from applying unsupported cached identifier types

* test(experience): add integration tests for cached input value

* refactor(experience): rename `getIdentifierInputValue` to `getIdentifierInputValueByTypes`

* refactor(experience): add `identifierInputValue` back

* refactor(experience): update implementation
2024-08-12 10:28:32 +08:00
silverhand-bot
ddfa7aa96e
release: version packages (#6197) 2024-08-08 13:00:14 +08:00
simeng-li
d26fca70fb
refactor(core,schemas): refactor the register flow (#6401)
* refactor(core,schemas): refactor the registration flow

refactor the registraction flow

* fix(core): remove unused method

remove unused method

* fix(test): remove legacy test

remove legacy test

* fix(core): fix webauthn verificaiton api

fix webauthn verification api
2024-08-07 10:48:38 +00:00
simeng-li
d927f90a07
feat(core): support google one tap (#6395)
* feat(core): support google one tap

support google one tap verification

* fix(core): fix google one tap verification error

fix google one tap verification error

* fix(test): optimize social verification test

optimize social verificaiton tests

* fix(test): update social verification ut

update social verification util unit test
2024-08-07 10:36:52 +00:00
Darcy Ye
2e3a0063ba
fix(core): should not throw when not adding any new roles to a user (#6387) 2024-08-05 02:58:47 +00:00
simeng-li
5024182986
refactor(core): should not guard sso authentication flow (#6394)
should not guard mfa and profile fulfillment for the sso authentication flow
2024-08-05 09:05:08 +08:00
Gao Sun
c6a1cab399
refactor: add tests for content-type in oidc apis (#6380) 2024-08-01 09:38:09 +00:00
simeng-li
a1f6009cc5
refactor(core): make password optional in NewPasswordIdentity (#6377)
refactor(core): make password optional in NewPasswordIdentity verification

make password optioanl in NewPasswordIdentity verification
2024-08-01 17:17:51 +08:00
simeng-li
b91ec0cd6f
feat(core,console,phrases): add custom data editor to application details page (#6370)
* feat(core,console,phrases): add custom data editor to application details page

add custom data editor to application details page

* chore: add changeset

add changeset

* fix(core): fix input params bug

fix input params bug

* fix(test): fix the integration tests

fix the integration tests

* fix(console): use the form controller element

use the form controller element

* fix(core,console): remove deepPartial statement

remove deepPartial statement from the patch application API payload guard

* fix(test): fix backchannel integration test

fix backchannel integration test
2024-08-01 14:11:44 +08:00
simeng-li
dab06cb1a9
feat(core,schemas): add mandatory password guard on register (#6368)
* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* feat(core,schemas): add mandatory password guard on register

add mandatory password guard on register
2024-08-01 10:20:23 +08:00
simeng-li
3b4da16247
feat(core): add webhooks middleware to experience api (#6357)
* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* feat(core): add hooks middleware to experience APIs

add interaction hooks to experience APIs

* refactor(core): refactor experience API context type

refactor experience API context type
2024-07-31 14:20:31 +08:00
simeng-li
dbc5512c0b
refactor(core): make the interaction event mandatory (#6337)
* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* fix(core): fix rebase issue

fix rebase issue

* refactor(core): make the interaction event mandatory

make the interaction event mandatory

* test: update integration tests

update integration tests

* fix(core): fix the middleware apply bug

fix the koaExperienceInteraction middleware apply bug
2024-07-31 13:43:27 +08:00
Gao Sun
40a8a9a9bb
feat: allow app secret edit (#6352) 2024-07-29 10:59:17 +00:00
Gao Sun
a46d5ac6a7
Merge pull request #6322 from logto-io/gao-launch-multi-app-secrets
chore: launch multiple app secrets
2024-07-29 15:26:42 +08:00
Gao Sun
210fb6ef73
ci: add check job 2024-07-28 13:55:55 +08:00
Gao Sun
8a29943c4d
chore: fix failed tests 2024-07-28 11:59:25 +08:00
Gao Sun
85c873b3b1
refactor: use tsup for building 2024-07-28 11:34:47 +08:00
Gao Sun
b188bb1619
chore: launch multiple app secrets 2024-07-28 08:40:01 +08:00
simeng-li
669279aece
test(core): add the mfa binding integration tests (#6330)
* refactor(core): refactor backup code generate flow

refactor backup code generate flow

* fix(core): fix api payload

fix api payload

* test(core): implement the mfa binding integration tests

implement the mfa binding integration tests

* test(core): rebase backup code refactor

rebase backup code refactor
2024-07-26 07:56:22 +00:00
Xiao Yijun
556f7e43a7
fix(console): dragging anchor in the color picker on application branding page (#6340) 2024-07-26 15:54:58 +08:00
simeng-li
58a5004aa2
feat(core): implement the missing mfa bind and guard flow (#6320)
* feat(core): implement the mfa binding flow

implment the mfa binding flow

* fix(test): fix integration tests

fix integration tests

* fix(core): fix the wrong status code

fix the wrong status code

* refactor(core): refactor bind backup codes

refactor bind backup codes
2024-07-26 14:52:26 +08:00
Gao Sun
c45a1a5ad4
refactor(console): safely lazy load pages (#6332)
* refactor(console): safely lazy load pages

* chore(console): use react-safe-lazy
2024-07-26 04:42:47 +00:00
simeng-li
6477c6deef
feat(schemas): add custom data to application (#6309)
* feat(core,schemas): add application custom data

add application custom data

* test(core): add update application with new custom data test

add update application with new custom data test
2024-07-25 09:55:57 +00:00
simeng-li
f76252e0d2
fix(core): fix some webhook api body status 404 bug (#6311)
* fix(core): fix some webhook api body status 404 bug

fix some webhook api body status 404 bug

* fix(core): improve the webhook trigger logic

improve the webhook trigger logic

* chore: add changeset

add changeset

* chore: update the changeset

update the changeset
2024-07-25 17:34:59 +08:00
simeng-li
9d2770cc27
test(core): add profile fulfillment integration tests (#6294)
* test(core): add profile fufillment integration tests

add profile fufillment integration tests

* fix: fix integration tests

fix integration tests

* refactor(test): rebase and update the latest profile api

rebase and update the latest profile api
2024-07-25 14:08:42 +08:00
simeng-li
248ee7fb08
feat(core,schemas): implement profile fulfillment flow (#6293)
* feat(core,schemas): implement profile fulfillment flow

implement profile fulfillment flow

* fix(test): fix integration tests

fix integration tests

* fix(core): fix rebase issue

fix rebase issue

* refactor(core): refactor the interaction set profile flow

refactor the interaction set profile flow
2024-07-25 13:41:10 +08:00
Gao Sun
98dbead1bb
Merge pull request #6312 from logto-io/gao-log-app-secret
refactor(core): log app secret name
2024-07-24 17:37:30 +08:00
Gao Sun
8ee1eb94e6
Merge pull request #6310 from logto-io/gao-generate-secret-on-creation
refactor: generate application secret on creation
2024-07-24 17:36:47 +08:00
Gao Sun
778407ea74
Merge pull request #6292 from logto-io/gao-core-app-secrets
feat(core): multiple app secrets
2024-07-24 16:11:08 +08:00
Gao Sun
f773957ad4
refactor(core): log app secret name 2024-07-23 14:57:54 +08:00
Gao Sun
ef325b25e4
refactor: generate application secret on creation 2024-07-23 11:40:54 +08:00
simeng-li
9af38c9e5e
fix(core): should not sync registered identifier from social (#6283)
should not sync registered identifier from social
2024-07-22 07:35:04 +00:00
Gao Sun
3a9a69381d
feat(core): multiple app secrets 2024-07-21 23:50:36 +08:00
Gao Sun
b73452ceb3
chore(deps): upgrade typescript 2024-07-20 22:04:56 +08:00
wangsijie
3205e36e32
chore: remove feature guard for token exchange (#6246) 2024-07-19 18:23:09 +08:00
simeng-li
7537c510f7
feat(core): add mfa verification guard (#6262)
add mfa verification guard
2024-07-19 10:01:58 +00:00
simeng-li
c93ffb4760
feat(core,schemas): implement social/sso link and sync logic (#6257)
* feat(core,schemas): implement social/sso link and sync logic

implement social/sso link and sync logic

* test(core): add intergration tests

add integration tests
2024-07-19 09:41:55 +00:00
simeng-li
0a92bd2fdc
feat(core): add the new user provision (#6253)
add the new user provision
2024-07-17 14:39:20 +08:00
simeng-li
0a9da5245b
feat(core,schemas): implement the username password registration flow (#6249)
* feat(core,schemas): implement the username password registration flow

implement the username password registration flow

* chore(core): update some comments

update some comments

* fix(test): fix integration tests

fix integration tests

* fix(test): fix lint

fix lint
2024-07-16 16:18:30 +08:00
simeng-li
ae4a12757a
test(core): add register integration tests (#6248)
* test(core): add register integration tests

add register integration tests

* test: add enterprise sso integration tests

add enterprise sso integration tests
2024-07-16 10:55:48 +08:00
simeng-li
f94fb519f4
feat(core): add get available sso connectors endpoint (#6224)
feat(core): implement get sso connectors
implement get sso connectors endpoint
2024-07-15 18:32:42 +08:00
wangsijie
c5897b3893
refactor(core): remove subject token api prefix (#6235) 2024-07-15 15:36:14 +08:00
Gao Sun
dd4ae57a98
Merge pull request #6241 from logto-io/gao-upgrade-zod 2024-07-15 10:49:13 +08:00
Gao Sun
c2bcdb7c20
Merge pull request #6240 from logto-io/gao-upgrade-packages 2024-07-15 10:47:38 +08:00
simeng-li
5bae495cc9
feat(core,schemas): implement the sie settings guard (#6215)
* feat(core,schemas): implement the sie settings guard

implement the sie settings guard

* fix(test): fix integration test

fix integration test

* test(core): add sie guard ut

add sie guard ut

* chore(core): add some comment

add some comment

* refactor(core): rename the sign-in-experience-settings class

rename the sign-in-experience-settings class
2024-07-15 09:53:50 +08:00
Gao Sun
e3109af026
chore(deps): upgrade zod 2024-07-12 20:56:01 +08:00
Gao Sun
dbf9b2b04b
chore(deps): upgrade packages 2024-07-12 20:53:42 +08:00
Gao Sun
d203c8d2ff
refactor: experience ssr (#6229)
* refactor: experience ssr

* refactor: fix parameter issue
2024-07-12 19:00:36 +08:00
simeng-li
dcb62d69d4
feat(core,schemas): introduce new PUT experience API (#6212)
* feat(core,schemas): introduce new PUT experience API

introduce new PUT experience API

* fix(core): fix some comments

fix some comments
2024-07-12 10:16:43 +00:00
wangsijie
485b0a6915
test: add resource test cases for token exchange (#6216)
* feat(core): handle dpop and client certificate for token exchange

* refactor(core): refactor organizations in grants

* test: add resource test cases for token exchange
2024-07-12 14:56:11 +08:00
wangsijie
608349e8ea
refactor(core): refactor organizations in grants (#6208) 2024-07-12 06:19:38 +00:00
Gao Sun
ba875b417c
refactor: fix third-party app experience branding (#6223) 2024-07-12 06:04:43 +00:00
Gao Sun
ca2186189e
refactor: fix experience branding fallback 2024-07-11 14:43:50 +08:00
simeng-li
9c05106d88
feat(core,schemas): implement backup codes verification (#6207)
implement the backup code verification flow
2024-07-11 10:07:27 +08:00
simeng-li
be410acbbb
feat(core): implement TOTP verification routes (#6201)
* feat(core): implmenent totp verification routes

implement totp verification routes

* fix(core): update comments

update comments
2024-07-10 19:14:51 +08:00
Gao Sun
223d7d6bbf
refactor(experience): show dark favicon (#6210) 2024-07-10 08:19:29 +00:00
Gao Sun
94c4cc0e56
refactor(console): update all logo uploaders (#6209) 2024-07-10 15:56:11 +08:00
Gao Sun
6060919a21
Merge pull request #6206 from logto-io/gao-refactor-logo-uploads
refactor(console): reorg logo uploads
2024-07-10 14:47:48 +08:00
Gao Sun
5f8eb518b5
Merge pull request #6196 from logto-io/gao-app-logo-and-color
feat: support app-level branding
2024-07-10 14:17:59 +08:00
Gao Sun
a4a4ef4cd4
refactor(console): reorg logo uploads 2024-07-09 15:03:46 +08:00
simeng-li
addb528652
feat(core): implement enterprise sso verification flow (#6198)
implement the enterprise sso verification flow
2024-07-09 14:59:52 +08:00
Gao Sun
4a8b7c0648
feat: support app-level branding 2024-07-08 16:52:15 +08:00
wangsijie
1557c34134
feat(core): add subject token context to jwt customizer (#6185) 2024-07-08 07:35:00 +00:00
wangsijie
4c6fb767f0
feat(core): actor token (#6171) 2024-07-08 13:23:38 +08:00
Gao Sun
51be195e51
Merge pull request #6192 from logto-io/gao-support-org-logo-for-sie
feat: organization logo
2024-07-08 13:15:54 +08:00
Gao Sun
164c42054a
refactor: remove unused patches (#6179) 2024-07-08 13:15:34 +08:00
Xiao Yijun
a5fd7ff506
refactor(experience,phrases): update phrases for link identities page (#6104) 2024-07-08 10:15:55 +08:00
Gao Sun
3a839f6d60
feat: organization logo 2024-07-07 21:40:26 +08:00
silverhand-bot
1fa9f85e14
release: version packages (#5987) 2024-07-06 09:07:56 +08:00
simeng-li
d16bc9b2e5
feat(core,schemas): implement social verification experience API endpoints (#6150)
feat(core,schemas): implement the social verification flow

implement the social verificaiton flow
2024-07-05 16:36:40 +08:00
simeng-li
d85cd323ae
feat(core): implement verification code verification API (#6001)
* feat(core,schemas): implement the verification code flow

implement the verification code flow

* chore(core): fix rebase issue

fix rebase issue
2024-07-05 11:47:59 +08:00
simeng-li
aec2cf4f5b
feat(core): implement new experience API routes (#5992)
* feat(core): implement new interaction-session management flow

implement a new interaction-session management flow for experience api use

* feat(core): implement password sign-in flow

implement password sign-in flow

* test(core,schemas): add sign-in password tests

add sign-in password tests

* chore(core): update comments

update comments

* refactor(core): rename the password input value key

rename the password input value key

* refactor(core,schemas): refactor the experience API

refactor the exerpience API structure

* chore(test): add devFeature test

add devFeature test

* refactor(core): rename the path

rename the path

* refactor(core,schemas): refactor using the latest API design

refactor using the latest API design

* chore(test): replace using devFeature test statement

replace using devFeature test statement

* fix(core): fix lint error

fix lint error

* refactor(core): refactor experience API implementations

refactor experience API implementations

* refactor(core): replace with switch

replace object map with switch

* refactor: apply suggestions from code review

* refactor(core): refactor the interaction class
 refactor the interaction class

* refactor(core): update the user identification logic

update the user identification logic

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-07-05 11:02:36 +08:00
wangsijie
504f5b2a99
feat(core): handle oidc scopes for token exchange (#6147)
* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow

* feat(core): handle oidc scopes for token exchange
2024-07-03 08:32:57 +00:00
Gao Sun
de9ee8962a
fix(core): issue organization_id claim for client credentials (#6170) 2024-07-03 14:40:42 +08:00
Mostafa Moradian
d60f6ce48e
feat: add operationId to HTTP methods on paths (#6108)
* feat: add operationId to HTTP methods on paths

* refactor(core): strictly handle routes for building operation id

* chore: add changeset

* refactor: reorg code

* refactor: use get as verb for singular items

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-07-03 05:19:59 +00:00
Gao Sun
c7010bbaaa
refactor: update ci and package (#6167)
* refactor: update ci and package

* chore: fix tests
2024-07-03 02:35:19 +00:00
wangsijie
8b63652c8e
feat(core): organization token for token exchange flow (#6106)
* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange

* feat(core,schemas): token exchange grant

* feat(core): organization token for token exchange flow
2024-07-02 13:54:42 +08:00
Gao Sun
9d3697a3b1
refactor: upgrade logto sdks (#6160) 2024-07-02 12:32:22 +08:00
wangsijie
2ce6ba3447
feat(core): third-party applications are not allowed for token exchange (#6100)
* feat(core,schemas): token exchange grant

* feat(core): third-party applications are not allowed for token exchange
2024-07-02 10:47:19 +08:00
wangsijie
685a97476a
feat(core,schemas): token exchange grant (#6057) 2024-07-01 16:36:34 +08:00
Gao Sun
87615d58ce
chore: launch m2m app for organizations (#6129)
* chore: launch m2m app for organizations

* chore: add changeset
2024-07-01 14:55:47 +08:00