authhero 9.40.0 → 9.42.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.
Files changed (84) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/p-6774edd2.entry.js +1 -0
  4. package/dist/authhero.cjs +114 -111
  5. package/dist/authhero.d.ts +707 -431
  6. package/dist/authhero.mjs +16567 -12663
  7. package/dist/{mfa-BlaRHQgI.js → mfa-C8qBEQeH.js} +2 -2
  8. package/dist/{mfa-Ddp9JT1l.mjs → mfa-CVF4Wbdz.mjs} +106 -106
  9. package/dist/mfa-attempts-CzGjIGzD.js +395 -0
  10. package/dist/{mfa-attempts-YsmteBp0.mjs → mfa-attempts-sV0Xs59R.mjs} +5651 -5026
  11. package/dist/{passkey-enrollment-CLg7RteL.js → passkey-enrollment-CAb2zWEF.js} +1 -1
  12. package/dist/tsconfig.types.tsbuildinfo +1 -1
  13. package/dist/types/authentication-flows/mfa-attempts.d.ts +7 -0
  14. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  15. package/dist/types/generated/locale-types.d.ts +6 -0
  16. package/dist/types/helpers/client.d.ts +26 -0
  17. package/dist/types/helpers/login-migration.d.ts +56 -0
  18. package/dist/types/helpers/login-version.d.ts +18 -0
  19. package/dist/types/helpers/management-audience.d.ts +11 -0
  20. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  21. package/dist/types/helpers/saml-connection-options.d.ts +24 -0
  22. package/dist/types/helpers/saml-request-signature.d.ts +36 -0
  23. package/dist/types/hooks/codehooks.d.ts +45 -0
  24. package/dist/types/hooks/lifecycle-codehooks.d.ts +1 -1
  25. package/dist/types/index.d.ts +426 -207
  26. package/dist/types/routes/auth-api/authorize.d.ts +13 -13
  27. package/dist/types/routes/auth-api/callback.d.ts +42 -6
  28. package/dist/types/routes/auth-api/device.d.ts +13 -13
  29. package/dist/types/routes/auth-api/index.d.ts +103 -67
  30. package/dist/types/routes/auth-api/logout.d.ts +2 -2
  31. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  32. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  33. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  34. package/dist/types/routes/auth-api/token.d.ts +12 -12
  35. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  36. package/dist/types/routes/management-api/action-triggers.d.ts +25 -25
  37. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  38. package/dist/types/routes/management-api/branding.d.ts +3 -3
  39. package/dist/types/routes/management-api/clients.d.ts +30 -0
  40. package/dist/types/routes/management-api/connections.d.ts +91 -1
  41. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  42. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  43. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  44. package/dist/types/routes/management-api/forms.d.ts +152 -152
  45. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  46. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  47. package/dist/types/routes/management-api/hooks.d.ts +21 -21
  48. package/dist/types/routes/management-api/index.d.ts +233 -113
  49. package/dist/types/routes/management-api/keys.d.ts +16 -16
  50. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  51. package/dist/types/routes/management-api/logs.d.ts +4 -4
  52. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  53. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  54. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  55. package/dist/types/routes/management-api/roles.d.ts +1 -1
  56. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  57. package/dist/types/routes/management-api/self-service-profiles.d.ts +7 -7
  58. package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
  59. package/dist/types/routes/management-api/tenants.d.ts +13 -9
  60. package/dist/types/routes/management-api/users.d.ts +35 -35
  61. package/dist/types/routes/saml/index.d.ts +72 -9
  62. package/dist/types/routes/saml/samlp.d.ts +72 -9
  63. package/dist/types/routes/universal-login/common.d.ts +2 -0
  64. package/dist/types/routes/universal-login/continue.d.ts +4 -4
  65. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  66. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  67. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  68. package/dist/types/routes/universal-login/index.d.ts +8 -8
  69. package/dist/types/routes/universal-login/screens/login-otp.d.ts +79 -5
  70. package/dist/types/routes/universal-login/screens/magic-link-sent.d.ts +8 -1
  71. package/dist/types/routes/universal-login/u2-index.d.ts +9 -9
  72. package/dist/types/routes/universal-login/u2-routes.d.ts +8 -7
  73. package/dist/types/state-machines/login-session-data.d.ts +36 -1
  74. package/dist/types/state-machines/login-session.d.ts +17 -1
  75. package/dist/types/strategies/index.d.ts +2 -0
  76. package/dist/types/strategies/samlp.d.ts +58 -0
  77. package/dist/types/types/AuthHeroConfig.d.ts +15 -1
  78. package/dist/types/types/Bindings.d.ts +2 -1
  79. package/dist/types/types/Variables.d.ts +2 -0
  80. package/dist/types/utils/ssrf-fetch.d.ts +2 -0
  81. package/dist/types/variables.d.ts +7 -6
  82. package/package.json +9 -6
  83. package/dist/assets/u/widget/p-d0eb5acc.entry.js +0 -1
  84. package/dist/mfa-attempts-bPJnyu2c.js +0 -385
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
18
18
  };
