0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-04-07 23:01:25 -05:00
Commit graph

7255 commits

Author SHA1 Message Date
Charles Zhao
552a368482
refactor(translate): improve prompts to better support i18n suffixes (#7167)
* refactor(translate): improve prompts to better support i18n suffixes

* chore: add changeset
2025-03-25 11:32:54 +08:00
simeng-li
fd9b03ea08
fix(console): fix sign-in method can not removed bug (#7175)
* fix(console): fix sign-in method can't removed bug

fix sign-in methods can't removed bug. Also add new integration tests

* chore(console): clean up legacy code

clean up legacy code
2025-03-25 11:25:48 +08:00
simeng-li
cdc1acb238
refactor(console): refactor SIE settings form (#7154)
* refactor(core): remove mandatory sign-in password verification rule

remove mandatory sign-in password verification rule

* refactor(console): refactor SIE settings form

refactor SIE settings form

* feat(console): add dev feature guard

* feat(console): add multi sign-up identifiers (#7168)

update SIE page to support multi sign-up identifiers

* chore(console): disable test cases for devFeature

disable test cases for devFeature

* refactor(test): disable some console tests for devFeature

disable some console tests for devFeature

* fix(console): fix emailOrPhone sign-in method sync

fix emailOrPhone sign-in method sync
2025-03-25 09:53:34 +08:00
Charles Zhao
e6f315d1b4
feat(experience): add switch account page (#7155)
* feat(experience): add switch account page

* refactor(experience): update account switch page

* chore: i18n phrases
2025-03-25 09:30:09 +08:00
Charles Zhao
5da01bc47a
fix(toolkit): make language tag check case-insensitive (#7164)
* fix(toolkit): language tag check should be case insensitive

* chore: add changeset

* fix(translate): fix target language variable in prompt

Co-authored-by: Gao Sun <gao@silverhand.io>
2025-03-25 00:52:19 +00:00
simeng-li
5180368b1e
feat(experience): handle secondary sign-up identifiers (#7142)
* refactor(experience): refactor verification code sign-in/sign-up

refactor the verification code sign-in and sign-up error handling logic.

* refactor(experience): remove verification code method assertion

remove verification code method assertion

* fix(experience): fix ut

fix ut

* chore: add some comments

add some comments

* refactor(experience): update username registration handler

update username registraction handler, directly submit the interaction is password is not enabled for sign-up

* refactor(experience): simplify react hook dependency

simplify react hook dependency
2025-03-24 14:01:10 +08:00
simeng-li
d352b6716c
feat(core): parse mandatory profile (#7133)
* feat(core): parse mandatory profile

parse mandatory profile

* refactor(core): reorder mandatory profile validation

reorder mandatory profile validation
2025-03-24 11:25:28 +08:00
simeng-li
eb802f4c4b
feat(core,schemas): add secondary sign-up identifiers (#7127)
* feat(core,schemas): add secondaryIdentifiers to SIE signUp settings

add secondaryIdentifiers to SIE signUp settings

* chore: add changeset

add changeset

* chore: update changeset

update changeset

* fix(test): fix ut case description

fix ut test case description
2025-03-24 10:19:00 +08:00
simeng-li
c8cc6af701
chore(core): update xml-crypto dep (#7169)
upate xml-crypto dep
2025-03-24 09:57:42 +08:00
Darcy Ye
9b6dbf28e2
chore: add scopes field to MS Azure AD connector (#7087)
* chore: add scopes field to MS Axure AD connector

* fix: fix scopes
2025-03-21 12:13:23 +08:00
Darcy Ye
e11cb003dc
fix(console): fix visibility of Stripe customer portal (#7165) 2025-03-21 11:49:53 +08:00
Xiao Hanyu
5003166e51
chore: fix pnpm requirements in CONTRIBUTING.md (#7134)
use pnpm other than 9.x will report an error.

ref commit:
2171b962a9
2025-03-21 11:04:14 +08:00
Charles Zhao
a7891e0ffa
fix(phrases): improve i18n plural forms translations (#7166)
* chore(console,experience): sync and translate i18n phrases

* fix(phrases): improve plural form i18n translations in console

* fix(phrases): provide fine-grained plural form i18n suffixes in Experience
2025-03-20 11:45:53 +00:00
Charles Zhao
ab4aa1eb5d
chore(console,experience): sync and translate i18n phrases (#7163) 2025-03-20 19:18:40 +08:00
Xiao Yijun
045ec731d7
fix(console): prevent unsaved modal from flashing when navigating within parent path (#7162) 2025-03-20 14:12:11 +08:00
wangsijie
1c705e118e
feat(console): add recaptcha enterprise (#7152) 2025-03-20 13:46:10 +08:00
Charles Zhao
29888bfc80
refactor: whitelist one_time_token param in oidc redirection (#7139)
* refactor: white token param in oidc redirection

* fix: unit test

* refactor(core,schemas): use search param for one time token in oidc redirect
2025-03-20 11:03:41 +08:00
Charles Zhao
7cbf0e4aea
refactor(core,schemas): use search param for one time token in oidc redirect 2025-03-20 10:45:21 +08:00
wangsijie
6cde44af59
feat(console): create captcha guide (#7146) 2025-03-20 08:50:26 +08:00
Xiao Yijun
d18ff7dffc
chore: remove dev guard for embedded pricing content (#7151) 2025-03-19 18:57:25 +08:00
Darcy Ye
ac310889c0
chore: reuse subscription library cache in quota library to reduce cross region HTTP requests (#7109)
* chore: reuse subscription library cache in quota library to reduce cross region HTTP requests

* refactor: renaming function and add comments

* chore: set subscription cache max ttl to 24 hours

* fix: fix subscription data cache unit tests

* chore: renaming function
2025-03-19 03:59:40 +00:00
Darcy Ye
e6785e6687
chore: make report subscription usage to be non-blocking (#7103)
chore: make report subscription usage to be synchronous
2025-03-18 14:21:25 +08:00
wangsijie
31cb92097a
feat(console): captcha required flows (#7147) 2025-03-18 12:17:42 +08:00
Xiao Yijun
c0c5c0767a
chore: remove embedded pricing url for docker build (#7148) 2025-03-18 11:15:19 +08:00
wangsijie
4a65ae31d0
feat(console): captcha detail page (#7135)
* feat(schemas): add captcha provider table

* feat(console): add security home page

* feat(console): captcha detail page
2025-03-17 18:55:00 +08:00
Xiao Yijun
c0d2322209
chore: add consle embed pricing url arg in Dockerfile (#7145)
* chore: add consle embed pricing url arg in docker file

* chore: rename console embedded pricing url env
2025-03-17 16:37:07 +08:00
wangsijie
ec977d0a60
feat(console): captcha list page (#7131)
* feat(schemas): add captcha provider table

* feat(console): add security home page

* feat(console): captchar list page
2025-03-17 08:14:15 +00:00
wangsijie
41724abe76
feat(console): add captcha modal (#7130)
* feat(schemas): add captcha provider table

* feat(console): add security home page

* feat(console): add captcha modal
2025-03-17 03:49:46 +00:00
Gao Sun
9e5fc24191
refactor(console): support unknown region (#7141) 2025-03-16 20:10:35 -07:00
Gao Sun
826b3cfc5c
refactor: align region name display logic 2025-03-16 19:10:15 -07:00
Gao Sun
b9136a4206
refactor(console): set default region flag size 2025-03-16 15:28:20 -07:00
Gao Sun
3d3510faa7
refactor(console): support unknown region 2025-03-16 14:03:05 -07:00
Xiao Yijun
1003b5f585
feat: render pricing content from website (#7136)
* feat: render pricing content from website

* feat: add loading skeleton

* chore: remove deprecated plan comparison table

* fix: use join path

* refactor: update embed pricing link config

* Revert "chore: remove deprecated plan comparison table"

This reverts commit 8245058865.

* chore: add dev feature flag

* chore: rename console embed pricing url env
2025-03-14 23:03:44 +08:00
Charles Zhao
bf7cf5bd47
fix: unit test 2025-03-14 18:13:07 +08:00
Charles Zhao
eabec0b2f8
refactor: white token param in oidc redirection 2025-03-14 16:25:35 +08:00
simeng-li
53d2bab92d
refactor(core): refactor setProfileByVerificationId (#7137)
* refactor(core): refactor setProfileByVerificationId

refactor setProfileByVerificationId

* refactor(core): assert findVerificationRecordById not undefined

assert findVerificationRecordById not undefined
2025-03-14 13:02:43 +08:00
Charles Zhao
5f504deaf2
feat: implement verify one-time token experience api (#7129)
* feat: implement verify one-time token experience api

* chore: add dev feature guard

* chore: update openapi.json
2025-03-14 04:22:53 +00:00
wangsijie
07e587295b
feat(console): add security home page (#7123)
* feat(schemas): add captcha provider table

* feat(console): add security home page
2025-03-14 11:22:38 +08:00
simeng-li
7b342f7efc
fix(core): fix OIDC SSO token request failed issue (#7132)
* fix(core): fix OIDC sso token request failed issue

fix OIDC sso connector token request failed issue

* chore(core): add some comments

add some comments

* chore: add changeset

add changeset

* fix(test): fix ut

fix ut

* refactor: apply suggestions from code review

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2025-03-13 05:48:41 +00:00
simeng-li
40efc34b68
refactor(core): optimize password encryption process (#7091)
* refactor(core): add password encryption to worker pool

add password encryption to worker pool

* refactor(core): update password encryption method

update the aragon2i password encryption method

* chore: update comments

update comments

* chore(core): fix typo clean up code format

fix typo and clean up code format

* refactor(core): refactor path build logic

refactor path build logic

* refactor(core): replace piscina with tinypool

replace piscina with tinypool

* refactor(core): refactor worker

refactor worker script path build logic
2025-03-13 03:18:35 +00:00
wangsijie
6a2495aae7
feat(core): add crud routes for captcha provider (#7111)
* feat(schemas): add captcha provider table

* feat(core): add crud routes for captcha provider
2025-03-13 08:25:14 +08:00
Charles Zhao
11ed1d25bf
chore: fix typos (#7128) 2025-03-11 12:14:47 -07:00
Xiao Yijun
b2abf05b56
chore: ignore readme assets in docker build (#7124) 2025-03-11 07:23:36 +00:00
simeng-li
e2b08309ff
fix(connector): filter out locale param in AliyunSMS (#7122)
* fix(connector): filter out locale param in AliyunSMS

filter out locale params in Aliyun SMS connector

* fix(test): update ut

update ut

* fix(connector): filter locale for tencent SMS

filter locale for tencent SMS
2025-03-11 04:25:01 +00:00
simeng-li
fb795230c9
fix(console): reset MFA forms on all factors disabled (#7118)
* fix(console): reset MFA forms on all factors disabled

reset MFA forms on all factors disabled

reset MFA forms on disabling all factors

* chore(console): refactor form reset logic

refactor form reset logic
2025-03-10 18:09:54 +08:00
Darcy Ye
7a2014c4a7
feat: add POST /one-time-tokens/verify API (#7098)
* feat: add POST /one-time-tokens/verify API

* chore: fix integration tests

* chore: update code
2025-03-10 11:48:28 +08:00
wangsijie
39aba9769d
feat(schemas): add captcha provider table (#7105) 2025-03-10 11:19:53 +08:00
simeng-li
a1aec67dea
chore(core): update some experience API doc descriptions (#7114)
update some experience API doc desriptions
2025-03-10 09:59:58 +08:00
wangsijie
b0b21cc047
feat(schemas): add captcha policy field (#7106) 2025-03-10 09:11:07 +08:00
Charles Zhao
45b58d369a
chore: sync and update translations (#7110) 2025-03-07 19:00:29 +08:00