forked from baron/baron-sso
Fix code-check locale and headless test failures
This commit is contained in:
@@ -860,7 +860,7 @@ subtitle = "Manage your organization"
|
|||||||
|
|
||||||
[ui.admin.integrity]
|
[ui.admin.integrity]
|
||||||
kicker = "System"
|
kicker = "System"
|
||||||
loading = "Loading"
|
loading = "Loading data integrity report..."
|
||||||
title = "Data Integrity Check"
|
title = "Data Integrity Check"
|
||||||
|
|
||||||
[ui.admin.integrity.forbidden]
|
[ui.admin.integrity.forbidden]
|
||||||
|
|||||||
@@ -861,7 +861,7 @@ plane = "ADMIN PLANE"
|
|||||||
subtitle = "Manage your organization"
|
subtitle = "Manage your organization"
|
||||||
|
|
||||||
[ui.admin.integrity]
|
[ui.admin.integrity]
|
||||||
kicker = "System"
|
kicker = "시스템"
|
||||||
loading = "불러오는 중"
|
loading = "불러오는 중"
|
||||||
title = "데이터 정합성 검증"
|
title = "데이터 정합성 검증"
|
||||||
|
|
||||||
@@ -873,7 +873,7 @@ delete = "선택 삭제"
|
|||||||
title = "유령 로그인 ID 정리"
|
title = "유령 로그인 ID 정리"
|
||||||
|
|
||||||
[ui.admin.integrity.read_model]
|
[ui.admin.integrity.read_model]
|
||||||
title = "Read model integrity"
|
title = "읽기 모델 정합성"
|
||||||
|
|
||||||
[ui.admin.integrity.reason]
|
[ui.admin.integrity.reason]
|
||||||
deleted_tenant = "삭제된 테넌트"
|
deleted_tenant = "삭제된 테넌트"
|
||||||
@@ -897,13 +897,13 @@ passed = "정상"
|
|||||||
total_checks = "검사 항목"
|
total_checks = "검사 항목"
|
||||||
|
|
||||||
[ui.admin.integrity.table]
|
[ui.admin.integrity.table]
|
||||||
field = "Field"
|
field = "필드"
|
||||||
login_id = "Login ID"
|
login_id = "로그인 ID"
|
||||||
reason = "사유"
|
reason = "사유"
|
||||||
select = "선택"
|
select = "선택"
|
||||||
select_item = "{{loginId}} 선택"
|
select_item = "{{loginId}} 선택"
|
||||||
tenant = "Tenant"
|
tenant = "테넌트"
|
||||||
user = "User"
|
user = "사용자"
|
||||||
|
|
||||||
[ui.admin.nav]
|
[ui.admin.nav]
|
||||||
org_chart = "조직도"
|
org_chart = "조직도"
|
||||||
|
|||||||
@@ -359,6 +359,8 @@ func mustHeadlessClientAssertionWithAlgorithm(t *testing.T, privateKey any, alg
|
|||||||
}
|
}
|
||||||
|
|
||||||
func runHeadlessPasswordLoginWithAssertion(t *testing.T, jwks map[string]any, clientAssertion string) *http.Response {
|
func runHeadlessPasswordLoginWithAssertion(t *testing.T, jwks map[string]any, clientAssertion string) *http.Response {
|
||||||
|
t.Helper()
|
||||||
|
t.Setenv("BACKEND_PUBLIC_URL", "")
|
||||||
return runHeadlessPasswordLoginWithAssertionRequest(t, jwks, clientAssertion, "http://example.com/api/v1/auth/headless/password/login", nil)
|
return runHeadlessPasswordLoginWithAssertionRequest(t, jwks, clientAssertion, "http://example.com/api/v1/auth/headless/password/login", nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -454,6 +456,8 @@ func runHeadlessPasswordLoginWithAssertionAndLogger(
|
|||||||
clientAssertion string,
|
clientAssertion string,
|
||||||
logger *slog.Logger,
|
logger *slog.Logger,
|
||||||
) *http.Response {
|
) *http.Response {
|
||||||
|
t.Helper()
|
||||||
|
t.Setenv("BACKEND_PUBLIC_URL", "")
|
||||||
return runHeadlessPasswordLoginWithAssertionAndLoggerRequest(
|
return runHeadlessPasswordLoginWithAssertionAndLoggerRequest(
|
||||||
t,
|
t,
|
||||||
jwks,
|
jwks,
|
||||||
@@ -799,6 +803,8 @@ func TestPasswordLogin_UserFront_AuditIncludesDefaultClientMetadata(t *testing.T
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestHeadlessPasswordLogin_HeadlessLoginClientSuccess(t *testing.T) {
|
func TestHeadlessPasswordLogin_HeadlessLoginClientSuccess(t *testing.T) {
|
||||||
|
t.Setenv("BACKEND_PUBLIC_URL", "")
|
||||||
|
|
||||||
if !testsupport.PortBindingAvailable() {
|
if !testsupport.PortBindingAvailable() {
|
||||||
t.Skip("skipping headless login tests because this environment cannot bind local TCP listeners")
|
t.Skip("skipping headless login tests because this environment cannot bind local TCP listeners")
|
||||||
}
|
}
|
||||||
@@ -1019,6 +1025,8 @@ func TestHeadlessPasswordLogin_AuditIncludesClientMetadata(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestHeadlessPasswordLogin_IgnoresInlineHeadlessJWKSWhenJWKSURIIsConfigured(t *testing.T) {
|
func TestHeadlessPasswordLogin_IgnoresInlineHeadlessJWKSWhenJWKSURIIsConfigured(t *testing.T) {
|
||||||
|
t.Setenv("BACKEND_PUBLIC_URL", "")
|
||||||
|
|
||||||
if !testsupport.PortBindingAvailable() {
|
if !testsupport.PortBindingAvailable() {
|
||||||
t.Skip("skipping headless login tests because this environment cannot bind local TCP listeners")
|
t.Skip("skipping headless login tests because this environment cannot bind local TCP listeners")
|
||||||
}
|
}
|
||||||
@@ -1106,6 +1114,8 @@ func TestHeadlessPasswordLogin_IgnoresInlineHeadlessJWKSWhenJWKSURIIsConfigured(
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestHeadlessPasswordLogin_RefreshesJWKSWhenSignatureFailsForCachedKid(t *testing.T) {
|
func TestHeadlessPasswordLogin_RefreshesJWKSWhenSignatureFailsForCachedKid(t *testing.T) {
|
||||||
|
t.Setenv("BACKEND_PUBLIC_URL", "")
|
||||||
|
|
||||||
if !testsupport.PortBindingAvailable() {
|
if !testsupport.PortBindingAvailable() {
|
||||||
t.Skip("skipping headless login tests because this environment cannot bind local TCP listeners")
|
t.Skip("skipping headless login tests because this environment cannot bind local TCP listeners")
|
||||||
}
|
}
|
||||||
@@ -1418,6 +1428,8 @@ func TestHeadlessPasswordLogin_AudienceMismatchReturnsDetailedCode(t *testing.T)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestHeadlessPasswordLogin_AcceptsForwardedHTTPSAudience(t *testing.T) {
|
func TestHeadlessPasswordLogin_AcceptsForwardedHTTPSAudience(t *testing.T) {
|
||||||
|
t.Setenv("BACKEND_PUBLIC_URL", "")
|
||||||
|
|
||||||
privateKey, jwks := mustHeadlessRSAJWK(t)
|
privateKey, jwks := mustHeadlessRSAJWK(t)
|
||||||
clientAssertion := mustHeadlessClientAssertion(
|
clientAssertion := mustHeadlessClientAssertion(
|
||||||
t,
|
t,
|
||||||
|
|||||||
@@ -2514,6 +2514,7 @@ department = "Department"
|
|||||||
email = "Email"
|
email = "Email"
|
||||||
name = "Name"
|
name = "Name"
|
||||||
tenant = "Tenant"
|
tenant = "Tenant"
|
||||||
|
tenant_slug = "Tenant slug"
|
||||||
|
|
||||||
[ui.userfront.profile.password]
|
[ui.userfront.profile.password]
|
||||||
change = "Change"
|
change = "Change"
|
||||||
@@ -2630,7 +2631,7 @@ load_error = "Failed to load the integrity report."
|
|||||||
|
|
||||||
[ui.admin.integrity]
|
[ui.admin.integrity]
|
||||||
kicker = "System"
|
kicker = "System"
|
||||||
loading = "Loading"
|
loading = "Loading data integrity report..."
|
||||||
title = "Data Integrity Check"
|
title = "Data Integrity Check"
|
||||||
|
|
||||||
[ui.admin.integrity.forbidden]
|
[ui.admin.integrity.forbidden]
|
||||||
@@ -2699,6 +2700,3 @@ status_placeholder = "Select status"
|
|||||||
|
|
||||||
[ui.dev.profile.org]
|
[ui.dev.profile.org]
|
||||||
tenant_slug = "Tenant slug"
|
tenant_slug = "Tenant slug"
|
||||||
|
|
||||||
[ui.userfront.profile.field]
|
|
||||||
tenant_slug = "Tenant slug"
|
|
||||||
|
|||||||
@@ -2938,6 +2938,7 @@ department = "소속"
|
|||||||
email = "이메일"
|
email = "이메일"
|
||||||
name = "이름"
|
name = "이름"
|
||||||
tenant = "소속 테넌트"
|
tenant = "소속 테넌트"
|
||||||
|
tenant_slug = "테넌트 slug"
|
||||||
|
|
||||||
[ui.userfront.profile.password]
|
[ui.userfront.profile.password]
|
||||||
change = "비밀번호 변경"
|
change = "비밀번호 변경"
|
||||||
@@ -3052,7 +3053,7 @@ success = "검사가 완료되었습니다."
|
|||||||
load_error = "정합성 리포트를 불러오지 못했습니다."
|
load_error = "정합성 리포트를 불러오지 못했습니다."
|
||||||
|
|
||||||
[ui.admin.integrity]
|
[ui.admin.integrity]
|
||||||
kicker = "System"
|
kicker = "시스템"
|
||||||
loading = "불러오는 중"
|
loading = "불러오는 중"
|
||||||
title = "데이터 정합성 검증"
|
title = "데이터 정합성 검증"
|
||||||
|
|
||||||
@@ -3064,7 +3065,7 @@ delete = "선택 삭제"
|
|||||||
title = "유령 로그인 ID 정리"
|
title = "유령 로그인 ID 정리"
|
||||||
|
|
||||||
[ui.admin.integrity.read_model]
|
[ui.admin.integrity.read_model]
|
||||||
title = "Read model integrity"
|
title = "읽기 모델 정합성"
|
||||||
|
|
||||||
[ui.admin.integrity.reason]
|
[ui.admin.integrity.reason]
|
||||||
deleted_tenant = "삭제된 테넌트"
|
deleted_tenant = "삭제된 테넌트"
|
||||||
@@ -3088,13 +3089,13 @@ passed = "정상"
|
|||||||
total_checks = "검사 항목"
|
total_checks = "검사 항목"
|
||||||
|
|
||||||
[ui.admin.integrity.table]
|
[ui.admin.integrity.table]
|
||||||
field = "Field"
|
field = "필드"
|
||||||
login_id = "Login ID"
|
login_id = "로그인 ID"
|
||||||
reason = "사유"
|
reason = "사유"
|
||||||
select = "선택"
|
select = "선택"
|
||||||
select_item = "{{loginId}} 선택"
|
select_item = "{{loginId}} 선택"
|
||||||
tenant = "Tenant"
|
tenant = "테넌트"
|
||||||
user = "User"
|
user = "사용자"
|
||||||
|
|
||||||
[msg.admin.api_keys.list]
|
[msg.admin.api_keys.list]
|
||||||
edit_scopes_desc = "API 키에 부여할 권한 범위를 수정합니다."
|
edit_scopes_desc = "API 키에 부여할 권한 범위를 수정합니다."
|
||||||
@@ -3122,6 +3123,3 @@ status_placeholder = "상태 선택"
|
|||||||
|
|
||||||
[ui.dev.profile.org]
|
[ui.dev.profile.org]
|
||||||
tenant_slug = "테넌트 slug"
|
tenant_slug = "테넌트 slug"
|
||||||
|
|
||||||
[ui.userfront.profile.field]
|
|
||||||
tenant_slug = "테넌트 slug"
|
|
||||||
|
|||||||
@@ -2817,6 +2817,7 @@ department = ""
|
|||||||
email = ""
|
email = ""
|
||||||
name = ""
|
name = ""
|
||||||
tenant = ""
|
tenant = ""
|
||||||
|
tenant_slug = ""
|
||||||
|
|
||||||
[ui.userfront.profile.password]
|
[ui.userfront.profile.password]
|
||||||
change = ""
|
change = ""
|
||||||
@@ -3001,6 +3002,3 @@ status_placeholder = ""
|
|||||||
|
|
||||||
[ui.dev.profile.org]
|
[ui.dev.profile.org]
|
||||||
tenant_slug = ""
|
tenant_slug = ""
|
||||||
|
|
||||||
[ui.userfront.profile.field]
|
|
||||||
tenant_slug = ""
|
|
||||||
|
|||||||
@@ -599,7 +599,7 @@ department = "Department"
|
|||||||
email = "Email"
|
email = "Email"
|
||||||
name = "Name"
|
name = "Name"
|
||||||
tenant = "Tenant"
|
tenant = "Tenant"
|
||||||
tenant_slug = "Tenant Slug"
|
tenant_slug = "Tenant slug"
|
||||||
|
|
||||||
[ui.userfront.profile.password]
|
[ui.userfront.profile.password]
|
||||||
change = "Change"
|
change = "Change"
|
||||||
|
|||||||
@@ -821,7 +821,7 @@ department = "소속"
|
|||||||
email = "이메일"
|
email = "이메일"
|
||||||
name = "이름"
|
name = "이름"
|
||||||
tenant = "소속 테넌트"
|
tenant = "소속 테넌트"
|
||||||
tenant_slug = "테넌트 Slug"
|
tenant_slug = "테넌트 slug"
|
||||||
|
|
||||||
[ui.userfront.profile.password]
|
[ui.userfront.profile.password]
|
||||||
change = "비밀번호 변경"
|
change = "비밀번호 변경"
|
||||||
|
|||||||
@@ -793,6 +793,7 @@ department = ""
|
|||||||
email = ""
|
email = ""
|
||||||
name = ""
|
name = ""
|
||||||
tenant = ""
|
tenant = ""
|
||||||
|
tenant_slug = ""
|
||||||
|
|
||||||
[ui.userfront.profile.password]
|
[ui.userfront.profile.password]
|
||||||
change = ""
|
change = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user