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

2224 commits

Author SHA1 Message Date
wangsijie
ed849ca716
feat(core): update other profile data (#6651) 2024-10-15 15:20:21 +08:00
simeng-li
187847b093
feat(core): consume IdP initiated session on SSO verification flow (#6669)
* feat(core): consume IdP initiated session on SSO verification flow

Auto consume the IdP initiated SAML SSO session on the SSO sign-in verification flow

* refactor(core): remove offline_access scope by default

remove the offline_access scope by default

* test(core): add unit test cases

add unit test cases
2024-10-15 10:47:25 +08:00
simeng-li
436a1840a8
feat(core,schemas): init auth flow for IdP initiated SAML SSO (#6668)
* feat(core,schemas): init auth flow for IdP initiated SAML SSO

init auth flow for IdP initiated SAML SSO

* fix(test): fix phrases key

fix phrases key
2024-10-14 15:39:05 +08:00
simeng-li
8e632678bc
feat(core): handle idp initiated saml assertion request (#6666)
* feat(core): handle idp initiated saml assertion request

handle idp initiated saml assertion request

* refactor(core): extract the set cookie logic

extract the set cookie logic, any refine some type definitions
2024-10-14 14:47:55 +08:00
simeng-li
17c2a79caf
feat(core): add patch and delete SAML IdP initiated config API (#6662)
* feat(core): add patch and delete saml idp initiated config api

add patch and delete sso connector idp initiated auth config api

* fix(test): fix integration test

fix integration test

* fix(core): fix the rebase issue

fix the rebase issue
2024-10-14 11:29:08 +08:00
simeng-li
14a07dcead
feat(core,schemas): add sso idp initiated auth config api (#6660)
* feat(core,schemas): add sso idp initiated auth config api

add sso connector idp initiated auth config management api

* fix(core): align the naming convention

align the naming convention
2024-10-14 10:50:43 +08:00
Darcy Ye
5570cec243
refactor(core): update Cloud API response type definition (#6667) 2024-10-11 11:44:53 +08:00
Geison Goulart Piegas
a662b19db3
fix(core): forgot password on the first access of migrated users (#6642)
Update packages/core/src/routes/interaction/verifications/profile-verification.ts

Co-authored-by: wangsijie <sijiewg@gmail.com>

fixing code duplication

fixing eslint

fix(core): changing the mock response
2024-10-11 10:12:19 +08:00
Darcy Ye
026f7e48bc
refactor: align cloud API response type definition (#6665) 2024-10-10 11:10:56 +08:00
wangsijie
3eede7893f
feat(core): get user profile (#6650) 2024-10-10 10:30:20 +08:00
wangsijie
72a57e23cd
feat(core): check password policy before changing password (#6649) 2024-10-10 07:55:47 +08:00
wangsijie
e3be97b528
feat(core): add and change primary email (#6643) 2024-10-09 10:21:25 +08:00
simeng-li
9e67f27602
fix(core): expose syntax error response (#6646)
expose syntax error response
2024-10-08 10:14:21 +08:00
wangsijie
37b05f9d49
feat(core): trigger webhook event in profile api (#6641) 2024-10-01 09:43:17 +08:00
wangsijie
26b9a38a4f
feat(core): update username (#6640) 2024-09-29 14:07:14 +08:00
wangsijie
3131802c6a
feat(core): add update name and avatar endpoint (#6636) 2024-09-29 10:34:59 +08:00
Charles Zhao
ea333b3dd9
chore(core): update code comments in security header middleware (#6634) 2024-09-25 16:18:52 +08:00
Charles Zhao
3c993d59c4
fix(core,tunnel,phrases): support range requests when hosting custom ui assets (#6630) 2024-09-25 14:36:50 +08:00
wangsijie
1b001f8fe8
feat(core): update password in profile (#6571) 2024-09-24 14:56:04 +08:00
simeng-li
918f8503fd
feat(core): add feature flag switch for experience app (#6564)
* feat(core,schemas): implement experience package a/b test

implement experience package a/b test

* refactor(core,schemas): rename to featureFlag

rename to featureFlag

* refactor(core): replace the hash alg

replace the hash alg and add trySafe wrapper

* chore(core): update function name and comments

update function name and comments

* refactor(core): optimize the code logic

optimize the code logic, add head to indicate the experience package

* refactor(core): update static module proxy header

update static module proxy header

* fix(core): fix unit test

fix unit test

* fix(core): clean up empty line

clean up empty line

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

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-09-20 10:10:17 +08:00
Gao Sun
8e5127f90b
Merge pull request #6594 from logto-io/gao-au-region
feat(console): au region
2024-09-19 10:30:07 +08:00
Gao Sun
eee4317dac
feat(console): au region 2024-09-18 20:46:42 +08:00
silverhand-bot
43d83e8bb3
release: version packages (#6424) 2024-09-13 18:06:50 +08:00
simeng-li
5aab7c01bf
fix(core): add sso only email guard (#6576)
* fix(core): add sso only email guard

add sso only email guard to registration and profile fulfilling flow

* chore: update changeset

update changeset

* chore(core): update content

update content

* fix(core): update content

update content
2024-09-13 09:34:37 +00:00
simeng-li
1383aafebb
fix(core): avoid duplicate operationId (#6574)
avoid duplication operationId
2024-09-12 13:44:03 +08:00
Darcy Ye
343602027d
refactor: use orgsLimit instead of orgsEnabled as org quota key (#6570)
* refactor: use orgsLimit instead of orgsEnabled as org quota key

* refactor: implement getUsageByKey method

* chore: undo logto email connector dependency update
2024-09-12 11:17:43 +08:00
Charles Zhao
a6178f45e2
fix(core): allow no password user to set password in console profile (#6572) 2024-09-12 10:48:00 +08:00
Darcy Ye
c368c2799a
refactor: update display, quota guard and usage report logic for enterprise users (#6565)
* refactor: update display, quota guard and usage report logic for enterprise users

* chore: undo logto email connector dependency update

* chore: use contact us button for pro plan when currently on enterprise plan
2024-09-11 12:26:39 +00:00
Gao Sun
cc346b4e0a
feat(core): password checking api (#6567)
* feat(core): password checking api

* refactor(core): improve API response
2024-09-11 06:55:07 +00:00
wangsijie
b639249159
feat(core): add koa oidc auth for profile API (#6559) 2024-09-10 18:30:26 +08:00
simeng-li
862d27dee4
fix(core): fix custom UI not triggered bug (#6563)
fix custom UI not triggered on legacy-experience bug
2024-09-10 14:37:01 +08:00
Charles Zhao
fae8725a44
refactor(console,core,demo-app,elements,experience): improve rtl support (#6549)
* refactor(console,experience): improve rtl support

* chore: add changeset
2024-09-09 19:19:15 +08:00
simeng-li
b837efead6
feat(console,core): remove custom token claims api context dev guard (#6553)
* feat(console,core): remove custom jwt api context dev guard

remove custom jwt api context dev guard

* fix(console,schemas,phrases): fix custom jwt token request phrases

fix custom jwt token request phrases

* chore: return denyAccess
return denyAccess
2024-09-09 16:57:44 +08:00
simeng-li
baa8577c45
refactor(experience): experience api migration (#6407)
* refactor(experience): migrate the password register and sign-in

migrate the password register and sign-in flow

* fix(experience): update some namings

update some namings

* refactor(experience): refactor the verification code flow (migration-2) (#6408)

* refactor(experience): refactor the verificaiton code flow

refactor the verification code flow

* refactor(experience): migrate the social and sso flow (migration-3) (#6406)

* refactor(experience): migrate the social and sso flow

migrate the social and sso flow

* refactor(experience): migrate profile fulfillment flow  (migration-4) (#6414)

* refactor(experience): migrate profile fulfillment flow

migrate the profile fulfillment flow

* refactor(experience): remove unused hook

remove unused hook

* fix(experience): fix password policy checker

fix password policy checker error display

* fix(experience): fix the api name

fix the api name

* refactor(experience): migrate mfa flow (migration-5) (#6417)

* refactor(experience): migrate mfa binding flow

migrate mfa binding flow

* test(experience): update unit tests (migration-6) (#6420)

* test(experience): update unit tests

update unit tests

* chore(experience): remove legacy APIs

remove legacy APIs

* refactor(experience): revert api prefix

revert api prefix

* fix(experience): update the sso connectors endpoint

update the sso connectors endpoint

* chore: add changeset

add changeset

* fix(experience): comments fix

comments fix

* refactor(experience): refactor the code verificatin api

refactor the code verification api

* refactor(experience): code refactor

refactor some implementation logic

* feat(experience, core): add experience legacy package (#6527)

add experience legacy package
2024-09-09 10:08:52 +08:00
Xiao Yijun
a748fc85bb
fix(core): add hasPassword field to user API response (#6543) 2024-09-04 13:22:44 +08:00
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
simeng-li
509e86e4f4
fix(deps): update withtyped and cloud dependency version (#6538)
* fix(deps): update withtyped and cloud dependency version

update withtyped and cloud dependency version

* chore: update cloud dependency

* chore(core): update cloud client utils type

---------

Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2024-09-03 17:51:45 +08:00
simeng-li
a0807d7e5a
refactor(core,toolkit): relocate customJwt local vm handler (#6524)
relocate customJwt local vm handler
2024-09-02 11:36:35 +08:00
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