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

2163 commits

Author SHA1 Message Date
Gao Sun
6c1f4283a9
refactor(console): use vite 2024-07-24 17:47:02 +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
9854be2712
Merge pull request #6314 from logto-io/gao-use-vite-for-demo-app
refactor: use vite for demo app
2024-07-24 15:59:41 +08:00
Gao Sun
94296acc7a
chore: add comment 2024-07-24 15:55:37 +08:00
simeng-li
52c0dccbc7
refactor(core): implement verification records map (#6289)
* refactor(core): implement verificaiton records map

implement verification records map

* fix(core): fix invalid verification type error

fix invalid verificaiton type error

* fix(core): update the verification record map

update the verification record map

* fix(core): update some comments

update some comments

* refactor(core): polish promise dependency

polish promise dependency

* fix(core): fix the social/sso syncing profile logic

fix the social/sso syncing profile logic

* refactor(core): optimize the verification records map

optimize the verification records map

* fix(core): fix set method of VerificationRecord map
fix set method of VerificationRecord map
2024-07-23 11:43:15 +00:00
Gao Sun
f773957ad4
refactor(core): log app secret name 2024-07-23 14:57:54 +08:00
Gao Sun
536f242fcc
refactor: use vite for demo app 2024-07-23 14:52:45 +08:00
Gao Sun
ef325b25e4
refactor: generate application secret on creation 2024-07-23 11:40:54 +08:00
Charles Zhao
27e0d36e64
fix(core): disable bring your ui feature for admin tenant (#6300) 2024-07-23 10:57:12 +08:00
Gao Sun
3e58d74af7
Merge pull request #6284 from logto-io/gao-update-name
feat(elements): update name of user
2024-07-22 16:46:18 +08:00
simeng-li
080632a744
refactor(core): extract helpers and provision methods (#6285)
extract helpers and provision methods
2024-07-22 08:25:08 +00: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
simeng-li
f56aeb850b
refactor(core): extract password-validator (#6282)
* refactor(core): extract password-validator

extract password validator

* fix(core): update comments and rename method name

update comment and rename method name
2024-07-22 06:06:24 +00:00
Gao Sun
85545d4cee
feat(elements): update name 2024-07-22 11:44:24 +08:00
Mostafa Moradian
adbf04e22a
feat: add content schema to HTTP 201 CREATED messages (#6244)
feat: add content schema to 201 messages
2024-07-22 11:06:40 +08:00
Gao Sun
0d4b82488f
Merge pull request #6288 from logto-io/gao-upgrade-typescript
chore(deps): upgrade typescript and react
2024-07-22 11:00:23 +08:00
simeng-li
de61735353
refactor(core,schemas): refactor CodeVerification (#6277)
* refactor(core,schemas): refactor the CodeVerification class

split the CodeVerification class into EmailCodeVerification and PhoneCodeVerification

* refactor(core,schemas): split CodeVerification type

split CodeVerification type

* fix(core): code review updates

code review updates
2024-07-22 02:36:25 +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
Charles Zhao
64b022bdea
feat(core): add api quota guard for bring your ui feature (#6273) 2024-07-19 13:17:40 +08:00
Charles Zhao
f8f14c0ba7
feat(core): set up proxy to host custom ui assets if available (#6214)
* feat(core): set up proxy to host custom ui assets if available

* refactor: use object param for koa spa proxy middleware

* refactor: make queries param mandatory
2024-07-17 17:33:47 +08: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
Charles Zhao
ce3a62bc7a
feat(core,schemas): add post custom ui assets api (#6118)
* feat(core,schemas): add post custom ui assets api
2024-07-15 16:06:09 +00:00
simeng-li
84ac935c80
feat(core,schemas): implement the register flow (#6237)
* feat(core,schemas): implement the register flow

implement the register flow

* refactor(core,schemas): relocate the profile type defs

relocate the profile type defs

* fix(core): fix the validation guard logic

fix the validation guard logic

* fix(core): fix social and sso identity not created bug

fix social and sso identity not created bug

* fix(core): fix social identities profile key

fix social identities profile key

* fix(core): fix sso query method

fix sso query method
2024-07-15 19:02:57 +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
f96277b410
refactor: patch type issues 2024-07-13 21:30:35 +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
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
wangsijie
f9d6137048
feat(core): handle dpop and client certificate for token exchange (#6199) 2024-07-12 14:03:21 +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
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
ee0e3b8bd0
refactor(core): update cache key 2024-07-10 14:03:18 +08:00
wangsijie
55ff41e29b
feat(core): add quota guard for subject tokens (#6205) 2024-07-09 16:20:55 +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
simeng-li
d7fa9f5900
refactor(core): refactor the sso interaction handlers (#6186)
refactor(core): revert the sso utils input refactor

revert the sso utils input refactor
2024-07-09 13:51:33 +08:00
renovate[bot]
0ca307cb5f
fix(deps): update dependency lru-cache to v11 (#6203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 13:25:53 +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
1340f3bc5d
Merge pull request #6193 from logto-io/gao-remove-unused-param
refactor(core, experience): remove `no_cache` param
2024-07-08 13:16:50 +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
simeng-li
07316cf0b9
refactor(core): refactor identifyUser method (#6154)
refactor(core): refactor the user identification flow

refactor the user identification flow
2024-07-08 10:09:40 +08:00
Gao Sun
a6f96f1d8d
refactor(core, experience): remove no_cache param 2024-07-08 09:03:45 +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
Charles Zhao
17921b5138
feat(schemas): custom ui assets db update (#6010) 2024-07-03 06:27:03 +00: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
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
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
Gao Sun
dd69c1c4f6
refactor: fix mermaid in production (#6149)
Use dynamic CDN import to use Mermaid as Parcel has issues on handling the
static import in production.
2024-07-01 18:06:38 +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
Gao Sun
b1e7f62f79
refactor(core): update grant comments (#6120) 2024-06-27 18:50:51 +08:00
Gao Sun
b590e64f59
feat(core): issue organization token via client credentials (#6098)
* feat(core): issue organization token via client credentials

* refactor: fix tests
2024-06-26 16:18:12 +08:00
Xiao Yijun
75c0468abe
refactor: handle potential errors during ky requests in koa-auth middleware (#6112) 2024-06-26 15:22:41 +08:00
Darcy Ye
b52609a1ed
feat(core): add hasPassword field to custom JWT user context (#6096) 2024-06-25 14:58:25 +08:00
Mostafa Moradian
d123d46ebc
fix: include tenantId and its root param in responses (#6092)
* fix: include tenantId and its root param in responses

* refactor: use shared object

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-06-25 02:24:56 +00:00
Gao Sun
dfa0135b6a
refactor: add brief intro in swagger.json (#6102) 2024-06-25 10:24:17 +08:00
Gao Sun
581ecd9cd0
Merge pull request #6090 from logto-io/gao-organization-m2m-apps
feat(console): m2m pages in organizations
2024-06-24 18:45:13 +08:00
Gao Sun
88ee906b75
refactor(core): fork client credentials grant 2024-06-23 22:33:06 +08:00
Gao Sun
a43434c42f
Merge pull request #6089 from mostafa/fix-oas-validation-errors
fix: generate valid OpenAPI spec
2024-06-23 14:12:20 +08:00
Gao Sun
d51e839cdb
refactor: add changeset and improve code 2024-06-23 13:47:10 +08:00
Gao Sun
ca22bc6ae9
feat(console): m2m pages in organizations 2024-06-23 11:31:24 +08:00
Gao Sun
58f3eeae64
Merge pull request #6087 from logto-io/gao-org-app-role-apis
feat(core): update application organization role apis
2024-06-23 11:13:45 +08:00
Gao Sun
1620bbd718
Merge pull request #6086 from logto-io/gao-org-app-apis
feat(core): add organization - application apis
2024-06-23 11:02:19 +08:00
Gao Sun
9b361011e7
refactor: update status code 2024-06-23 10:47:44 +08:00
Gao Sun
cbab5af58f
Merge pull request #6083 from logto-io/gao-update-org-app-fetch
refactor(core): return roles in organization app get api
2024-06-23 10:35:22 +08:00
Gao Sun
097dfcac89
refactor: filter whole supplement document if needed (#6085) 2024-06-23 10:33:28 +08:00
Mostafa Moradian
e24ff76c1f
fix: update mocks and docstrings 2024-06-22 23:33:13 +02:00
Mostafa Moradian
0a194c6752
fix: change special character to fix root paramter naming issue
feat: add customParameters function for fixing tenantId error on `/api/.well-known/endpoints/{tenantId}`
2024-06-22 19:19:00 +02:00
Gao Sun
754d0e1340
feat(core): update application organization role apis 2024-06-22 23:17:05 +08:00
Gao Sun
12cd49f903
feat(core): get application organizations api 2024-06-22 23:16:38 +08:00
Gao Sun
b839f6c46f
refactor(core): return roles in organization app get api 2024-06-22 22:58:44 +08:00
wangsijie
b1a12fb375
feat(core): issue subject tokens (#6045) 2024-06-22 02:31:27 +00:00
Gao Sun
0f39d39f7a
refactor(core): reorg organization routes 2024-06-21 21:47:52 +08:00
Gao Sun
fae11359b2
refactor(core): update naming and fix typos 2024-06-21 20:13:52 +08:00
Gao Sun
ec95536b84
Merge pull request #6071 from logto-io/gao-org-app-role-apis
feat(core): organization app role apis
2024-06-21 20:00:06 +08:00
Gao Sun
c51eab1bc4
Merge pull request #6069 from logto-io/gao-org-jit-sso-impl
feat(core): organization jit sso
2024-06-21 16:39:33 +08:00
Darcy Ye
651a027b49
chore(core): add dev feature tag for openapi.json (#6025)
chore(core): add dev feature tag for openapi.json to indicate operation should not show up in swagger.json
2024-06-21 16:09:21 +08:00