authhero 8.2.1 → 8.4.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 (48) hide show
  1. package/dist/assets/u/js/client.js +3 -3
  2. package/dist/authhero.cjs +105 -105
  3. package/dist/authhero.d.ts +349 -238
  4. package/dist/authhero.mjs +6422 -6355
  5. package/dist/client.js +3 -3
  6. package/dist/stats.html +1 -1
  7. package/dist/tsconfig.types.tsbuildinfo +1 -1
  8. package/dist/types/adapters/createEncryptedDataAdapter.d.ts +40 -0
  9. package/dist/types/adapters/index.d.ts +4 -2
  10. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  11. package/dist/types/client/client-bundle.d.ts +1 -1
  12. package/dist/types/client/loading-link-handler.d.ts +14 -0
  13. package/dist/types/components/Button.d.ts +2 -1
  14. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  15. package/dist/types/index.d.ts +218 -218
  16. package/dist/types/middlewares/authentication.d.ts +17 -0
  17. package/dist/types/routes/auth-api/index.d.ts +21 -21
  18. package/dist/types/routes/auth-api/passwordless.d.ts +18 -18
  19. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  20. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  21. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  22. package/dist/types/routes/management-api/actions.d.ts +1 -1
  23. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  24. package/dist/types/routes/management-api/branding.d.ts +6 -6
  25. package/dist/types/routes/management-api/client-grants.d.ts +8 -8
  26. package/dist/types/routes/management-api/clients.d.ts +7 -7
  27. package/dist/types/routes/management-api/connections.d.ts +1 -1
  28. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  29. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  30. package/dist/types/routes/management-api/forms.d.ts +119 -119
  31. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  32. package/dist/types/routes/management-api/index.d.ts +190 -190
  33. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  34. package/dist/types/routes/management-api/logs.d.ts +3 -3
  35. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  36. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  37. package/dist/types/routes/management-api/themes.d.ts +3 -3
  38. package/dist/types/routes/management-api/users.d.ts +2 -2
  39. package/dist/types/routes/universal-login/common.d.ts +6 -6
  40. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  41. package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
  42. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
  43. package/dist/types/types/AuthHeroConfig.d.ts +26 -1
  44. package/dist/types/types/IdToken.d.ts +2 -2
  45. package/dist/types/utils/field-encryption.d.ts +30 -0
  46. package/dist/types/utils/jwks.d.ts +2 -2
  47. package/dist/types/utils/jwt.d.ts +9 -0
  48. package/package.json +5 -5
@@ -25,14 +25,31 @@ export declare const MANAGEMENT_API_AUDIENCE = "urn:authhero:management";
25
25
  * token, so a per-tenant identifier (e.g.
26
26
  * `https://${tenant_id}.token.example.com/v2/api/`) can be constructed at
27
27
  * request time alongside any global legacy identifiers.
28
+ *
29
+ * `additionalIssuers` extends the set of accepted token issuers beyond the
30
+ * deployment's own `getIssuer(env, custom_domain)`. The resolver receives the
31
+ * token's `tenant_id` and returns the issuers accepted for that token, so a
32
+ * control-plane issuer can be accepted on forwarded admin requests whose
33
+ * per-tenant worker has a different `env.ISSUER`. The default issuer is always
34
+ * accepted; the resolver is purely additive and may return `[]` to refuse.
28
35
  */
29
36
  export type ManagementAudienceResolver = (params: {
30
37
  tenant_id?: string;
31
38
  }) => string[] | Promise<string[]>;
