authhero 8.15.0 → 8.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +105 -105
- package/dist/authhero.d.ts +186 -185
- package/dist/authhero.mjs +4659 -4645
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +3 -3
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/index.d.ts +176 -176
- package/dist/types/routes/auth-api/index.d.ts +4 -4
- package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
- package/dist/types/routes/auth-api/passwordless.d.ts +2 -2
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +3 -3
- package/dist/types/routes/management-api/clients.d.ts +6 -6
- package/dist/types/routes/management-api/connections.d.ts +16 -16
- package/dist/types/routes/management-api/forms.d.ts +126 -126
- package/dist/types/routes/management-api/index.d.ts +162 -162
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/tenants.d.ts +28 -28
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +6 -6
- package/dist/types/routes/universal-login/continue.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- package/dist/types/routes/universal-login/identifier.d.ts +4 -4
- package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-routes.d.ts +2 -2
- package/dist/types/types/AuthHeroConfig.d.ts +9 -8
- package/dist/types/utils/username-password-provider.d.ts +19 -5
- package/package.json +5 -5
|
@@ -24,7 +24,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
output: {
|
|
27
|
-
type: "
|
|
27
|
+
type: "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
28
28
|
date: string;
|
|
29
29
|
isMobile: boolean;
|
|
30
30
|
log_id: string;
|
|
@@ -63,7 +63,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
63
63
|
limit: number;
|
|
64
64
|
length: number;
|
|
65
65
|
logs: {
|
|
66
|
-
type: "
|
|
66
|
+
type: "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
67
67
|
date: string;
|
|
68
68
|
isMobile: boolean;
|
|
69
69
|
log_id: string;
|
|
@@ -117,7 +117,7 @@ export declare const logRoutes: OpenAPIHono<{
|
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
119
|
output: {
|
|
120
|
-
type: "
|
|
120
|
+
type: "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
121
121
|
date: string;
|
|
122
122
|
isMobile: boolean;
|
|
123
123
|
log_id: string;
|
|
@@ -50,7 +50,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
output: {
|
|
53
|
-
prompt: "
|
|
53
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
54
54
|
language: string;
|
|
55
55
|
}[];
|
|
56
56
|
outputFormat: "json";
|
|
@@ -88,7 +88,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
88
88
|
$get: {
|
|
89
89
|
input: {
|
|
90
90
|
param: {
|
|
91
|
-
prompt: "
|
|
91
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
92
92
|
language: string;
|
|
93
93
|
};
|
|
94
94
|
} & {
|
|
@@ -110,7 +110,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
110
110
|
$put: {
|
|
111
111
|
input: {
|
|
112
112
|
param: {
|
|
113
|
-
prompt: "
|
|
113
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
114
114
|
language: string;
|
|
115
115
|
};
|
|
116
116
|
} & {
|
|
@@ -134,7 +134,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
134
134
|
$delete: {
|
|
135
135
|
input: {
|
|
136
136
|
param: {
|
|
137
|
-
prompt: "
|
|
137
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
138
138
|
language: string;
|
|
139
139
|
};
|
|
140
140
|
} & {
|
|
@@ -210,6 +210,34 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
210
210
|
};
|
|
211
211
|
} & {
|
|
212
212
|
json: {
|
|
213
|
+
sessions?: {
|
|
214
|
+
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
mfa?: {
|
|
217
|
+
policy?: "never" | "always" | undefined;
|
|
218
|
+
factors?: {
|
|
219
|
+
sms?: boolean | undefined;
|
|
220
|
+
otp?: boolean | undefined;
|
|
221
|
+
email?: boolean | undefined;
|
|
222
|
+
push_notification?: boolean | undefined;
|
|
223
|
+
webauthn_roaming?: boolean | undefined;
|
|
224
|
+
webauthn_platform?: boolean | undefined;
|
|
225
|
+
recovery_code?: boolean | undefined;
|
|
226
|
+
duo?: boolean | undefined;
|
|
227
|
+
} | undefined;
|
|
228
|
+
sms_provider?: {
|
|
229
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
230
|
+
} | undefined;
|
|
231
|
+
twilio?: {
|
|
232
|
+
sid?: string | undefined;
|
|
233
|
+
auth_token?: string | undefined;
|
|
234
|
+
from?: string | undefined;
|
|
235
|
+
messaging_service_sid?: string | undefined;
|
|
236
|
+
} | undefined;
|
|
237
|
+
phone_message?: {
|
|
238
|
+
message?: string | undefined;
|
|
239
|
+
} | undefined;
|
|
240
|
+
} | undefined;
|
|
213
241
|
id?: string | undefined;
|
|
214
242
|
allowed_logout_urls?: string[] | undefined;
|
|
215
243
|
oidc_logout?: {
|
|
@@ -303,9 +331,6 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
303
331
|
} | undefined;
|
|
304
332
|
} | null | undefined;
|
|
305
333
|
default_audience?: string | undefined;
|
|
306
|
-
sessions?: {
|
|
307
|
-
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
308
|
-
} | undefined;
|
|
309
334
|
allow_organization_name_in_authentication_api?: boolean | undefined;
|
|
310
335
|
customize_mfa_in_postlogin_action?: boolean | undefined;
|
|
311
336
|
acr_values_supported?: string[] | undefined;
|
|
@@ -361,31 +386,6 @@ export declare const tenantRoutes: OpenAPIHono<{
|
|
|
361
386
|
} | undefined;
|
|
362
387
|
} | undefined;
|
|
363
388
|
} | undefined;
|
|
364
|
-
mfa?: {
|
|
365
|
-
policy?: "never" | "always" | undefined;
|
|
366
|
-
factors?: {
|
|
367
|
-
sms?: boolean | undefined;
|
|
368
|
-
otp?: boolean | undefined;
|
|
369
|
-
email?: boolean | undefined;
|
|
370
|
-
push_notification?: boolean | undefined;
|
|
371
|
-
webauthn_roaming?: boolean | undefined;
|
|
372
|
-
webauthn_platform?: boolean | undefined;
|
|
373
|
-
recovery_code?: boolean | undefined;
|
|
374
|
-
duo?: boolean | undefined;
|
|
375
|
-
} | undefined;
|
|
376
|
-
sms_provider?: {
|
|
377
|
-
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
378
|
-
} | undefined;
|
|
379
|
-
twilio?: {
|
|
380
|
-
sid?: string | undefined;
|
|
381
|
-
auth_token?: string | undefined;
|
|
382
|
-
from?: string | undefined;
|
|
383
|
-
messaging_service_sid?: string | undefined;
|
|
384
|
-
} | undefined;
|
|
385
|
-
phone_message?: {
|
|
386
|
-
message?: string | undefined;
|
|
387
|
-
} | undefined;
|
|
388
|
-
} | undefined;
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
391
|
output: {
|
|
@@ -737,7 +737,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
737
737
|
};
|
|
738
738
|
};
|
|
739
739
|
output: {
|
|
740
|
-
type: "
|
|
740
|
+
type: "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
741
741
|
date: string;
|
|
742
742
|
isMobile: boolean;
|
|
743
743
|
log_id: string;
|
|
@@ -776,7 +776,7 @@ export declare const userRoutes: OpenAPIHono<{
|
|
|
776
776
|
limit: number;
|
|
777
777
|
length: number;
|
|
778
778
|
logs: {
|
|
779
|
-
type: "
|
|
779
|
+
type: "fn" | "sapi" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
780
780
|
date: string;
|
|
781
781
|
isMobile: boolean;
|
|
782
782
|
log_id: string;
|
|
@@ -357,7 +357,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
357
357
|
active?: boolean | undefined;
|
|
358
358
|
} | undefined;
|
|
359
359
|
signup?: {
|
|
360
|
-
status?: "
|
|
360
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
361
361
|
verification?: {
|
|
362
362
|
active?: boolean | undefined;
|
|
363
363
|
} | undefined;
|
|
@@ -374,7 +374,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
374
374
|
active?: boolean | undefined;
|
|
375
375
|
} | undefined;
|
|
376
376
|
signup?: {
|
|
377
|
-
status?: "
|
|
377
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
validation?: {
|
|
380
380
|
max_length?: number | undefined;
|
|
@@ -391,7 +391,7 @@ export declare function initJSXRoute(ctx: Context<{
|
|
|
391
391
|
active?: boolean | undefined;
|
|
392
392
|
} | undefined;
|
|
393
393
|
signup?: {
|
|
394
|
-
status?: "
|
|
394
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
395
395
|
} | undefined;
|
|
396
396
|
} | undefined;
|
|
397
397
|
} | undefined;
|
|
@@ -1078,7 +1078,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1078
1078
|
active?: boolean | undefined;
|
|
1079
1079
|
} | undefined;
|
|
1080
1080
|
signup?: {
|
|
1081
|
-
status?: "
|
|
1081
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
1082
1082
|
verification?: {
|
|
1083
1083
|
active?: boolean | undefined;
|
|
1084
1084
|
} | undefined;
|
|
@@ -1095,7 +1095,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1095
1095
|
active?: boolean | undefined;
|
|
1096
1096
|
} | undefined;
|
|
1097
1097
|
signup?: {
|
|
1098
|
-
status?: "
|
|
1098
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
1099
1099
|
} | undefined;
|
|
1100
1100
|
validation?: {
|
|
1101
1101
|
max_length?: number | undefined;
|
|
@@ -1112,7 +1112,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
|
|
|
1112
1112
|
active?: boolean | undefined;
|
|
1113
1113
|
} | undefined;
|
|
1114
1114
|
signup?: {
|
|
1115
|
-
status?: "
|
|
1115
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
1116
1116
|
} | undefined;
|
|
1117
1117
|
} | undefined;
|
|
1118
1118
|
} | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const continueRoutes: OpenAPIHono<{
|
|
|
13
13
|
};
|
|
14
14
|
output: {};
|
|
15
15
|
outputFormat: string;
|
|
16
|
-
status:
|
|
16
|
+
status: 400;
|
|
17
17
|
} | {
|
|
18
18
|
input: {
|
|
19
19
|
query: {
|
|
@@ -22,7 +22,7 @@ export declare const continueRoutes: OpenAPIHono<{
|
|
|
22
22
|
};
|
|
23
23
|
output: {};
|
|
24
24
|
outputFormat: string;
|
|
25
|
-
status:
|
|
25
|
+
status: 302;
|
|
26
26
|
} | {
|
|
27
27
|
input: {
|
|
28
28
|
query: {
|
|
@@ -27,7 +27,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
27
27
|
output: {
|
|
28
28
|
screen: {
|
|
29
29
|
action: string;
|
|
30
|
-
method: "
|
|
30
|
+
method: "POST" | "GET";
|
|
31
31
|
components: {
|
|
32
32
|
id: string;
|
|
33
33
|
type: string;
|
|
@@ -43,7 +43,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
43
43
|
hint?: string | undefined;
|
|
44
44
|
messages?: {
|
|
45
45
|
text: string;
|
|
46
|
-
type: "
|
|
46
|
+
type: "success" | "error" | "info" | "warning";
|
|
47
47
|
id?: number | undefined;
|
|
48
48
|
}[] | undefined;
|
|
49
49
|
}[];
|
|
@@ -51,7 +51,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
51
51
|
description?: string | undefined;
|
|
52
52
|
messages?: {
|
|
53
53
|
text: string;
|
|
54
|
-
type: "
|
|
54
|
+
type: "success" | "error" | "info" | "warning";
|
|
55
55
|
id?: number | undefined;
|
|
56
56
|
}[] | undefined;
|
|
57
57
|
links?: {
|
|
@@ -107,7 +107,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
107
107
|
output: {
|
|
108
108
|
screen: {
|
|
109
109
|
action: string;
|
|
110
|
-
method: "
|
|
110
|
+
method: "POST" | "GET";
|
|
111
111
|
components: {
|
|
112
112
|
id: string;
|
|
113
113
|
type: string;
|
|
@@ -123,7 +123,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
123
123
|
hint?: string | undefined;
|
|
124
124
|
messages?: {
|
|
125
125
|
text: string;
|
|
126
|
-
type: "
|
|
126
|
+
type: "success" | "error" | "info" | "warning";
|
|
127
127
|
id?: number | undefined;
|
|
128
128
|
}[] | undefined;
|
|
129
129
|
}[];
|
|
@@ -131,7 +131,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
131
131
|
description?: string | undefined;
|
|
132
132
|
messages?: {
|
|
133
133
|
text: string;
|
|
134
|
-
type: "
|
|
134
|
+
type: "success" | "error" | "info" | "warning";
|
|
135
135
|
id?: number | undefined;
|
|
136
136
|
}[] | undefined;
|
|
137
137
|
links?: {
|
|
@@ -204,7 +204,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
204
204
|
output: {
|
|
205
205
|
screen: {
|
|
206
206
|
action: string;
|
|
207
|
-
method: "
|
|
207
|
+
method: "POST" | "GET";
|
|
208
208
|
components: {
|
|
209
209
|
id: string;
|
|
210
210
|
type: string;
|
|
@@ -220,7 +220,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
220
220
|
hint?: string | undefined;
|
|
221
221
|
messages?: {
|
|
222
222
|
text: string;
|
|
223
|
-
type: "
|
|
223
|
+
type: "success" | "error" | "info" | "warning";
|
|
224
224
|
id?: number | undefined;
|
|
225
225
|
}[] | undefined;
|
|
226
226
|
}[];
|
|
@@ -228,7 +228,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
228
228
|
description?: string | undefined;
|
|
229
229
|
messages?: {
|
|
230
230
|
text: string;
|
|
231
|
-
type: "
|
|
231
|
+
type: "success" | "error" | "info" | "warning";
|
|
232
232
|
id?: number | undefined;
|
|
233
233
|
}[] | undefined;
|
|
234
234
|
links?: {
|
|
@@ -319,7 +319,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
319
319
|
output: {
|
|
320
320
|
screen: {
|
|
321
321
|
action: string;
|
|
322
|
-
method: "
|
|
322
|
+
method: "POST" | "GET";
|
|
323
323
|
components: {
|
|
324
324
|
id: string;
|
|
325
325
|
type: string;
|
|
@@ -335,7 +335,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
335
335
|
hint?: string | undefined;
|
|
336
336
|
messages?: {
|
|
337
337
|
text: string;
|
|
338
|
-
type: "
|
|
338
|
+
type: "success" | "error" | "info" | "warning";
|
|
339
339
|
id?: number | undefined;
|
|
340
340
|
}[] | undefined;
|
|
341
341
|
}[];
|
|
@@ -343,7 +343,7 @@ export declare const flowApiRoutes: OpenAPIHono<{
|
|
|
343
343
|
description?: string | undefined;
|
|
344
344
|
messages?: {
|
|
345
345
|
text: string;
|
|
346
|
-
type: "
|
|
346
|
+
type: "success" | "error" | "info" | "warning";
|
|
347
347
|
id?: number | undefined;
|
|
348
348
|
}[] | undefined;
|
|
349
349
|
links?: {
|
|
@@ -30,12 +30,12 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
30
30
|
} & {
|
|
31
31
|
form: {
|
|
32
32
|
username: string;
|
|
33
|
-
login_selection?: "
|
|
33
|
+
login_selection?: "password" | "code" | undefined;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
output: {};
|
|
37
37
|
outputFormat: string;
|
|
38
|
-
status:
|
|
38
|
+
status: 400;
|
|
39
39
|
} | {
|
|
40
40
|
input: {
|
|
41
41
|
query: {
|
|
@@ -44,12 +44,12 @@ export declare const identifierRoutes: OpenAPIHono<{
|
|
|
44
44
|
} & {
|
|
45
45
|
form: {
|
|
46
46
|
username: string;
|
|
47
|
-
login_selection?: "
|
|
47
|
+
login_selection?: "password" | "code" | undefined;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
output: {};
|
|
51
51
|
outputFormat: string;
|
|
52
|
-
status:
|
|
52
|
+
status: 302;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
}, "/">;
|
|
@@ -52,7 +52,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
52
52
|
};
|
|
53
53
|
output: {};
|
|
54
54
|
outputFormat: string;
|
|
55
|
-
status:
|
|
55
|
+
status: 400;
|
|
56
56
|
} | {
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
@@ -65,7 +65,7 @@ export declare const impersonateRoutes: OpenAPIHono<{
|
|
|
65
65
|
};
|
|
66
66
|
output: {};
|
|
67
67
|
outputFormat: string;
|
|
68
|
-
status:
|
|
68
|
+
status: 302;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
}, "/">;
|
|
@@ -27,7 +27,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
27
27
|
};
|
|
28
28
|
output: {};
|
|
29
29
|
outputFormat: string;
|
|
30
|
-
status:
|
|
30
|
+
status: 400;
|
|
31
31
|
} | {
|
|
32
32
|
input: {
|
|
33
33
|
query: {
|
|
@@ -36,7 +36,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
36
36
|
};
|
|
37
37
|
output: {};
|
|
38
38
|
outputFormat: string;
|
|
39
|
-
status:
|
|
39
|
+
status: 302;
|
|
40
40
|
} | {
|
|
41
41
|
input: {
|
|
42
42
|
query: {
|
|
@@ -165,7 +165,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
165
165
|
};
|
|
166
166
|
output: {};
|
|
167
167
|
outputFormat: string;
|
|
168
|
-
status:
|
|
168
|
+
status: 400;
|
|
169
169
|
} | {
|
|
170
170
|
input: {
|
|
171
171
|
query: {
|
|
@@ -178,7 +178,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
178
178
|
};
|
|
179
179
|
output: {};
|
|
180
180
|
outputFormat: string;
|
|
181
|
-
status:
|
|
181
|
+
status: 302;
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
184
|
}, "/impersonate"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -515,12 +515,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
515
515
|
} & {
|
|
516
516
|
form: {
|
|
517
517
|
username: string;
|
|
518
|
-
login_selection?: "
|
|
518
|
+
login_selection?: "password" | "code" | undefined;
|
|
519
519
|
};
|
|
520
520
|
};
|
|
521
521
|
output: {};
|
|
522
522
|
outputFormat: string;
|
|
523
|
-
status:
|
|
523
|
+
status: 400;
|
|
524
524
|
} | {
|
|
525
525
|
input: {
|
|
526
526
|
query: {
|
|
@@ -529,12 +529,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
529
529
|
} & {
|
|
530
530
|
form: {
|
|
531
531
|
username: string;
|
|
532
|
-
login_selection?: "
|
|
532
|
+
login_selection?: "password" | "code" | undefined;
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
535
|
output: {};
|
|
536
536
|
outputFormat: string;
|
|
537
|
-
status:
|
|
537
|
+
status: 302;
|
|
538
538
|
};
|
|
539
539
|
};
|
|
540
540
|
}, "/login/identifier"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -193,7 +193,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
193
193
|
};
|
|
194
194
|
output: {};
|
|
195
195
|
outputFormat: string;
|
|
196
|
-
status:
|
|
196
|
+
status: 400;
|
|
197
197
|
} | {
|
|
198
198
|
input: {
|
|
199
199
|
param: {
|
|
@@ -209,7 +209,7 @@ export default function createU2App(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
209
209
|
};
|
|
210
210
|
output: {};
|
|
211
211
|
outputFormat: string;
|
|
212
|
-
status:
|
|
212
|
+
status: 302;
|
|
213
213
|
};
|
|
214
214
|
};
|
|
215
215
|
} & {
|
|
@@ -198,7 +198,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
198
198
|
};
|
|
199
199
|
output: {};
|
|
200
200
|
outputFormat: string;
|
|
201
|
-
status:
|
|
201
|
+
status: 400;
|
|
202
202
|
} | {
|
|
203
203
|
input: {
|
|
204
204
|
param: {
|
|
@@ -214,7 +214,7 @@ export declare const u2Routes: OpenAPIHono<{
|
|
|
214
214
|
};
|
|
215
215
|
output: {};
|
|
216
216
|
outputFormat: string;
|
|
217
|
-
status:
|
|
217
|
+
status: 302;
|
|
218
218
|
};
|
|
219
219
|
};
|
|
220
220
|
} & {
|
|
@@ -161,11 +161,11 @@ export type UserLinkingModeOption = UserLinkingMode | UserLinkingModeResolver;
|
|
|
161
161
|
/**
|
|
162
162
|
* Resolver for the per-tenant username/password provider value.
|
|
163
163
|
*
|
|
164
|
-
* The native database provider has historically been written as `"auth2"
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
164
|
+
* The native database provider has historically been written as `"auth2"`;
|
|
165
|
+
* new rows now default to `"auth0"`. Returning `"auth2"` for selected
|
|
166
|
+
* tenants pins them on the legacy value during a staged cutover. Reads
|
|
167
|
+
* always accept both values, so existing `auth2|*` rows keep resolving
|
|
168
|
+
* during and after the cutover.
|
|
169
169
|
*
|
|
170
170
|
* TRANSITIONAL: this resolver and the dual-read fallback can be removed
|
|
171
171
|
* once every tenant has been migrated to a single value.
|
|
@@ -514,11 +514,12 @@ export interface AuthHeroConfig {
|
|
|
514
514
|
userLinkingMode?: UserLinkingModeOption;
|
|
515
515
|
/**
|
|
516
516
|
* Per-tenant override for the username/password provider value used on
|
|
517
|
-
* NEW user rows.
|
|
518
|
-
* password resets, etc.
|
|
517
|
+
* NEW user rows. Omit to write `"auth0"` for every tenant — new signups,
|
|
518
|
+
* password resets, etc. use the `auth0|*` user_id format. Existing
|
|
519
519
|
* `auth2|*` rows keep working — reads accept either value.
|
|
520
520
|
*
|
|
521
|
-
*
|
|
521
|
+
* Returning `"auth2"` pins a tenant on the legacy value during a staged
|
|
522
|
+
* cutover.
|
|
522
523
|
*
|
|
523
524
|
* TRANSITIONAL: this hook and the dual-read fallback in the password
|
|
524
525
|
* flows can be removed once all tenants have been backfilled.
|