19
19
  output: {};
20
20
  outputFormat: string;
21
- status: 200;
21
+ status: 400;
22
22
  } | {
23
23
  input: {
24
24
  query: {
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
32
32
  };
33
33
  output: {};
34
34
  outputFormat: string;
35
- status: 302;
35
+ status: 200;
36
36
  } | {
37
37
  input: {
38
38
  query: {
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
46
46
  };
47
47
  output: {};
48
48
  outputFormat: string;
49
- status: 400;
49
+ status: 302;
50
50
  };
51
51
  };
52
52
  }, "/">;
@@ -14,20 +14,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- state?: string | undefined;
17
+ scope?: string | undefined;
18
+ response_type?: AuthorizationResponseType | undefined;
19
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
18
20
  username?: string | undefined;
21
+ audience?: string | undefined;
19
22
  connection?: string | undefined;
20
- code_challenge?: string | undefined;
21
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
22
- redirect_uri?: string | undefined;
23
23
  nonce?: string | undefined;
24
+ state?: string | undefined;
24
25
  act_as?: string | undefined;
25
- response_type?: AuthorizationResponseType | undefined;
26
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
27
- audience?: string | undefined;
26
+ redirect_uri?: string | undefined;
28
27
  organization?: string | undefined;
29
- scope?: string | undefined;
30
28
  prompt?: string | undefined;
29
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
30
+ code_challenge?: string | undefined;
31
31
  ui_locales?: string | undefined;
32
32
  max_age?: number | undefined;
33
33
  acr_values?: string | undefined;
@@ -51,20 +51,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
51
51
  phone_number: string;
52
52
  send: "code" | "link";
