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
8beb758771
refactor(core): refactor oidc error response query param (#6525)
refactor oidc error reponse query param
2024-08-28 10:14:04 +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
simeng-li
6951e31578
feat(core): add error_code_key query string param (#6519)
* feat(core): add error_key query string param
feat(core): add error_key query string param
add error_key query string param

 Please enter the commit message for your changes. Lines starting

* chore(core): rename

rename the query param name

* fix(core): safe parse

safe parse

* chore: add changeset

add changeset
2024-08-27 14:15:40 +08:00
simeng-li
f545716353
fix(core): avoid unexpected 500 error (#6515)
* fix(core): avoid unexpected 500 error

avoid unexpected 500 error

* fix(core): fix ut

fix ut
2024-08-26 11:21:37 +08:00
Charles Zhao
83a72dc3a5
fix(core): should be able to update password in profile if verified via email (#6511) 2024-08-23 08:51:15 +00:00
wangsijie
52056f99f1
chore: remove dev feature guard of PAT (#6499) 2024-08-23 14:38:14 +08:00
Charles Zhao
14d25bab1f
fix(core,schemas): check email verification status in me api (#6507) 2024-08-22 15:41:11 +00: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
simeng-li
55cf84bbea
chore(core): add openapi operationId to experience APIs (#6486)
* chore(core): add openapi operationId to experience APIs

add openapi operationId to experience APIs

* chore: update content

update content

* feat(core): add swagger operationId guard

add swagger operationId guard

* fix: update some content

update some content
2024-08-22 14:33:34 +08:00
wangsijie
2ebc47170e
fix(core): remove the requirement of secured app for PAT (#6493) 2024-08-22 13:54:47 +08:00
wangsijie
06f98634c1
fix(core): remove grant id of token exchange (#6497) 2024-08-22 11:45:50 +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
Darcy Ye
c3bec6803d
Revert "Revert "refactor: add report:subscription:updates Cloud scope"" (#6415)
* Revert "Revert "refactor: add `report:subscription:updates` Cloud scope" (#6412)"

This reverts commit ebc04a283d.

* chore: update alteration script ts

* chore: rebase and update alteration timestamp
2024-08-21 08:51:03 +00:00
Darcy Ye
763dd60cd6
fix(console,core,connector): fix display issues and POST /connectors API code guard (#6481)
* fix(console,core,connector): fix display issues

* chore: add changeset
2024-08-21 03:17:28 +00:00
wangsijie
746aa5897b
feat(core): token exchange by pat (#6450) 2024-08-19 11:36:04 +00:00
Darcy Ye
b549a7efd6
refactor(console,core): remove add on dev feature guard (#6466) 2024-08-19 08:47:12 +00:00
Charles Zhao
13bfa0641b
chore(console, core): remove dev features guard for bring your ui feature (#6465) 2024-08-19 15:56:16 +08: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
Xiao Yijun
f17526c612
feat(core,experience,schemas): support identifier page related params for sign-in url (#6446) 2024-08-16 14:55:07 +08:00
simeng-li
9674d5c8f0
fix(core): fix google one tap validation error (#6455)
fix google one tap validation error
2024-08-16 05:32:40 +00: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
Darcy Ye
da58dec022
fix: update tenant selector dropdown data source (#6438) 2024-08-13 13:22:26 +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
simeng-li
758d270f7c
refactor(core): merge subscription usage API request (#6427)
* refactor(core): merge subscription usage API request

merge subscription usage API request

* fix(core): fix type issue

fix type issue
2024-08-12 09:57:45 +08:00
Xiao Yijun
25187ef63b
feat: support login_hint params for sign-in url (#6400) 2024-08-09 13:39:02 +08:00
Darcy Ye
cec08acb52
feat: report subscription usage updates (#6419)
* feat: report subscription usage updates

* refactor: refactor code according to CR
2024-08-08 16:00: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
simeng-li
6a71448090
feat(core): add Sentinel guard (#6374)
feat(core): add sentinel protection

add sentinel protection
2024-08-07 18:19:33 +08:00
Darcy Ye
ebc04a283d
Revert "refactor: add report:subscription:updates Cloud scope" (#6412)
Revert "refactor: add `report:subscription:updates` Cloud scope (#6403)"

This reverts commit e1922e9afb.
2024-08-07 14:12:55 +08:00
Darcy Ye
e1922e9afb
refactor: add report:subscription:updates Cloud scope (#6403) 2024-08-07 10:49:38 +08:00
wangsijie
d56bc2f731
feat(core,schemas): add support for argon2d and argon2id (#6404) 2024-08-06 07:12:47 +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
simeng-li
0671208d0f
fix(core): error data bug fixing (#6382)
fix(core): error code bug fixing

error code bug fixing
2024-08-02 09:31:48 +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
Gao Sun
323a5650f0
fix(core): allow non-json body type when parsing (#6379) 2024-08-01 08:41:07 +00: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
Mostafa Moradian
5c504ab9d4
feat: add advanced search params to all supported endpoints (#6358)
* feat: add search params to list users endpoint

* feat: implement advanced search for all supported endpoints
2024-08-01 10:58:02 +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
Gao Sun
5fd5353383
refactor(core): allow cloudflare insights origin in csp (#6375)
refactor(core): allow cloudflare csp
2024-08-01 10:18:22 +08:00
simeng-li
cf31e3a5af
feat(core,schemas): add auditLogs to experience API (#6361)
* 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 auditLogs to experience API

add auditLogs to experience API
2024-07-31 18:38:34 +08:00
Gao Sun
84f7e13a2b
refactor(core): improve swagger auth description (#6367) 2024-07-31 17:22:07 +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
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