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

2286 commits

Author SHA1 Message Date
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
simeng-li
ea150f1c7a
refactor(core): extract verified interaction guard middleware (#6336)
* 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): extract verified interaction guard middleware

extract verified interaction guard middleware
2024-07-31 03:16:14 +00:00
simeng-li
b97c720c59
feat(core): migrate register flow affiliate report logic (#6334)
Migrate the new user affiliate flow from interaction API. 

- `postAffiliateLogs` is forked from  `routes/interaction/actions/helpers.ts`
2024-07-31 11:00:45 +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
wangsijie
02a25dfbff
refactor(core): refactor openapi docs for protected app (#6331) 2024-07-29 12:18:46 +08:00
Gao Sun
210fb6ef73
ci: add check job 2024-07-28 13:55:55 +08:00
Gao Sun
b777db5df5
refactor(core): use tsup for building 2024-07-28 11:34:43 +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
simeng-li
05082b56a7
refactor(core): refactor backup code generates flow (#6339)
refactor(core): refactor backup code generate flow

refactor backup code generate flow
2024-07-26 07:33:40 +00:00
simeng-li
34c8bedef6
refactor(core): extract isNewMfaVerification property (#6338)
extract isNewMfaVerifrication property
2024-07-26 07:08:03 +00: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
Darcy Ye
5f98d67754
refactor: update code according to CR 2024-07-25 18:21:38 +08:00
Darcy Ye
9dac30b660
refactor: update logto/core cloud API usage 2024-07-25 18:21:38 +08: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
f8f34f0e87
feat(core): implement the WebAuthn verification (#6308)
feat(core): implement the webauthn verification

implement the webauthn verification
2024-07-25 17:35:19 +08: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
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
simeng-li
29e9bfce03
refactor(core): rename some file names and methods (#6321)
* refactor(core): rename some files name and methods

rename some files name and methods, fix some comments

* chore: update comments

update comments

* chore: update comments

update comments

* chore: polish the words

polish the words
2024-07-25 11:40:12 +08:00
Gao Sun
aeec3b1141
refactor(console): use local mermaid import 2024-07-24 17:48:14 +08:00
Gao Sun
3bf756f2b5
refactor(experience): use vite 2024-07-24 17:47:37 +08:00
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
Gao Sun
2cf30d2f03
feat(core): organization jit sso 2024-06-21 13:56:08 +08:00
Gao Sun
c1ffadeff6
Merge pull request #6067 from logto-io/gao-org-jit-sso
feat(core): organization jit sso apis
2024-06-21 09:54:33 +08:00
Gao Sun
07da7918e2
feat(core): init organization app role apis 2024-06-20 14:16:55 +08:00
Gao Sun
0d8263682d
feat(core): organization jit sso apis 2024-06-20 11:35:04 +08:00
Gao Sun
32270d1d7e
Merge pull request #6065 from logto-io/gao-reorg-org-api-docs
refactor(core): reorg organization users api docs
2024-06-20 10:12:29 +08:00
Gao Sun
5362772f6d
Merge pull request #6064 from logto-io/gao-init-org-app-apis
feat(core): init organization app apis
2024-06-20 09:58:09 +08:00
Gao Sun
e83e94f822
Merge pull request #6055 from logto-io/gao-refactor-relation-queries
refactor(core): update relation queries
2024-06-20 09:57:25 +08:00
Gao Sun
4d879fc358
refactor(core): reorg organization users api docs 2024-06-19 22:29:59 +08:00
Gao Sun
6dd2565dca
feat(core): init organization app apis 2024-06-19 22:29:44 +08:00
Gao Sun
97efe1e734
refactor: fix google one tap issues (#6054) 2024-06-19 14:24:19 +08:00
Gao Sun
b543356bb3
refactor(core): update relation queries 2024-06-19 14:21:15 +08:00
Gao Sun
71ba7c4cc6
feat(core): jit organization roles (#6049) 2024-06-19 11:07:45 +08:00
Xiao Yijun
1bdfb4374c
feat(schemas): add agree_to_terms_policy for sie table (#6036) 2024-06-18 21:47:21 +08:00
simeng-li
d210f4f2e4
test(core): implement sso related integration tests (#6041)
* test(core): implement sso related integration tests

implement sso related integration tests

* chore(core): remove unnecessary comments

remove unnecessary comments
2024-06-18 02:16:27 +00:00
Gao Sun
d9119b56ec
Merge pull request #6031 from logto-io/gao-google-one-tap-core 2024-06-18 09:59:32 +08:00
Gao Sun
4118669c91
Merge pull request #6027 from logto-io/gao-update-changeset
chore: update changeset
2024-06-17 11:53:21 +08:00
Gao Sun
59fe21aec7
Merge pull request #6026 from logto-io/gao-org-jit-roles-tests
refactor: add organization jit role api tests
2024-06-17 11:52:40 +08:00
Gao Sun
4266ac8c06
Merge pull request #6024 from logto-io/gao-org-jit-roles
feat(core,console): organization jit roles
2024-06-17 11:51:54 +08:00
Gao Sun
b286dd314a
Merge pull request #6003 from logto-io/gao-org-mfa
feat(core,console): organization mfa requirement
2024-06-17 10:44:46 +08:00
Gao Sun
552a3e59db
chore: add tests 2024-06-16 22:02:13 +08:00
Gao Sun
942780fcfa
feat(core): google one tap 2024-06-16 14:31:33 +08:00
Gao Sun
320b720c46
refactor: rename method 2024-06-15 11:22:06 +08:00
Gao Sun
aefe5cbacb
chore: update changeset 2024-06-14 22:54:32 +08:00
Gao Sun
b25bca3aa2
refactor: add organization jit role api tests 2024-06-14 22:44:03 +08:00
Gao Sun
7d6e8dcf9a
Merge pull request #5999 from logto-io/gao-remove-dev-features-guard
chore(console,core): launch organization jit
2024-06-14 14:58:57 +08:00
Gao Sun
3ea37c5275
feat(core,console): organization jit roles 2024-06-14 14:50:33 +08:00
Gao Sun
752059d6b1
Merge pull request #6002 from logto-io/gao-enable-backchannel-logout
feat(core,console): enable backchannel logout
2024-06-14 11:10:42 +08:00
Gao Sun
8306cc4263
Merge pull request #5998 from logto-io/gao-console-jit
feat(console): implement organization jit ui
2024-06-14 10:55:34 +08:00
simeng-li
930f23e363
fix(core): prevent uncaught promise rejection (#6009)
* fix(core): prevent uncaught promise rejection

prevent uncaught promise rejection crashing the app

* refactor(core): remove inline await

remove inline await statement

* chore(core): update comment

update comment
2024-06-12 07:05:42 +00:00
Gao Sun
136320584f
feat: automatic social account linking (#5881)
* feat: automatic social account linking

* chore: add integration tests

* chore: add changeset
2024-06-08 20:23:57 +08:00
Gao Sun
75ab459c0a
feat(core,console): organization mfa requirement 2024-06-08 14:15:07 +08:00
Gao Sun
efa884c409
chore(console,core): launch organization jit 2024-06-08 10:22:38 +08:00
Gao Sun
f28a083ed0
feat(core,console): enable backchannel logout 2024-06-07 22:12:24 +08:00
Gao Sun
fc1699631c
feat(console): implement organization jit ui 2024-06-07 15:00:06 +08:00
Gao Sun
afb1091603
refactor: fix tests 2024-06-06 19:09:40 +08:00
Gao Sun
ab4867d310
refactor(core): trigger organization membership updated hook from jit 2024-06-06 18:11:49 +08:00
Gao Sun
d4cb91e6c9
feat(core): implement organization jit provisioning 2024-06-06 14:30:29 +08:00
Gao Sun
be9d94d4fd
refactor: fix tests 2024-06-06 14:30:05 +08:00
Gao Sun
f6dbb0aad1
chore: add api docs 2024-06-06 13:37:43 +08:00
Gao Sun
b85ecb6c93
feat(core): organization email domains apis 2024-06-06 10:33:33 +08:00
Gao Sun
ce911309da
refactor(core): reorg organization queries 2024-06-05 18:25:18 +08:00
Gao Sun
ec6f1d39d8
refactor(core): reorg organization routes 2024-06-05 18:17:39 +08:00
simeng-li
7a279be1fc
refactor(core,schemas): add user detail payload to User.Deleted webhook event (#5986)
* refactor(core,schemas): add user detail payload to User.Deleted DataHook event

add user detail data payload to the User.Deleted DataHook event

* fix(core): fix unit test

fix unit test
2024-06-04 11:09:27 +00:00
Gao Sun
8669149a08
refactor(core): optimize redis error handling (#5965) 2024-06-04 09:46:35 +08:00
Gao Sun
123ecaec47
refactor(core): try to fix uncaught exception (#5982) 2024-06-03 12:26:01 +00:00
simeng-li
a495ab00ba
feat(core): report oidc exceptions to the appInsights (#5978)
report oidc exceptions to the appInsights
2024-06-03 18:58:56 +08:00
Charles Zhao
14515f2c44
fix(core): profile avatar upload should not return 400 error (#5974) 2024-06-03 17:45:42 +08:00
renovate[bot]
914555e683
chore(deps): update dependency @logto/cloud to v0.2.5-a7eedce (#5847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 04:16:04 +00:00
silverhand-bot
0decba0308
release: version packages (#5868) 2024-05-31 23:48:43 +08:00
Gao Sun
a0b19513bb
feat(console): show version number for oss (#5950) 2024-05-31 18:05:20 +08:00
simeng-li
0c70d65c7b
feat(core,toolkit): add new sso_identities claim (#5955)
* feat(core,toolkit): add new sso_identities claim

add new sso_identities claim to the userinfo endpoint

* chore: update changeset

update changeset

* chore: update comments

update comments

* refactor(core): use findUserSsoIdentites query method in user library

use findUserSsoIdentites query method in user library
2024-05-31 06:31:26 +00:00
Gao Sun
3927e6644c
refactor: update naming (#5951)
replace all "mainFlow" with "experience"
2024-05-31 03:40:40 +00:00
Charles Zhao
4b75860233
docs(core): remove pagination from get organization invitation api docs (#5934) 2024-05-30 10:30:22 +08:00
Charles Zhao
558986d28d
fix(core,console): update invalid documentation links in console and core (#5937)
fix(core,console): update invalid documentation links in console and core cli
2024-05-30 10:17:42 +08:00
simeng-li
458746c9ac
fix(core): fix azure oidc sso connector authorization error (#5912)
* fix(core): fix azure oidc sso connector authorization error

fix azure oidc sso connector authorization error

* chore: add changeset

add changeset

* chore: update changeset

update changeset

* fix(core): dynamicly verify multi-tenant azure oidc issuer

dynamicly verify multi-tenant azure oidc issuer
2024-05-29 13:30:56 +08:00
Gao Sun
c7aba27dac
refactor(core): use jwks response from oidc for admin tenant keys (#5935) 2024-05-29 13:27:14 +08:00
Gao Sun
06ac416750
chore(deps): upgrade @logto/cloud 2024-05-28 19:02:46 +08:00
Gao Sun
f7e1176554
chore(deps): upgrade @logto/cloud 2024-05-28 16:13:44 +08:00
simeng-li
b5104d8c19
feat(console,core): remove DataHook devFeature guard (#5898)
* feat(console,core): remove DataHook devFeature guard

remove DataHook devFeature guard

* chore: add changeset

add changeset

* chore: update changesets

update changesets
2024-05-22 11:20:09 +08:00
Gao Sun
38811e1099
refactor: remove internal role policies (#5904)
* refactor: remove internal role policies

* refactor: remove unused tests
2024-05-21 21:44:24 +08:00
Gao Sun
e762d64120
refactor(core): report forwarded headers (#5907) 2024-05-21 19:00:00 +08:00
simeng-li
330c6bd6eb
feat(core): update test hook payload (#5883)
update test hook payload to be dynamic based on InteractionHook or DataHook event
2024-05-17 09:40:44 +00:00
simeng-li
88f568f3c5
feat(core): add suctom scopes.updated hook events (#5880)
* feat(core): add suctom scopes.updated hook events

add scopes.updated hook event to role creation api

* chore(core): add dev feature guard

add dev feature gurad

* feat(core): fetch scopes details and return to the hook

fetch scopes details and return to the hook

* refactor(core): mark deprecated body of roles/:id/scopes api

mark deprecated body of roles/:id/scopes api

* fix(test): fix unit test

fix unit test
2024-05-17 17:25:31 +08:00
simeng-li
a1091aee20
refactor(core,schemas): move webhook event payload type definition to schemas (#5878)
move webhook event payload type definition to schemas
2024-05-17 16:25:19 +08:00
Gao Sun
76fd33b7ed
feat: default user role (#5872)
* feat: default user role

* chore: add tests and changeset

* refactor: show warning for deprecated env

* chore: fix tests
2024-05-17 16:02:05 +08:00
renovate[bot]
1b2359be59
chore(deps): update dependency sinon to v18 (#5870)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 16:43:26 +08:00
simeng-li
5e7bee1c8c
refactor(core,schemas,test): rename DataHook data update event name (#5876)
rename the DataHook Schema data update event name
2024-05-16 06:40:59 +00:00
simeng-li
5462ab4765
feat(core): trigger user create DataHook event on user registration (#5837)
* feat(core): trigger user data hook event on interaction api call

trigger user data hook event on interaction api call

* chore(core): refine comments

refine comments

* fix(core): fix the interactionHookMiddleware

fix the interactionHookMiddleware

* test(core): add integration tests

add integration tests for interaction hooks

* chore(test): remove legacy test

remove legacy test
2024-05-15 11:17:46 +08:00
silverhand-bot
7b5a4e3fb4
release: version packages (#5684) 2024-05-14 20:27:55 +08:00
wangsijie
5660c54cb5
fix(core): should sign out user after deletion or suspension (#5857)
fixed #5572
2024-05-14 08:10:31 +00:00
wangsijie
1c414f1889
fix(core): fix consent scopes filter rule for non-3rd-party app (#5859) 2024-05-14 15:24:49 +08:00
Gao Sun
304d948511
refactor(core): update first admin user preconditions (#5858) 2024-05-14 14:12:07 +08:00
simeng-li
f020c5984c
fix(core): add devFeature guard for DataHooks (#5861)
fix(core): add devFeature guard

add devFeature guard
2024-05-14 14:05:52 +08:00
wangsijie
062d21764c
chore(core): add custom domain host to app insights (#5852) 2024-05-13 13:04:18 +00:00
simeng-li
5acd7ef8cb
refactor(core, schemas): update interaction webhook middleware using contextManager (#5834)
* feat(core): update interaction webhook middleware using contextManager
updaet interaction webhook middleware using contextManager

* fix(test): fix ut

fix ut

* refactor(core, schemas): refactor DataHook context structure

refactor DataHook context structure

* fix(core): fix demo-app application not found error

fix demo-app application not found error

* chore(core): update comments

update comments
2024-05-13 16:49:09 +08:00
simeng-li
e7a642028d
feat(schemas): define data hook events (#5828)
* feat(schemas): define data hook events

define data hook events

* fix(schemas,core): fix the type error

fix the type error

* fix(core): fix unit test

fix unit test

* feat(test): add integration tests for DataHooks

add integration tests for DataHooks

* fix(test): fix ut of management api hook middleware
fix ut of the management api hook middleware

* refactor(test,core,schemas): refactor some DataHook definiations

refactor some DataHook definitations

* chore(test): remove upper scope describe wrap

remove upper scope describe wrap

* fix(test): fix tests

fix tests

* refactor(schemas): rename the info.update events

rename the info.update events

* refactor(schemas): rename

rename

* refactor(core,schemas): refactor DataHook code

refactor DataHook code to address some code review comments

* fix(test): fix ut

fix ut

* fix(schemas): update DataHookEventPayload type

update DataHookEventPayload type

* chore(schemas): update comments

update comments
2024-05-13 16:11:50 +08:00
wangsijie
e388c66a2e
chore(core,schemas): remove feature guard of organization api resource (#5743) 2024-05-13 06:26:34 +00:00