authhero 0.181.0 → 0.184.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.
@@ -742,6 +742,7 @@ export declare const applicationInsertSchema: z.ZodObject<{
742
742
  ]>>>;
743
743
  client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
744
744
  disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
745
+ client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
745
746
  }, "strip", z.ZodTypeAny, {
746
747
  name: string;
747
748
  id: string;
@@ -773,6 +774,7 @@ export declare const applicationInsertSchema: z.ZodObject<{
773
774
  } | undefined;
774
775
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
775
776
  client_secret?: string | undefined;
777
+ client_metadata?: Record<string, string> | undefined;
776
778
  }, {
777
779
  name: string;
778
780
  id: string;
@@ -804,8 +806,9 @@ export declare const applicationInsertSchema: z.ZodObject<{
804
806
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
805
807
  client_secret?: string | undefined;
806
808
  disable_sign_ups?: boolean | undefined;
809
+ client_metadata?: Record<string, string> | undefined;
807
810
  }>;
808
- export type ApplicationInsert = z.infer<typeof applicationInsertSchema>;
811
+ export type ApplicationInsert = z.input<typeof applicationInsertSchema>;
809
812
  export declare const applicationSchema: z.ZodObject<{
810
813
  id: z.ZodString;
811
814
  name: z.ZodString;
@@ -913,6 +916,7 @@ export declare const applicationSchema: z.ZodObject<{
913
916
  ]>>>;
914
917
  client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
915
918
  disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
919
+ client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
916
920
  created_at: z.ZodEffects<z.ZodString, string, string>;
917
921
  updated_at: z.ZodEffects<z.ZodString, string, string>;
918
922
  }, "strip", z.ZodTypeAny, {
@@ -948,6 +952,7 @@ export declare const applicationSchema: z.ZodObject<{
948
952
  } | undefined;
949
953
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
950
954
  client_secret?: string | undefined;
955
+ client_metadata?: Record<string, string> | undefined;
951
956
  }, {
952
957
  created_at: string;
953
958
  updated_at: string;
@@ -981,6 +986,7 @@ export declare const applicationSchema: z.ZodObject<{
981
986
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
982
987
  client_secret?: string | undefined;
983
988
  disable_sign_ups?: boolean | undefined;
989
+ client_metadata?: Record<string, string> | undefined;
984
990
  }>;
985
991
  export type Application = z.infer<typeof applicationSchema>;
986
992
  /**
@@ -8417,6 +8423,7 @@ declare const ClientSchema: z.ZodObject<{
8417
8423
  ]>>>;
8418
8424
  client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8419
8425
  disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8426
+ client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8420
8427
  created_at: z.ZodEffects<z.ZodString, string, string>;
8421
8428
  updated_at: z.ZodEffects<z.ZodString, string, string>;
8422
8429
  }, "strip", z.ZodTypeAny, {
@@ -8496,6 +8503,7 @@ declare const ClientSchema: z.ZodObject<{
8496
8503
  } | undefined;
8497
8504
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
8498
8505
  client_secret?: string | undefined;
8506
+ client_metadata?: Record<string, string> | undefined;
8499
8507
  }, {
8500
8508
  created_at: string;
8501
8509
  updated_at: string;
@@ -8573,6 +8581,7 @@ declare const ClientSchema: z.ZodObject<{
8573
8581
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
8574
8582
  client_secret?: string | undefined;
8575
8583
  disable_sign_ups?: boolean | undefined;
8584
+ client_metadata?: Record<string, string> | undefined;
8576
8585
  }>;
8577
8586
  export type Client = z.infer<typeof ClientSchema>;
8578
8587
  export declare const codeTypeSchema: z.ZodEnum<[
@@ -14328,7 +14337,8 @@ export interface CreateX509CertificateParams {
14328
14337
  }
14329
14338
  declare function createX509Certificate(params: CreateX509CertificateParams): Promise<SigningKey>;
14330
14339
  export type AppLogoProps = {
14331
- vendorSettings: VendorSettings;
14340
+ theme: Theme | null;
14341
+ branding: Branding | null;
14332
14342
  };
14333
14343
  export declare const AppLogo: FC<AppLogoProps>;
14334
14344
  export type Props = {
@@ -14342,19 +14352,24 @@ export type Props = {
14342
14352
  };
14343
14353
  export declare const Button: ({ children, className, Component, variant, href, disabled, isLoading, id, }: PropsWithChildren<Props>) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
14344
14354
  type Props$1 = {
14345
- vendorSettings: VendorSettings;
14355
+ theme: Theme | null;
14356
+ branding: Branding | null;
14357
+ client: Client;
14346
14358
  state: string;
14347
14359
  user: User;
14348
14360
  };
14349
14361
  export declare const CheckEmailPage: FC<Props$1>;
14350
14362
  type Props$2 = {
14351
- vendorSettings: VendorSettings;
14363
+ theme: Theme | null;
14364
+ branding: Branding | null;
14365
+ client: Client;
14352
14366
  state: string;
14353
14367
  };
14354
14368
  export declare const EmailValidatedPage: FC<Props$2>;
14355
14369
  type Props$3 = {
14356
14370
  error?: string;
14357
- vendorSettings: VendorSettings;
14371
+ theme: Theme | null;
14372
+ branding: Branding | null;
14358
14373
  email: string;
14359
14374
  state: string;
14360
14375
  client: Client;
@@ -14363,7 +14378,8 @@ type Props$3 = {
14363
14378
  export declare const EnterCodePage: FC<Props$3>;
14364
14379
  type Props$4 = {
14365
14380
  error?: string;
14366
- vendorSettings: VendorSettings;
14381
+ theme: Theme | null;
14382
+ branding: Branding | null;
14367
14383
  loginSession: LoginSession;
14368
14384
  email?: string;
14369
14385
  client: Client;
@@ -14371,7 +14387,8 @@ type Props$4 = {
14371
14387
  export declare const IdentifierPage: FC<Props$4>;
14372
14388
  type Props$5 = {
14373
14389
  error?: string;
14374
- vendorSettings: VendorSettings;
14390
+ theme: Theme | null;
14391
+ branding: Branding | null;
14375
14392
  email: string;
14376
14393
  state: string;
14377
14394
  client: Client;
@@ -14382,18 +14399,24 @@ type Props$6 = {
14382
14399
  };
14383
14400
  export declare const ErrorMessage: ({ children }: Props$6) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
14384
14401
  type Props$7 = {
14385
- vendorSettings: VendorSettings;
14402
+ theme: Theme | null;
14403
+ branding: Branding | null;
14404
+ client: Client | null;
14386
14405
  };
14387
- export declare const Footer: ({ vendorSettings }: Props$7) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
14406
+ export declare const Footer: (_props: Props$7) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
14388
14407
  type Props$8 = {
14389
14408
  error?: string;
14390
- vendorSettings: VendorSettings;
14409
+ theme: Theme | null;
14410
+ branding: Branding | null;
14411
+ client: Client;
14391
14412
  email?: string;
14392
14413
  state: string;
14393
14414
  };
14394
14415
  export declare const ForgotPasswordPage: FC<Props$8>;
14395
14416
  type Props$9 = {
14396
- vendorSettings: VendorSettings;
14417
+ theme: Theme | null;
14418
+ branding: Branding | null;
14419
+ client: Client;
14397
14420
  state: string;
14398
14421
  };
14399
14422
  export declare const ForgotPasswordSentPage: FC<Props$9>;
@@ -14417,43 +14440,57 @@ type Props$12 = {
14417
14440
  export declare const Icon: ({ name, size, className }: Props$12) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
14418
14441
  type Props$13 = {
14419
14442
  redirectUrl?: string;
14420
- vendorSettings: VendorSettings;
14443
+ theme: Theme | null;
14444
+ branding: Branding | null;
14445
+ client: Client;
14421
14446
  };
14422
14447
  declare const InvalidSessionPage: FC<Props$13>;
14423
14448
  export type LayoutProps = {
14424
14449
  title: string;
14425
- vendorSettings: VendorSettings;
14450
+ theme: Theme | null;
14451
+ branding: Branding | null;
14452
+ client: Client | null;
14426
14453
  };
14427
- export declare const Layout: ({ title, children, vendorSettings, }: PropsWithChildren<LayoutProps>) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
14454
+ export declare const Layout: ({ title, children, theme, branding, client, }: PropsWithChildren<LayoutProps>) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
14428
14455
  type Props$14 = {
14429
14456
  message: string;
14430
- vendorSettings: VendorSettings;
14457
+ theme: Theme | null;
14458
+ branding: Branding | null;
14459
+ client: Client;
14431
14460
  pageTitle?: string;
14432
14461
  state?: string;
14433
14462
  };
14434
14463
  declare const MessagePage: FC<Props$14>;
14435
14464
  type Props$15 = {
14436
- vendorSettings: VendorSettings;
14465
+ theme: Theme | null;
14466
+ branding: Branding | null;
14467
+ client: Client;
14437
14468
  email: string;
14438
14469
  state: string;
14439
14470
  };
14440
- declare const PreSignupComfirmationPage: FC<Props$15>;
14471
+ export declare const PreSignUpConfirmationPage: FC<Props$15>;
14441
14472
  type Props$16 = {
14442
14473
  state: string;
14443
- vendorSettings: VendorSettings;
14474
+ theme: Theme | null;
14475
+ branding: Branding | null;
14476
+ client: Client;
14444
14477
  email?: string;
14445
14478
  };
14446
14479
  declare const PreSignupPage: FC<Props$16>;
14447
14480
  export type ResetPasswordPageProps = {
14448
14481
  error?: string;
14449
- vendorSettings: VendorSettings;
14482
+ theme: Theme | null;
14483
+ branding: Branding | null;
14484
+ client: Client;
14450
14485
  email: string;
14451
14486
  };
14452
14487
  export declare const ResetPasswordPage: FC<ResetPasswordPageProps>;
14453
14488
  type Props$17 = {
14454
14489
  state: string;
14455
14490
  error?: string;
14456
- vendorSettings: VendorSettings;
14491
+ theme: Theme | null;
14492
+ branding: Branding | null;
14493
+ client: Client;
14457
14494
  email?: string;
14458
14495
  code?: string;
14459
14496
  };
@@ -14478,13 +14515,17 @@ export interface TransProps {
14478
14515
  }
14479
14516
  export declare const Trans: FC<TransProps>;
14480
14517
  type Props$20 = {
14481
- vendorSettings: VendorSettings;
14518
+ theme: Theme | null;
14519
+ branding: Branding | null;
14520
+ client: Client;
14482
14521
  state: string;
14483
14522
  };
14484
14523
  export declare const UnverifiedEmailPage: FC<Props$20>;
14485
14524
  type Props$21 = {
14486
14525
  error?: string;
14487
- vendorSettings: VendorSettings;
14526
+ theme: Theme | null;
14527
+ branding: Branding | null;
14528
+ client: Client;
14488
14529
  authParams: AuthParams;
14489
14530
  };
14490
14531
  declare const UserNotFound: FC<Props$21>;
@@ -14493,6 +14534,36 @@ export declare const VippsLogo: ({ ...props }: {
14493
14534
  }) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
14494
14535
  export declare const tailwindCss = "\n@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:400;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Regular.woff2) format(\"woff2\")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:500;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Medium.woff2) format(\"woff2\")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:600;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Bold.woff2) format(\"woff2\")}@font-face{font-family:uicon;src:url(https://login2.sesamy.com/_next/static/media/uicon.0b00e08a.woff2)}[class*=\" uicon-\"],[class^=uicon-]{font-family:uicon!important;font-size:inherit;font-style:normal;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.uicon-apple:before{content:\"\\ea01\"}.uicon-arrow-down:before{content:\"\\ea02\"}.uicon-arrow-left:before{content:\"\\ea03\"}.uicon-arrow-right:before{content:\"\\ea04\"}.uicon-arrow-up:before{content:\"\\ea05\"}.uicon-facebook:before{content:\"\\ea06\"}.uicon-google:before{content:\"\\ea07\"}.uicon-info-bubble:before{content:\"\\ea08\"}.uicon-info:before{content:\"\\ea09\"}.uicon-sesamy:before{content:\"\\ea0a\"}.uicon-spinner-circle:before{content:\"\\ea0b\"}.uicon-spinner-inner:before{content:\"\\ea0c\"}\n\n/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #bfbcd7;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:KHTeka,Helvetica Neue,HelveticaNeue,TeX Gyre Heros,TeXGyreHeros,FreeSans,Nimbus Sans L,Liberation Sans,Arimo,Helvetica,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#4b4a58;opacity:1}input::placeholder,textarea::placeholder{color:#4b4a58;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}body,html{height:100%}body{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity));font-size:1rem;letter-spacing:.0125rem;line-height:120%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:1280px){body{font-size:1.125rem;line-height:120%}}:is(.dark body){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}button,input,optgroup,select,textarea{font-size:.875rem;letter-spacing:.0125rem;line-height:120%}@media (min-width:1280px){button,input,optgroup,select,textarea{font-size:1rem;line-height:120%}}h1{font-size:1.5rem;font-weight:500;line-height:120%}@media (min-width:1280px){h1{font-size:2rem;line-height:120%}}@media (min-width:640px){h1{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}@media (min-width:1280px){h1{font-size:3.5rem;letter-spacing:-.0625rem;line-height:100%}}h2{font-size:1.25rem;font-weight:500;line-height:120%}@media (min-width:1280px){h2{font-size:1.5rem;line-height:120%}}@media (min-width:640px){h2{font-size:2rem;letter-spacing:0;line-height:120%}}@media (min-width:1280px){h2{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}h3{font-size:1.125rem;font-weight:500;line-height:120%}@media (min-width:1280px){h3{font-size:1.25rem;line-height:120%}}@media (min-width:640px){h3{font-size:1.5rem;line-height:120%}}@media (min-width:1280px){h3{font-size:2rem;line-height:120%}}h4{font-size:1rem;font-weight:500;line-height:120%}@media (min-width:1280px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:640px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:1280px){h4{font-size:1.5rem;line-height:120%}}h5{font-size:.875rem;font-weight:500;line-height:120%}@media (min-width:1280px){h5{font-size:1rem;line-height:120%}}@media (min-width:640px){h5{font-size:1rem;line-height:120%}}@media (min-width:1280px){h5{font-size:1.125rem;line-height:120%}}h6{font-size:.75rem;font-weight:500;line-height:135%}@media (min-width:1280px){h6{font-size:.875rem;line-height:120%}}@media (min-width:640px){h6{font-size:.875rem;line-height:120%}}@media (min-width:1280px){h6{font-size:1rem;line-height:120%}}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1920px){.container{max-width:1920px}}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-1\\/2{top:50%}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-12{margin-bottom:3rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.mt-1{margin-top:.25rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.\\!hidden{display:none!important}.hidden{display:none}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-\\[calc\\(100vh-83px\\)\\]{min-height:calc(100vh - 83px)}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-5{width:1.25rem}.w-\\[calc\\(100\\%-theme\\(space\\.2\\)-theme\\(space\\.2\\)\\)\\]{width:calc(100% - 1rem)}.w-full{width:100%}.max-w-\\[1295px\\]{max-width:1295px}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.flex-col{flex-direction:column}.\\!flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.rounded-2xl{border-radius:1.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.625rem}.rounded-md{border-radius:.375rem}.rounded-r-lg{border-bottom-right-radius:.625rem;border-top-right-radius:.625rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(248 249 251/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(191 188 215/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(136 134 159/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity))}.border-red{--tw-border-opacity:1;border-color:rgb(252 90 90/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity))}.bg-primary{background-color:var(--primary-color)}.bg-primaryHover{background-color:var(--primary-hover)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-cover{background-size:cover}.bg-center{background-position:50%}.p-4{padding:1rem}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-2{padding-bottom:.5rem}.pb-8{padding-bottom:2rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.indent-\\[5px\\]{text-indent:5px}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\\!text-base{font-size:1rem!important;line-height:120%!important}.text-2xl{font-size:1.5rem;line-height:120%}.text-3xl{font-size:2rem;line-height:120%}.text-base{font-size:1rem;line-height:120%}.text-lg{font-size:1.125rem;line-height:120%}.text-sm{font-size:.875rem;line-height:120%}.text-xl{font-size:1.25rem;line-height:120%}.text-xs{font-size:.75rem;line-height:135%}.font-medium{font-weight:500}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.leading-\\[0\\]{line-height:0}.leading-tight{line-height:1.25}.text-\\[\\#1196F5\\]{--tw-text-opacity:1;color:rgb(17 150 245/var(--tw-text-opacity))}.text-\\[\\#B2B2B2\\]{--tw-text-opacity:1;color:rgb(178 178 178/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity:1;color:rgb(191 188 215/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(75 74 88/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(59 57 70/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(30 30 39/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(8 8 14/var(--tw-text-opacity))}.text-primary{color:var(--primary-color)}.text-red{--tw-text-opacity:1;color:rgb(252 90 90/var(--tw-text-opacity))}.text-textOnPrimary{color:var(--text-on-primary)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(75 74 88/var(--tw-placeholder-opacity))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity:1;color:rgb(75 74 88/var(--tw-placeholder-opacity))}.accent-\\[\\#4F2D7F\\]{accent-color:#4f2d7f}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.row-up-left{align-content:flex-start;justify-content:flex-start}.row,.row-up-left{display:flex;flex-direction:row;flex-wrap:wrap}.row{align-content:center;align-items:center;justify-content:center}.column-left{align-items:flex-start}.column,.column-left{display:flex;flex-direction:column;justify-content:center}.column{align-items:center}@media (min-width:1280px){.text-5xl{font-size:5.125rem;letter-spacing:-.125rem;line-height:100%}.text-4xl{font-size:3.5rem}.text-3xl,.text-4xl{letter-spacing:-.0625rem;line-height:100%}.text-3xl{font-size:3rem}.text-2xl{font-size:2rem}.text-2xl,.text-xl{line-height:120%}.text-xl{font-size:1.5rem}.text-lg{font-size:1.25rem}.text-base,.text-lg{line-height:120%}.text-base{font-size:1.125rem}.text-sm{font-size:1rem}.text-sm,.text-xs{line-height:120%}.text-xs{font-size:.875rem}}:root{--primary-color:#7d68f4;--primary-hover:#7e69f4;--text-on-primary:#fff}svg{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}*,:after,:before{text-underline-offset:4px}input[type=number],input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield!important}.btn.is-loading{cursor:not-allowed;opacity:.4;pointer-events:none}.btn .btn-spinner,.btn.is-loading .btn-label{opacity:0;visibility:hidden}.btn.is-loading .btn-spinner{opacity:1;visibility:visible}[class*=\" uicon-\"],[class^=uicon-]{letter-spacing:0;line-height:100%}.placeholder\\:text-gray-300::-moz-placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.placeholder\\:text-gray-300::placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.hover\\:bg-black\\/5:hover{background-color:rgba(0,0,0,.05)}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity))}.hover\\:bg-primaryHover:hover{background-color:var(--primary-hover)}.hover\\:text-primaryHover:hover{color:var(--primary-hover)}.hover\\:underline:hover{text-decoration-line:underline}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-1:focus,.focus\\:ring:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-primary:focus{--tw-ring-color:var(--primary-color)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}:is(.dark .dark\\:border-gray-400){--tw-border-opacity:1;border-color:rgb(75 74 88/var(--tw-border-opacity))}:is(.dark .dark\\:border-gray-500){--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity))}:is(.dark .dark\\:border-gray-600){--tw-border-opacity:1;border-color:rgb(40 40 52/var(--tw-border-opacity))}:is(.dark .dark\\:bg-black){--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}:is(.dark .dark\\:bg-gray-600){--tw-bg-opacity:1;background-color:rgb(40 40 52/var(--tw-bg-opacity))}:is(.dark .dark\\:bg-gray-800){--tw-bg-opacity:1;background-color:rgb(20 20 26/var(--tw-bg-opacity))}:is(.dark .dark\\:text-\\[\\#201a41\\]){--tw-text-opacity:1;color:rgb(32 26 65/var(--tw-text-opacity))}:is(.dark .dark\\:text-gray-300){--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}:is(.dark .dark\\:text-white){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}:is(.dark .dark\\:hover\\:bg-black\\/90:hover){background-color:rgba(0,0,0,.9)}:is(.dark .dark\\:focus\\:ring-offset-gray-900:focus){--tw-ring-offset-color:#08080e}@media (min-width:640px){.sm\\:absolute{position:absolute}.sm\\:left-4{left:1rem}.sm\\:top-1\\/2{top:50%}.sm\\:mt-4{margin-top:1rem}.sm\\:inline{display:inline}.sm\\:h-6{height:1.5rem}.sm\\:min-h-\\[700px\\]{min-height:700px}.sm\\:w-6{width:1.5rem}.sm\\:w-\\[calc\\(100\\%-theme\\(space\\.16\\)-theme\\(space\\.16\\)\\)\\]{width:calc(100% - 8rem)}.sm\\:w-auto{width:auto}.sm\\:max-w-md{max-width:28rem}.sm\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:flex-col{flex-direction:column}.sm\\:justify-normal{justify-content:normal}.sm\\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)));margin-right:calc(0px*var(--tw-space-x-reverse))}.sm\\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.sm\\:bg-fixed{background-attachment:fixed}.sm\\:bg-left-top{background-position:0 0}.sm\\:px-10{padding-left:2.5rem;padding-right:2.5rem}.sm\\:px-14{padding-left:3.5rem;padding-right:3.5rem}.sm\\:py-14{padding-bottom:3.5rem;padding-top:3.5rem}.sm\\:py-4{padding-bottom:1rem;padding-top:1rem}.sm\\:pt-16{padding-top:4rem}.sm\\:text-2xl{font-size:1.5rem;line-height:120%}.sm\\:text-base{font-size:1rem;line-height:120%}}@media (min-width:1280px){.md\\:min-w-\\[448px\\]{min-width:448px}.md\\:text-3xl{font-size:2rem;line-height:120%}.md\\:text-base{font-size:1rem;line-height:120%}.md\\:text-sm{font-size:.875rem;line-height:120%}.md\\:text-xs{font-size:.75rem;line-height:135%}}@media (max-height:900px) and (min-width:640px){.short\\:static{position:static}.short\\:left-auto{left:auto}.short\\:top-auto{top:auto}.short\\:hidden{display:none}.short\\:h-5{height:1.25rem}.short\\:min-h-\\[558px\\]{min-height:558px}.short\\:w-5{width:1.25rem}.short\\:translate-y-0{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.short\\:flex-row{flex-direction:row}.short\\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.short\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.short\\:px-0{padding-left:0;padding-right:0}.short\\:py-3{padding-bottom:.75rem;padding-top:.75rem}.short\\:text-xl{font-size:1.25rem;line-height:120%}}.\\[\\&\\>\\*\\:last-child\\]\\:mb-0>:last-child{margin-bottom:0}.\\[\\&_h1\\]\\:mb-6 h1,.\\[\\&_h2\\]\\:mb-6 h2{margin-bottom:1.5rem}";
14495
14536
  export declare function injectTailwindCSS(): void;
14537
+ export interface MainTenantAdapterConfig {
14538
+ mainTenantId?: string;
14539
+ mainClientId?: string;
14540
+ }
14541
+ /**
14542
+ * Helper function to wrap data adapters with main tenant fallback functionality.
14543
+ * This should be used when initializing the AuthHero application to enable
14544
+ * fallback to a main tenant for default configurations.
14545
+ *
14546
+ * @param baseAdapters - The base data adapters to wrap
14547
+ * @param config - Configuration for main tenant fallback
14548
+ * @returns Wrapped data adapters with main tenant fallback functionality
14549
+ *
14550
+ * @example
14551
+ * ```typescript
14552
+ * import { init, withMainTenantFallback } from "@authhero/authhero";
14553
+ * import createAdapters from "@authhero/kysely";
14554
+ *
14555
+ * const db = // ... your database connection
14556
+ * const baseAdapters = createAdapters(db);
14557
+ *
14558
+ * const adapters = withMainTenantFallback(baseAdapters, {
14559
+ * mainTenantId: "main",
14560
+ * mainClientId: "main-client"
14561
+ * });
14562
+ *
14563
+ * const app = init({ dataAdapter: adapters });
14564
+ * ```
14565
+ */
14566
+ export declare function withMainTenantFallback(baseAdapters: DataAdapters, config: MainTenantAdapterConfig): DataAdapters;
14496
14567
  export declare function init(config: AuthHeroConfig): {
14497
14568
  app: OpenAPIHono<{
14498
14569
  Bindings: Bindings;
@@ -16443,6 +16514,9 @@ export declare function init(config: AuthHeroConfig): {
16443
16514
  } | undefined;
16444
16515
  email_validation?: "enabled" | "disabled" | "enforced" | undefined | undefined;
16445
16516
  client_secret?: string | undefined | undefined;
16517
+ client_metadata?: {
16518
+ [x: string]: string;
16519
+ } | undefined;
16446
16520
  }[] | {
16447
16521
  length: number;
16448
16522
  start: number;
@@ -16482,6 +16556,9 @@ export declare function init(config: AuthHeroConfig): {
16482
16556
  } | undefined;
16483
16557
  email_validation?: "enabled" | "disabled" | "enforced" | undefined | undefined;
16484
16558
  client_secret?: string | undefined | undefined;
16559
+ client_metadata?: {
16560
+ [x: string]: string;
16561
+ } | undefined;
16485
16562
  }[];
16486
16563
  };
16487
16564
  outputFormat: "json";
@@ -16535,6 +16612,9 @@ export declare function init(config: AuthHeroConfig): {
16535
16612
  } | undefined;
16536
16613
  email_validation?: "enabled" | "disabled" | "enforced" | undefined | undefined;
16537
16614
  client_secret?: string | undefined | undefined;
16615
+ client_metadata?: {
16616
+ [x: string]: string;
16617
+ } | undefined;
16538
16618
  };
16539
16619
  outputFormat: "json";
16540
16620
  status: 200;
@@ -16600,6 +16680,7 @@ export declare function init(config: AuthHeroConfig): {
16600
16680
  } | undefined;
16601
16681
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
16602
16682
  client_secret?: string | undefined;
16683
+ client_metadata?: Record<string, string> | undefined;
16603
16684
  };