39
+ /**
40
+ * Resolver returning the issuers accepted **in addition to** the deployment's
41
+ * own issuer when verifying bearer JWTs. Receives the token's `tenant_id` so a
42
+ * per-tenant or control-plane issuer can be constructed at request time.
43
+ * Returning `[]` keeps the strict single-issuer behavior for that token.
44
+ */
45
+ export type IssuerResolver = (params: {
46
+ tenant_id?: string;
47
+ }) => string[] | Promise<string[]>;
32
48
  export interface AuthMiddlewareOptions {
33
49
  requireManagementAudience?: boolean;
34
50
  relaxManagementAudience?: boolean;
35
51
  additionalManagementAudiences?: ManagementAudienceResolver;
52
+ additionalIssuers?: IssuerResolver;
36
53
  }
37
54
  export declare function createAuthMiddleware(app: OpenAPIHono<{
38
55
  Bindings: Bindings;
@@ -288,7 +288,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
288
288
  scope?: string | undefined;
289
289
  grant_types?: string[] | undefined;
290
290
  response_types?: string[] | undefined;
291
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
291
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
292
292
  jwks_uri?: string | undefined;
293
293
  jwks?: Record<string, unknown> | undefined;
294
294
  software_id?: string | undefined;
@@ -377,7 +377,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
377
377
  scope?: string | undefined;
378
378
  grant_types?: string[] | undefined;
379
379
  response_types?: string[] | undefined;
380
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
380
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
381
381
  jwks_uri?: string | undefined;
382
382
  jwks?: Record<string, unknown> | undefined;
383
383
  software_id?: string | undefined;
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
723
723
  email: string;
724
724
  send: "code" | "link";
725
725
  authParams: {
726
- state?: string | undefined;
727
- code_challenge?: string | undefined;
728
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
729
- redirect_uri?: string | undefined;
730
- nonce?: string | undefined;
731
- act_as?: string | undefined;
732
726
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
733
727
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
734
- audience?: string | undefined;
735
- organization?: string | undefined;
736
728
  scope?: string | undefined;
737
- prompt?: string | undefined;
738
729
  username?: string | undefined;
730
+ audience?: string | undefined;
731
+ state?: string | undefined;
732
+ prompt?: string | undefined;
733
+ act_as?: string | undefined;
734
+ redirect_uri?: string | undefined;
735
+ organization?: string | undefined;
736
+ nonce?: string | undefined;
737
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
738
+ code_challenge?: string | undefined;
739
739
  ui_locales?: string | undefined;
740
740
  max_age?: number | undefined;
741
741
  acr_values?: string | undefined;
@@ -759,19 +759,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
759
759
  phone_number: string;
760
760
  send: "code" | "link";
761
761
  authParams: {
762
- state?: string | undefined;
763
- code_challenge?: string | undefined;
764
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
765
- redirect_uri?: string | undefined;
766
- nonce?: string | undefined;
767
- act_as?: string | undefined;
768
762
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
769
763
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
770
- audience?: string | undefined;
771
- organization?: string | undefined;
772
764
  scope?: string | undefined;
773
- prompt?: string | undefined;
774
765
  username?: string | undefined;
766
+ audience?: string | undefined;
767
+ state?: string | undefined;
768
+ prompt?: string | undefined;
769
+ act_as?: string | undefined;
770
+ redirect_uri?: string | undefined;
771
+ organization?: string | undefined;
772
+ nonce?: string | undefined;
773
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
774
+ code_challenge?: string | undefined;
775
775
  ui_locales?: string | undefined;
776
776
  max_age?: number | undefined;
777
777
  acr_values?: string | undefined;
@@ -1487,7 +1487,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1487
1487
  output: {
1488
1488
  keys: {
1489
1489
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
1490
- kty: "EC" | "RSA" | "oct";
1490
+ kty: "RSA" | "EC" | "oct";
1491
1491
  kid?: string | undefined;
1492
1492
  use?: "sig" | "enc" | undefined;
1493
1493
  n?: string | undefined;
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- state?: string | undefined;
18
- code_challenge?: string | undefined;
19
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
20
- redirect_uri?: string | undefined;
21
- nonce?: string | undefined;
22
- act_as?: string | undefined;
23
17
  response_type?: AuthorizationResponseType | undefined;
24
18
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
25
- audience?: string | undefined;
26
- organization?: string | undefined;
27
19
  scope?: string | undefined;
28
- prompt?: string | undefined;
29
20
  username?: string | undefined;
21
+ audience?: string | undefined;
22
+ state?: string | undefined;
23
+ prompt?: string | undefined;
24
+ act_as?: string | undefined;
25
+ redirect_uri?: string | undefined;
26
+ organization?: string | undefined;
27
+ nonce?: string | undefined;
28
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
+ code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
- state?: string | undefined;
54
- code_challenge?: string | undefined;
55
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
56
- redirect_uri?: string | undefined;
57
- nonce?: string | undefined;
58
- act_as?: string | undefined;
59
53
  response_type?: AuthorizationResponseType | undefined;
60
54
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
61
- audience?: string | undefined;
62
- organization?: string | undefined;
63
55
  scope?: string | undefined;
64
- prompt?: string | undefined;
65
56
  username?: string | undefined;
57
+ audience?: string | undefined;
58
+ state?: string | undefined;
59
+ prompt?: string | undefined;
60
+ act_as?: string | undefined;
61
+ redirect_uri?: string | undefined;
62
+ organization?: string | undefined;
63
+ nonce?: string | undefined;
64
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
+ code_challenge?: string | undefined;
66
66
  ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: string | undefined;
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
18
18
  scope?: string | undefined;
19
19
  grant_types?: string[] | undefined;
20
20
  response_types?: string[] | undefined;
21
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
21
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
22
22
  jwks_uri?: string | undefined;
23
23
  jwks?: Record<string, unknown> | undefined;
24
24
  software_id?: string | undefined;
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
107
107
  scope?: string | undefined;
108
108
  grant_types?: string[] | undefined;
109
109
  response_types?: string[] | undefined;
110
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
110
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
111
111
  jwks_uri?: string | undefined;
112
112
  jwks?: Record<string, unknown> | undefined;
113
113
  software_id?: string | undefined;
@@ -9,7 +9,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
9
9
  output: {
10
10
  keys: {
11
11
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
12
- kty: "EC" | "RSA" | "oct";
12
+ kty: "RSA" | "EC" | "oct";
13
13
  kid?: string | undefined;
14
14
  use?: "sig" | "enc" | undefined;
15
15
  n?: string | undefined;
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "log" | "error" | "info" | "warn" | "debug";
81
+ level: "error" | "log" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
661
661
  args: import("hono/utils/types").JSONValue[];
662
662
  }[];
663
663
  logs: {
664
- level: "log" | "error" | "info" | "warn" | "debug";
664
+ level: "error" | "log" | "info" | "warn" | "debug";
665
665
  message: string;
666
666
  }[];
667
667
  error?: string | undefined;
@@ -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;
@@ -27,7 +27,7 @@ export declare const brandingRoutes: OpenAPIHono<{
27
27
  base_focus_color: string;
28
28
  base_hover_color: string;
29
29
  body_text: string;
30
- captcha_widget_theme: "dark" | "light" | "auto";
30
+ captcha_widget_theme: "auto" | "light" | "dark";
31
31
  error: string;
32
32
  header: string;
33
33
  icons: string;
@@ -117,7 +117,7 @@ export declare const brandingRoutes: OpenAPIHono<{
117
117
  base_focus_color: string;
118
118
  base_hover_color: string;
119
119
  body_text: string;
120
- captcha_widget_theme: "dark" | "light" | "auto";
120
+ captcha_widget_theme: "auto" | "light" | "dark";
121
121
  error: string;
122
122
  header: string;
123
123
  icons: string;
@@ -196,7 +196,7 @@ export declare const brandingRoutes: OpenAPIHono<{
196
196
  base_focus_color: string;
197
197
  base_hover_color: string;
198
198
  body_text: string;
199
- captcha_widget_theme: "dark" | "light" | "auto";
199
+ captcha_widget_theme: "auto" | "light" | "dark";
200
200
  error: string;
201
201
  header: string;
202
202
  icons: string;
@@ -286,7 +286,7 @@ export declare const brandingRoutes: OpenAPIHono<{
286
286
  font?: {
287
287
  url: string;
288
288
  } | undefined;
289
- dark_mode?: "dark" | "light" | "auto" | undefined;
289
+ dark_mode?: "auto" | "light" | "dark" | undefined;
290
290
  };
291
291
  outputFormat: "json";
292
292
  status: 200;
@@ -316,7 +316,7 @@ export declare const brandingRoutes: OpenAPIHono<{
316
316
  font?: {
317
317
  url: string;
318
318
  } | undefined;
319
- dark_mode?: "dark" | "light" | "auto" | undefined;
319
+ dark_mode?: "auto" | "light" | "dark" | undefined;
320
320
  };
321
321
  };
322
322
  output: {
@@ -335,7 +335,7 @@ export declare const brandingRoutes: OpenAPIHono<{
335
335
  font?: {
336
336
  url: string;
337
337
  } | undefined;
338
- dark_mode?: "dark" | "light" | "auto" | undefined;
338
+ dark_mode?: "auto" | "light" | "dark" | undefined;
339
339
  };
340
340
  outputFormat: "json";
341
341
  status: 200;
@@ -16,7 +16,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
16
16
  audience?: string | undefined;
17
17
  client_id?: string | undefined;
18
18
  allow_any_organization?: string | undefined;
19
- subject_type?: "client" | "user" | undefined;
19
+ subject_type?: "user" | "client" | undefined;
20
20
  };
21
21
  } & {
22
22
  header: {
@@ -31,7 +31,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
31
31
  organization_usage?: "deny" | "allow" | "require" | undefined;
32
32
  allow_any_organization?: boolean | undefined;
33
33
  is_system?: boolean | undefined;
34
- subject_type?: "client" | "user" | undefined;
34
+ subject_type?: "user" | "client" | undefined;
35
35
  authorization_details_types?: string[] | undefined;
36
36
  created_at?: string | undefined;
37
37
  updated_at?: string | undefined;
@@ -47,7 +47,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
47
47
  organization_usage?: "deny" | "allow" | "require" | undefined;
48
48
  allow_any_organization?: boolean | undefined;
49
49
  is_system?: boolean | undefined;
50
- subject_type?: "client" | "user" | undefined;
50
+ subject_type?: "user" | "client" | undefined;
51
51
  authorization_details_types?: string[] | undefined;
52
52
  created_at?: string | undefined;
53
53
  updated_at?: string | undefined;
@@ -78,7 +78,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
78
78
  organization_usage?: "deny" | "allow" | "require" | undefined;
79
79
  allow_any_organization?: boolean | undefined;
80
80
  is_system?: boolean | undefined;
81
- subject_type?: "client" | "user" | undefined;
81
+ subject_type?: "user" | "client" | undefined;
82
82
  authorization_details_types?: string[] | undefined;
83
83
  created_at?: string | undefined;
84
84
  updated_at?: string | undefined;
@@ -123,7 +123,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
123
123
  organization_usage?: "deny" | "allow" | "require" | undefined;
124
124
  allow_any_organization?: boolean | undefined;
125
125
  is_system?: boolean | undefined;
126
- subject_type?: "client" | "user" | undefined;
126
+ subject_type?: "user" | "client" | undefined;
127
127
  authorization_details_types?: string[] | undefined;
128
128
  };
129
129
  };
@@ -135,7 +135,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
135
135
  organization_usage?: "deny" | "allow" | "require" | undefined;
136
136
  allow_any_organization?: boolean | undefined;
137
137
  is_system?: boolean | undefined;
138
- subject_type?: "client" | "user" | undefined;
138
+ subject_type?: "user" | "client" | undefined;
139
139
  authorization_details_types?: string[] | undefined;
140
140
  created_at?: string | undefined;
141
141
  updated_at?: string | undefined;
@@ -159,7 +159,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
159
159
  organization_usage?: "deny" | "allow" | "require" | undefined;
160
160
  allow_any_organization?: boolean | undefined;
161
161
  is_system?: boolean | undefined;
162
- subject_type?: "client" | "user" | undefined;
162
+ subject_type?: "user" | "client" | undefined;
163
163
  authorization_details_types?: string[] | undefined;
164
164
  };
165
165
  };
@@ -171,7 +171,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
171
171
  organization_usage?: "deny" | "allow" | "require" | undefined;
172
172
  allow_any_organization?: boolean | undefined;
173
173
  is_system?: boolean | undefined;
174
- subject_type?: "client" | "user" | undefined;
174
+ subject_type?: "user" | "client" | undefined;
175
175
  authorization_details_types?: string[] | undefined;
176
176
  created_at?: string | undefined;
177
177
  updated_at?: string | undefined;
@@ -72,7 +72,7 @@ export declare const clientRoutes: OpenAPIHono<{
72
72
  addons?: {
73
73
  [x: string]: any;
74
74
  } | undefined;
75
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
75
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
76
76
  client_metadata?: {
77
77
  [x: string]: string;
78
78
  } | undefined;
@@ -168,7 +168,7 @@ export declare const clientRoutes: OpenAPIHono<{
168
168
  addons?: {
169
169
  [x: string]: any;
170
170
  } | undefined;
171
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
171
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
172
172
  client_metadata?: {
173
173
  [x: string]: string;
174
174
  } | undefined;
@@ -279,7 +279,7 @@ export declare const clientRoutes: OpenAPIHono<{
279
279
  addons?: {
280
280
  [x: string]: any;
281
281
  } | undefined;
282
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
282
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
283
283
  client_metadata?: {
284
284
  [x: string]: string;
285
285
  } | undefined;
@@ -389,7 +389,7 @@ export declare const clientRoutes: OpenAPIHono<{
389
389
  custom_login_page_preview?: string | undefined;
390
390
  form_template?: string | undefined;
391
391
  addons?: Record<string, any> | undefined;
392
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
392
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
393
393
  client_metadata?: Record<string, string> | undefined;
394
394
  hide_sign_up_disabled_error?: boolean | undefined;
395
395
  mobile?: Record<string, any> | undefined;
@@ -469,7 +469,7 @@ export declare const clientRoutes: OpenAPIHono<{
469
469
  addons?: {
470
470
  [x: string]: any;
471
471
  } | undefined;
472
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
472
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
473
473
  client_metadata?: {
474
474
  [x: string]: string;
475
475
  } | undefined;
@@ -558,7 +558,7 @@ export declare const clientRoutes: OpenAPIHono<{
558
558
  custom_login_page_preview?: string | undefined;
559
559
  form_template?: string | undefined;
560
560
  addons?: Record<string, any> | undefined;
561
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
561
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
562
562
  client_metadata?: Record<string, string> | undefined;
563
563
  hide_sign_up_disabled_error?: boolean | undefined;
564
564
  mobile?: Record<string, any> | undefined;
@@ -638,7 +638,7 @@ export declare const clientRoutes: OpenAPIHono<{
638
638
  addons?: {
639
639
  [x: string]: any;
640
640
  } | undefined;
641
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
641
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
642
642
  client_metadata?: {
643
643
  [x: string]: string;
644
644
  } | undefined;
@@ -852,7 +852,7 @@ export declare const connectionRoutes: OpenAPIHono<{
852
852
  };
853
853
  } | {
854
854
  mode: "inline";
855
- status: "success" | "error";
855
+ status: "error" | "success";
856
856
  connection_id: string;
857
857
  connection_name: string;
858
858
  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?: {