53
53
  authParams: {
54
- state?: string | undefined;
54
+ scope?: string | undefined;
55
+ response_type?: AuthorizationResponseType | undefined;
56
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
55
57
  username?: string | undefined;
58
+ audience?: string | undefined;
56
59
  connection?: string | undefined;
57
- code_challenge?: string | undefined;
58
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
59
- redirect_uri?: string | undefined;
60
60
  nonce?: string | undefined;
61
+ state?: string | undefined;
61
62
  act_as?: string | undefined;
62
- response_type?: AuthorizationResponseType | undefined;
63
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
64
- audience?: string | undefined;
63
+ redirect_uri?: string | undefined;
65
64
  organization?: string | undefined;
66
- scope?: string | undefined;
67
65
  prompt?: string | undefined;
66
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
67
+ code_challenge?: string | undefined;
68
68
  ui_locales?: string | undefined;
69
69
  max_age?: number | undefined;
70
70
  acr_values?: string | undefined;
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
9
9
  input: {
10
10
  form: {
11
11
  token: string;
12
- token_type_hint?: "refresh_token" | "access_token" | undefined;
12
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
13
13
  client_id?: string | undefined;
14
14
  client_secret?: string | undefined;
15
15
  };
16
16
  } & {
17
17
  json: {
18
18
  token: string;
19
- token_type_hint?: "refresh_token" | "access_token" | undefined;
19
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
20
20
  client_id?: string | undefined;
21
21
  client_secret?: string | undefined;
22
22
  };
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
28
28
  input: {
29
29
  form: {
30
30
  token: string;
31
- token_type_hint?: "refresh_token" | "access_token" | undefined;
31
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
32
32
  client_id?: string | undefined;
33
33
  client_secret?: string | undefined;
34
34
  };
35
35
  } & {
36
36
  json: {
37
37
  token: string;
38
- token_type_hint?: "refresh_token" | "access_token" | undefined;
38
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
39
39
  client_id?: string | undefined;
40
40
  client_secret?: string | undefined;
41
41
  };
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
50
50
  input: {
51
51
  form: {
52
52
  token: string;
53
- token_type_hint?: "refresh_token" | "access_token" | undefined;
53
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
54
54
  client_id?: string | undefined;
55
55
  client_secret?: string | undefined;
56
56
  };
57
57
  } & {
58
58
  json: {
59
59
  token: string;
60
- token_type_hint?: "refresh_token" | "access_token" | undefined;
60
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
61
61
  client_id?: string | undefined;
62
62
  client_secret?: string | undefined;
63
63
  };
@@ -285,17 +285,11 @@ export declare const tokenRoutes: OpenAPIHono<{
285
285
  };
286
286
  };
287
287
  output: {
288
- access_token: string;
289
- token_type: string;
290
- expires_in: number;
291
- id_token?: string | undefined;
292
- scope?: string | undefined;
293
- state?: string | undefined;
294
- refresh_token?: string | undefined;
295
- issued_token_type?: string | undefined;
288
+ error: string;
289
+ error_description?: string | undefined;
296
290
  };
297
291
  outputFormat: "json";
298
- status: 200;
292
+ status: 400;
299
293
  } | {
300
294
  input: {
301
295
  form: {
@@ -435,11 +429,17 @@ export declare const tokenRoutes: OpenAPIHono<{
435
429
  };
436
430
  };
437
431
  output: {
438
- error: string;
439
- error_description?: string | undefined;
432
+ access_token: string;
433
+ token_type: string;
434
+ expires_in: number;
435
+ id_token?: string | undefined;
436
+ scope?: string | undefined;
437
+ state?: string | undefined;
438
+ refresh_token?: string | undefined;
439
+ issued_token_type?: string | undefined;
440
440
  };
441
441
  outputFormat: "json";
442
- status: 400;
442
+ status: 200;
443
443
  } | {
444
444
  input: {
445
445
  form: {
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "pending" | "suspended" | "unspecified" | "final" | "partial" | "canceled";
34
+ status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
35
35
  results: {
36
36
  action_name: string;
37
37
  error: {
@@ -58,6 +58,31 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
58
58
  } & {
59
59
  "/:triggerId/bindings": {
60
60
  $patch: {
61
+ input: {
62
+ param: {
63
+ triggerId: string;
64
+ };
65
+ } & {
66
+ header: {
67
+ "tenant-id"?: string | undefined;
68
+ };
69
+ } & {
70
+ json: {
71
+ bindings: {
72
+ ref: {
73
+ type?: "action_id" | "action_name" | undefined;
74
+ value?: string | undefined;
75
+ id?: string | undefined;
76
+ name?: string | undefined;
77
+ };
78
+ display_name?: string | undefined;
79
+ }[];
80
+ };
81
+ };
82
+ output: {};
83
+ outputFormat: string;
84
+ status: 403;
85
+ } | {
61
86
  input: {
62
87
  param: {
63
88
  triggerId: string;
@@ -117,31 +142,6 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
117
142
  };
118
143
  outputFormat: "json";
119
144
  status: 200;
120
- } | {
121
- input: {
122
- param: {
123
- triggerId: string;
124
- };
125
- } & {
126
- header: {
127
- "tenant-id"?: string | undefined;
128
- };
129
- } & {
130
- json: {
131
- bindings: {
132
- ref: {
133
- type?: "action_id" | "action_name" | undefined;
134
- value?: string | undefined;
135
- id?: string | undefined;
136
- name?: string | undefined;
137
- };
138
- display_name?: string | undefined;
139
- }[];
140
- };
141
- };
142
- output: {};
143
- outputFormat: string;
144
- status: 403;
145
145
  };
146
146
  };
147
147
  }, "/">;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -536,7 +536,7 @@ export declare const brandingRoutes: OpenAPIHono<{
536
536
  };
537
537
  output: {};
538
538
  outputFormat: string;
539
- status: 204;
539
+ status: 400;
540
540
  } | {
541
541
  input: {
542
542
  header: {
@@ -549,7 +549,7 @@ export declare const brandingRoutes: OpenAPIHono<{
549
549
  };
550
550
  output: {};
551
551
  outputFormat: string;
552
- status: 400;
552
+ status: 204;
553
553
  };
554
554
  };
555
555
  } & {
@@ -575,7 +575,7 @@ export declare const brandingRoutes: OpenAPIHono<{
575
575
  } & {
576
576
  json: {
577
577
  body?: string | undefined;
578
- screen?: "error" | "password" | "mfa" | "otp" | "login" | "identifier" | "signup" | "consent" | undefined;
578
+ screen?: "error" | "identifier" | "signup" | "password" | "mfa" | "otp" | "login" | "consent" | undefined;
579
579
  branding?: {
580
580
  colors?: {
581
581
  primary: string;
@@ -1077,6 +1077,21 @@ export declare const clientRoutes: OpenAPIHono<{
1077
1077
  } | undefined;
1078
1078
  allow_action_users?: boolean | undefined;
1079
1079
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
1080
+ signInEndpoint?: string | undefined;
1081
+ signOutEndpoint?: string | undefined;
1082
+ signingCert?: string | undefined;
1083
+ signingCerts?: string[] | undefined;
1084
+ metadataUrl?: string | undefined;
1085
+ metadataXml?: string | undefined;
1086
+ signSAMLRequest?: boolean | undefined;
1087
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
1088
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
1089
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
1090
+ user_id_attribute?: string | undefined;
1091
+ fieldsMap?: {
1092
+ [x: string]: string | string[];
1093
+ } | undefined;
1094
+ entityId?: string | undefined;
1080
1095
  };
1081
1096
  scope?: "local" | "shared" | "platform" | undefined;
1082
1097
  override?: "none" | "secrets" | "fields" | undefined;
@@ -1239,6 +1254,21 @@ export declare const clientRoutes: OpenAPIHono<{
1239
1254
  } | undefined;
1240
1255
  allow_action_users?: boolean | undefined;
1241
1256
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
1257
+ signInEndpoint?: string | undefined;
1258
+ signOutEndpoint?: string | undefined;
1259
+ signingCert?: string | undefined;
1260
+ signingCerts?: string[] | undefined;
1261
+ metadataUrl?: string | undefined;
1262
+ metadataXml?: string | undefined;
1263
+ signSAMLRequest?: boolean | undefined;
1264
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
1265
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
1266
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
1267
+ user_id_attribute?: string | undefined;
1268
+ fieldsMap?: {
1269
+ [x: string]: string | string[];
1270
+ } | undefined;
1271
+ entityId?: string | undefined;
1242
1272
  };
1243
1273
  scope?: "local" | "shared" | "platform" | undefined;
1244
1274
  override?: "none" | "secrets" | "fields" | undefined;
@@ -146,6 +146,21 @@ export declare const connectionRoutes: OpenAPIHono<{
146
146
  } | undefined;
147
147
  allow_action_users?: boolean | undefined;
148
148
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
149
+ signInEndpoint?: string | undefined;
150
+ signOutEndpoint?: string | undefined;
151
+ signingCert?: string | undefined;
152
+ signingCerts?: string[] | undefined;
153
+ metadataUrl?: string | undefined;
154
+ metadataXml?: string | undefined;
155
+ signSAMLRequest?: boolean | undefined;
156
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
157
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
158
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
159
+ user_id_attribute?: string | undefined;
160
+ fieldsMap?: {
161
+ [x: string]: string | string[];
162
+ } | undefined;
163
+ entityId?: string | undefined;
149
164
  };
150
165
  scope?: "local" | "shared" | "platform" | undefined;
151
166
  override?: "none" | "secrets" | "fields" | undefined;
@@ -288,6 +303,21 @@ export declare const connectionRoutes: OpenAPIHono<{
288
303
  } | undefined;
289
304
  allow_action_users?: boolean | undefined;
290
305
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
306
+ signInEndpoint?: string | undefined;
307
+ signOutEndpoint?: string | undefined;
308
+ signingCert?: string | undefined;
309
+ signingCerts?: string[] | undefined;
310
+ metadataUrl?: string | undefined;
311
+ metadataXml?: string | undefined;
312
+ signSAMLRequest?: boolean | undefined;
313
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
314
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
315
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
316
+ user_id_attribute?: string | undefined;
317
+ fieldsMap?: {
318
+ [x: string]: string | string[];
319
+ } | undefined;
320
+ entityId?: string | undefined;
291
321
  };
292
322
  scope?: "local" | "shared" | "platform" | undefined;
293
323
  override?: "none" | "secrets" | "fields" | undefined;
@@ -430,6 +460,21 @@ export declare const connectionRoutes: OpenAPIHono<{
430
460
  } | undefined;
431
461
  allow_action_users?: boolean | undefined;
432
462
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
463
+ signInEndpoint?: string | undefined;
464
+ signOutEndpoint?: string | undefined;
465
+ signingCert?: string | undefined;
466
+ signingCerts?: string[] | undefined;
467
+ metadataUrl?: string | undefined;
468
+ metadataXml?: string | undefined;
469
+ signSAMLRequest?: boolean | undefined;
470
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
471
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
472
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
473
+ user_id_attribute?: string | undefined;
474
+ fieldsMap?: {
475
+ [x: string]: string | string[];
476
+ } | undefined;
477
+ entityId?: string | undefined;
433
478
  };
434
479
  scope?: "local" | "shared" | "platform" | undefined;
435
480
  override?: "none" | "secrets" | "fields" | undefined;
@@ -587,6 +632,21 @@ export declare const connectionRoutes: OpenAPIHono<{
587
632
  } | undefined;
588
633
  allow_action_users?: boolean | undefined;
589
634
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
635
+ signInEndpoint?: string | undefined;
636
+ signOutEndpoint?: string | undefined;
637
+ signingCert?: string | undefined;
638
+ signingCerts?: string[] | undefined;
639
+ metadataUrl?: string | undefined;
640
+ metadataXml?: string | undefined;
641
+ signSAMLRequest?: boolean | undefined;
642
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
643
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
644
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
645
+ user_id_attribute?: string | undefined;
646
+ fieldsMap?: {
647
+ [x: string]: string | string[];
648
+ } | undefined;
649
+ entityId?: string | undefined;
590
650
  };
591
651
  scope?: "local" | "shared" | "platform" | undefined;
592
652
  override?: "none" | "secrets" | "fields" | undefined;
@@ -790,6 +850,21 @@ export declare const connectionRoutes: OpenAPIHono<{
790
850
  } | undefined;
791
851
  allow_action_users?: boolean | undefined;
792
852
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
853
+ signInEndpoint?: string | undefined;
854
+ signOutEndpoint?: string | undefined;
855
+ signingCert?: string | undefined;
856
+ signingCerts?: string[] | undefined;
857
+ metadataUrl?: string | undefined;
858
+ metadataXml?: string | undefined;
859
+ signSAMLRequest?: boolean | undefined;
860
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
861
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
862
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
863
+ user_id_attribute?: string | undefined;
864
+ fieldsMap?: {
865
+ [x: string]: string | string[];
866
+ } | undefined;
867
+ entityId?: string | undefined;
793
868
  };
794
869
  scope?: "local" | "shared" | "platform" | undefined;
795
870
  override?: "none" | "secrets" | "fields" | undefined;
@@ -959,6 +1034,21 @@ export declare const connectionRoutes: OpenAPIHono<{
959
1034
  } | undefined;
960
1035
  allow_action_users?: boolean | undefined;
961
1036
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
1037
+ signInEndpoint?: string | undefined;
1038
+ signOutEndpoint?: string | undefined;
1039
+ signingCert?: string | undefined;
1040
+ signingCerts?: string[] | undefined;
1041
+ metadataUrl?: string | undefined;
1042
+ metadataXml?: string | undefined;
1043
+ signSAMLRequest?: boolean | undefined;
1044
+ signatureAlgorithm?: "rsa-sha256" | "rsa-sha1" | undefined;
1045
+ digestAlgorithm?: "sha256" | "sha1" | undefined;
1046
+ protocolBinding?: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" | undefined;
1047
+ user_id_attribute?: string | undefined;
1048
+ fieldsMap?: {
1049
+ [x: string]: string | string[];
1050
+ } | undefined;
1051
+ entityId?: string | undefined;
962
1052
  };
963
1053
  scope?: "local" | "shared" | "platform" | undefined;
964
1054
  override?: "none" | "secrets" | "fields" | undefined;
@@ -1053,7 +1143,7 @@ export declare const connectionRoutes: OpenAPIHono<{
1053
1143
  };
1054
1144
  } | {
1055
1145
  mode: "inline";
1056
- status: "success" | "error";
1146
+ status: "error" | "success";
1057
1147
  connection_id: string;
1058
1148
  connection_name: string;
1059
1149
  strategy: string;
@@ -28,7 +28,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
28
28
  type: "auth0_managed_certs" | "self_managed_certs";
29
29
  custom_domain_id: string;
30
30
  primary: boolean;
31
- status: "pending" | "ready" | "disabled" | "pending_verification";
31
+ status: "disabled" | "pending" | "ready" | "pending_verification";
32
32
  verification_method?: "txt" | undefined;
33
33
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
34
34
  domain_metadata?: {
@@ -69,7 +69,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
69
69
  type: "auth0_managed_certs" | "self_managed_certs";
70
70
  custom_domain_id: string;
71
71
  primary: boolean;
72
- status: "pending" | "ready" | "disabled" | "pending_verification";
72
+ status: "disabled" | "pending" | "ready" | "pending_verification";
73
73
  verification_method?: "txt" | undefined;
74
74
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
75
75
  domain_metadata?: {
@@ -133,7 +133,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
133
133
  type: "auth0_managed_certs" | "self_managed_certs";
134
134
  custom_domain_id: string;
135
135
  primary: boolean;
136
- status: "pending" | "ready" | "disabled" | "pending_verification";
136
+ status: "disabled" | "pending" | "ready" | "pending_verification";
137
137
  verification_method?: "txt" | undefined;
138
138
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
139
139
  domain_metadata?: {
@@ -180,7 +180,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
180
180
  type: "auth0_managed_certs" | "self_managed_certs";
181
181
  custom_domain_id: string;
182
182
  primary: boolean;
183
- status: "pending" | "ready" | "disabled" | "pending_verification";
183
+ status: "disabled" | "pending" | "ready" | "pending_verification";
184
184
  verification_method?: "txt" | undefined;
185
185
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
186
186
  domain_metadata?: {
@@ -226,7 +226,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
226
226
  type: "auth0_managed_certs" | "self_managed_certs";
227
227
  custom_domain_id: string;
228
228
  primary: boolean;
229
- status: "pending" | "ready" | "disabled" | "pending_verification";
229
+ status: "disabled" | "pending" | "ready" | "pending_verification";
230
230
  verification_method?: "txt" | undefined;
231
231
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
232
232
  domain_metadata?: {
@@ -267,7 +267,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
267
267
  type: "auth0_managed_certs" | "self_managed_certs";
268
268
  custom_domain_id: string;
269
269
  primary: boolean;
270
- status: "pending" | "ready" | "disabled" | "pending_verification";
270
+ status: "disabled" | "pending" | "ready" | "pending_verification";
271
271
  verification_method?: "txt" | undefined;
272
272
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
273
273
  domain_metadata?: {