16604
16685
  };
16605
16686
  output: {
@@ -16637,6 +16718,9 @@ export declare function init(config: AuthHeroConfig): {
16637
16718
  } | undefined;
16638
16719
  email_validation?: "enabled" | "disabled" | "enforced" | undefined | undefined;
16639
16720
  client_secret?: string | undefined | undefined;
16721
+ client_metadata?: {
16722
+ [x: string]: string;
16723
+ } | undefined;
16640
16724
  };
16641
16725
  outputFormat: "json";
16642
16726
  status: 200;
@@ -16681,6 +16765,7 @@ export declare function init(config: AuthHeroConfig): {
16681
16765
  } | undefined;
16682
16766
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
16683
16767
  client_secret?: string | undefined;
16768
+ client_metadata?: Record<string, string> | undefined;
16684
16769
  };
16685
16770
  };
16686
16771
  output: {
@@ -16718,6 +16803,9 @@ export declare function init(config: AuthHeroConfig): {
16718
16803
  } | undefined;
16719
16804
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
16720
16805
  client_secret?: string | undefined;
16806
+ client_metadata?: {
16807
+ [x: string]: string;
16808
+ } | undefined;
16721
16809
  };
16722
16810
  outputFormat: "json";
16723
16811
  status: 201;
@@ -19380,7 +19468,6 @@ export {
19380
19468
  InvalidSessionPage as InvalidSession,
19381
19469
  MessagePage as Message,
19382
19470
  Node$1 as Node,
19383
- PreSignupComfirmationPage as PreSignUpConfirmationPage,
19384
19471
  PreSignupPage as PreSignUpPage,
19385
19472
  SignupPage as SignUpPage,
19386
19473
  UserNotFound as UserNotFoundPage,