@nauth-toolkit/core 0.1.22 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +1 -1
- package/dist/bootstrap.js.map +1 -1
- package/dist/entities/index.d.ts +1 -0
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +3 -1
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/social-provider-secret.entity.d.ts +59 -0
- package/dist/entities/social-provider-secret.entity.d.ts.map +1 -0
- package/dist/entities/social-provider-secret.entity.js +63 -0
- package/dist/entities/social-provider-secret.entity.js.map +1 -0
- package/dist/handlers/auth.handler.d.ts.map +1 -1
- package/dist/handlers/auth.handler.js +7 -0
- package/dist/handlers/auth.handler.js.map +1 -1
- package/dist/interfaces/config.interface.d.ts +82 -4
- package/dist/interfaces/config.interface.d.ts.map +1 -1
- package/dist/interfaces/entities.interface.d.ts +15 -0
- package/dist/interfaces/entities.interface.d.ts.map +1 -1
- package/dist/schemas/auth-config.schema.d.ts +134 -63
- package/dist/schemas/auth-config.schema.d.ts.map +1 -1
- package/dist/schemas/auth-config.schema.js +49 -8
- package/dist/schemas/auth-config.schema.js.map +1 -1
- package/dist/services/auth.service.d.ts.map +1 -1
- package/dist/services/auth.service.js +7 -3
- package/dist/services/auth.service.js.map +1 -1
- package/dist/services/session.service.d.ts +1 -1
- package/dist/services/session.service.d.ts.map +1 -1
- package/dist/services/session.service.js +2 -1
- package/dist/services/session.service.js.map +1 -1
- package/dist/templates/sms-template.engine.d.ts.map +1 -1
- package/dist/templates/sms-template.engine.js +1 -0
- package/dist/templates/sms-template.engine.js.map +1 -1
- package/dist/utils/setup/get-repositories.d.ts +2 -1
- package/dist/utils/setup/get-repositories.d.ts.map +1 -1
- package/dist/utils/setup/get-repositories.js +27 -1
- package/dist/utils/setup/get-repositories.js.map +1 -1
- package/dist/utils/setup/init-social.d.ts +3 -1
- package/dist/utils/setup/init-social.d.ts.map +1 -1
- package/dist/utils/setup/init-social.js +3 -2
- package/dist/utils/setup/init-social.js.map +1 -1
- package/package.json +2 -2
|
@@ -192,8 +192,8 @@ export declare const signupConfigSchema: z.ZodObject<{
|
|
|
192
192
|
codeLength?: number | undefined;
|
|
193
193
|
}>>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
-
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
196
195
|
enabled?: boolean | undefined;
|
|
196
|
+
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
197
197
|
allowDuplicatePhones?: boolean | undefined;
|
|
198
198
|
emailVerification?: {
|
|
199
199
|
expiresIn?: number | undefined;
|
|
@@ -217,8 +217,8 @@ export declare const signupConfigSchema: z.ZodObject<{
|
|
|
217
217
|
codeLength?: number | undefined;
|
|
218
218
|
} | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
221
220
|
enabled?: boolean | undefined;
|
|
221
|
+
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
222
222
|
allowDuplicatePhones?: boolean | undefined;
|
|
223
223
|
emailVerification?: {
|
|
224
224
|
expiresIn?: number | undefined;
|
|
@@ -325,14 +325,14 @@ export declare const lockoutConfigSchema: z.ZodObject<{
|
|
|
325
325
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
326
326
|
resetOnSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
+
enabled?: boolean | undefined;
|
|
328
329
|
duration?: number | undefined;
|
|
329
330
|
maxAttempts?: number | undefined;
|
|
330
|
-
enabled?: boolean | undefined;
|
|
331
331
|
resetOnSuccess?: boolean | undefined;
|
|
332
332
|
}, {
|
|
333
|
+
enabled?: boolean | undefined;
|
|
333
334
|
duration?: number | undefined;
|
|
334
335
|
maxAttempts?: number | undefined;
|
|
335
|
-
enabled?: boolean | undefined;
|
|
336
336
|
resetOnSuccess?: boolean | undefined;
|
|
337
337
|
}>;
|
|
338
338
|
export declare const sessionConfigSchema: z.ZodObject<{
|
|
@@ -659,21 +659,60 @@ export declare const socialProviderConfigSchema: z.ZodObject<{
|
|
|
659
659
|
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
660
660
|
allowSignup: z.ZodOptional<z.ZodBoolean>;
|
|
661
661
|
}, "strip", z.ZodTypeAny, {
|
|
662
|
+
clientSecret?: string | undefined;
|
|
662
663
|
enabled?: boolean | undefined;
|
|
663
664
|
clientId?: string | string[] | undefined;
|
|
665
|
+
callbackUrl?: string | undefined;
|
|
666
|
+
scopes?: string[] | undefined;
|
|
667
|
+
autoLink?: boolean | undefined;
|
|
668
|
+
allowSignup?: boolean | undefined;
|
|
669
|
+
}, {
|
|
664
670
|
clientSecret?: string | undefined;
|
|
671
|
+
enabled?: boolean | undefined;
|
|
672
|
+
clientId?: string | string[] | undefined;
|
|
673
|
+
callbackUrl?: string | undefined;
|
|
674
|
+
scopes?: string[] | undefined;
|
|
675
|
+
autoLink?: boolean | undefined;
|
|
676
|
+
allowSignup?: boolean | undefined;
|
|
677
|
+
}>;
|
|
678
|
+
/**
|
|
679
|
+
* Apple-specific social provider configuration schema
|
|
680
|
+
*
|
|
681
|
+
* Apple requires teamId, keyId, and privateKeyPem instead of a static clientSecret.
|
|
682
|
+
* The toolkit will automatically generate and refresh the JWT client secret.
|
|
683
|
+
*/
|
|
684
|
+
export declare const appleSocialProviderConfigSchema: z.ZodObject<Omit<{
|
|
685
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
686
|
+
clientId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
687
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
688
|
+
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
689
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
690
|
+
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
691
|
+
allowSignup: z.ZodOptional<z.ZodBoolean>;
|
|
692
|
+
}, "clientSecret"> & {
|
|
693
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
694
|
+
keyId: z.ZodOptional<z.ZodString>;
|
|
695
|
+
privateKeyPem: z.ZodOptional<z.ZodString>;
|
|
696
|
+
}, "strip", z.ZodTypeAny, {
|
|
697
|
+
enabled?: boolean | undefined;
|
|
698
|
+
clientId?: string | string[] | undefined;
|
|
665
699
|
callbackUrl?: string | undefined;
|
|
666
700
|
scopes?: string[] | undefined;
|
|
667
701
|
autoLink?: boolean | undefined;
|
|
668
702
|
allowSignup?: boolean | undefined;
|
|
703
|
+
teamId?: string | undefined;
|
|
704
|
+
keyId?: string | undefined;
|
|
705
|
+
privateKeyPem?: string | undefined;
|
|
669
706
|
}, {
|
|
670
707
|
enabled?: boolean | undefined;
|
|
671
708
|
clientId?: string | string[] | undefined;
|
|
672
|
-
clientSecret?: string | undefined;
|
|
673
709
|
callbackUrl?: string | undefined;
|
|
674
710
|
scopes?: string[] | undefined;
|
|
675
711
|
autoLink?: boolean | undefined;
|
|
676
712
|
allowSignup?: boolean | undefined;
|
|
713
|
+
teamId?: string | undefined;
|
|
714
|
+
keyId?: string | undefined;
|
|
715
|
+
privateKeyPem?: string | undefined;
|
|
677
716
|
}>;
|
|
678
717
|
export declare const socialRedirectConfigSchema: z.ZodObject<{
|
|
679
718
|
frontendBaseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -698,23 +737,23 @@ export declare const socialConfigSchema: z.ZodObject<{
|
|
|
698
737
|
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
699
738
|
allowSignup: z.ZodOptional<z.ZodBoolean>;
|
|
700
739
|
}, "strip", z.ZodTypeAny, {
|
|
740
|
+
clientSecret?: string | undefined;
|
|
701
741
|
enabled?: boolean | undefined;
|
|
702
742
|
clientId?: string | string[] | undefined;
|
|
703
|
-
clientSecret?: string | undefined;
|
|
704
743
|
callbackUrl?: string | undefined;
|
|
705
744
|
scopes?: string[] | undefined;
|
|
706
745
|
autoLink?: boolean | undefined;
|
|
707
746
|
allowSignup?: boolean | undefined;
|
|
708
747
|
}, {
|
|
748
|
+
clientSecret?: string | undefined;
|
|
709
749
|
enabled?: boolean | undefined;
|
|
710
750
|
clientId?: string | string[] | undefined;
|
|
711
|
-
clientSecret?: string | undefined;
|
|
712
751
|
callbackUrl?: string | undefined;
|
|
713
752
|
scopes?: string[] | undefined;
|
|
714
753
|
autoLink?: boolean | undefined;
|
|
715
754
|
allowSignup?: boolean | undefined;
|
|
716
755
|
}>>;
|
|
717
|
-
apple: z.ZodOptional<z.ZodObject<{
|
|
756
|
+
apple: z.ZodOptional<z.ZodObject<Omit<{
|
|
718
757
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
719
758
|
clientId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
720
759
|
clientSecret: z.ZodOptional<z.ZodString>;
|
|
@@ -722,22 +761,30 @@ export declare const socialConfigSchema: z.ZodObject<{
|
|
|
722
761
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
723
762
|
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
724
763
|
allowSignup: z.ZodOptional<z.ZodBoolean>;
|
|
764
|
+
}, "clientSecret"> & {
|
|
765
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
766
|
+
keyId: z.ZodOptional<z.ZodString>;
|
|
767
|
+
privateKeyPem: z.ZodOptional<z.ZodString>;
|
|
725
768
|
}, "strip", z.ZodTypeAny, {
|
|
726
769
|
enabled?: boolean | undefined;
|
|
727
770
|
clientId?: string | string[] | undefined;
|
|
728
|
-
clientSecret?: string | undefined;
|
|
729
771
|
callbackUrl?: string | undefined;
|
|
730
772
|
scopes?: string[] | undefined;
|
|
731
773
|
autoLink?: boolean | undefined;
|
|
732
774
|
allowSignup?: boolean | undefined;
|
|
775
|
+
teamId?: string | undefined;
|
|
776
|
+
keyId?: string | undefined;
|
|
777
|
+
privateKeyPem?: string | undefined;
|
|
733
778
|
}, {
|
|
734
779
|
enabled?: boolean | undefined;
|
|
735
780
|
clientId?: string | string[] | undefined;
|
|
736
|
-
clientSecret?: string | undefined;
|
|
737
781
|
callbackUrl?: string | undefined;
|
|
738
782
|
scopes?: string[] | undefined;
|
|
739
783
|
autoLink?: boolean | undefined;
|
|
740
784
|
allowSignup?: boolean | undefined;
|
|
785
|
+
teamId?: string | undefined;
|
|
786
|
+
keyId?: string | undefined;
|
|
787
|
+
privateKeyPem?: string | undefined;
|
|
741
788
|
}>>;
|
|
742
789
|
facebook: z.ZodOptional<z.ZodObject<{
|
|
743
790
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -748,17 +795,17 @@ export declare const socialConfigSchema: z.ZodObject<{
|
|
|
748
795
|
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
749
796
|
allowSignup: z.ZodOptional<z.ZodBoolean>;
|
|
750
797
|
}, "strip", z.ZodTypeAny, {
|
|
798
|
+
clientSecret?: string | undefined;
|
|
751
799
|
enabled?: boolean | undefined;
|
|
752
800
|
clientId?: string | string[] | undefined;
|
|
753
|
-
clientSecret?: string | undefined;
|
|
754
801
|
callbackUrl?: string | undefined;
|
|
755
802
|
scopes?: string[] | undefined;
|
|
756
803
|
autoLink?: boolean | undefined;
|
|
757
804
|
allowSignup?: boolean | undefined;
|
|
758
805
|
}, {
|
|
806
|
+
clientSecret?: string | undefined;
|
|
759
807
|
enabled?: boolean | undefined;
|
|
760
808
|
clientId?: string | string[] | undefined;
|
|
761
|
-
clientSecret?: string | undefined;
|
|
762
809
|
callbackUrl?: string | undefined;
|
|
763
810
|
scopes?: string[] | undefined;
|
|
764
811
|
autoLink?: boolean | undefined;
|
|
@@ -779,9 +826,9 @@ export declare const socialConfigSchema: z.ZodObject<{
|
|
|
779
826
|
}>>;
|
|
780
827
|
}, "strip", z.ZodTypeAny, {
|
|
781
828
|
google?: {
|
|
829
|
+
clientSecret?: string | undefined;
|
|
782
830
|
enabled?: boolean | undefined;
|
|
783
831
|
clientId?: string | string[] | undefined;
|
|
784
|
-
clientSecret?: string | undefined;
|
|
785
832
|
callbackUrl?: string | undefined;
|
|
786
833
|
scopes?: string[] | undefined;
|
|
787
834
|
autoLink?: boolean | undefined;
|
|
@@ -790,16 +837,18 @@ export declare const socialConfigSchema: z.ZodObject<{
|
|
|
790
837
|
apple?: {
|
|
791
838
|
enabled?: boolean | undefined;
|
|
792
839
|
clientId?: string | string[] | undefined;
|
|
793
|
-
clientSecret?: string | undefined;
|
|
794
840
|
callbackUrl?: string | undefined;
|
|
795
841
|
scopes?: string[] | undefined;
|
|
796
842
|
autoLink?: boolean | undefined;
|
|
797
843
|
allowSignup?: boolean | undefined;
|
|
844
|
+
teamId?: string | undefined;
|
|
845
|
+
keyId?: string | undefined;
|
|
846
|
+
privateKeyPem?: string | undefined;
|
|
798
847
|
} | undefined;
|
|
799
848
|
facebook?: {
|
|
849
|
+
clientSecret?: string | undefined;
|
|
800
850
|
enabled?: boolean | undefined;
|
|
801
851
|
clientId?: string | string[] | undefined;
|
|
802
|
-
clientSecret?: string | undefined;
|
|
803
852
|
callbackUrl?: string | undefined;
|
|
804
853
|
scopes?: string[] | undefined;
|
|
805
854
|
autoLink?: boolean | undefined;
|
|
@@ -812,9 +861,9 @@ export declare const socialConfigSchema: z.ZodObject<{
|
|
|
812
861
|
} | undefined;
|
|
813
862
|
}, {
|
|
814
863
|
google?: {
|
|
864
|
+
clientSecret?: string | undefined;
|
|
815
865
|
enabled?: boolean | undefined;
|
|
816
866
|
clientId?: string | string[] | undefined;
|
|
817
|
-
clientSecret?: string | undefined;
|
|
818
867
|
callbackUrl?: string | undefined;
|
|
819
868
|
scopes?: string[] | undefined;
|
|
820
869
|
autoLink?: boolean | undefined;
|
|
@@ -823,16 +872,18 @@ export declare const socialConfigSchema: z.ZodObject<{
|
|
|
823
872
|
apple?: {
|
|
824
873
|
enabled?: boolean | undefined;
|
|
825
874
|
clientId?: string | string[] | undefined;
|
|
826
|
-
clientSecret?: string | undefined;
|
|
827
875
|
callbackUrl?: string | undefined;
|
|
828
876
|
scopes?: string[] | undefined;
|
|
829
877
|
autoLink?: boolean | undefined;
|
|
830
878
|
allowSignup?: boolean | undefined;
|
|
879
|
+
teamId?: string | undefined;
|
|
880
|
+
keyId?: string | undefined;
|
|
881
|
+
privateKeyPem?: string | undefined;
|
|
831
882
|
} | undefined;
|
|
832
883
|
facebook?: {
|
|
884
|
+
clientSecret?: string | undefined;
|
|
833
885
|
enabled?: boolean | undefined;
|
|
834
886
|
clientId?: string | string[] | undefined;
|
|
835
|
-
clientSecret?: string | undefined;
|
|
836
887
|
callbackUrl?: string | undefined;
|
|
837
888
|
scopes?: string[] | undefined;
|
|
838
889
|
autoLink?: boolean | undefined;
|
|
@@ -1293,8 +1344,8 @@ export declare const mfaConfigSchema: z.ZodObject<{
|
|
|
1293
1344
|
codeLength?: number | undefined;
|
|
1294
1345
|
codeCount?: number | undefined;
|
|
1295
1346
|
} | undefined;
|
|
1296
|
-
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
1297
1347
|
enabled?: boolean | undefined;
|
|
1348
|
+
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
1298
1349
|
requireForSocialLogin?: boolean | undefined;
|
|
1299
1350
|
allowedMethods?: ("totp" | "sms" | "email" | "passkey")[] | undefined;
|
|
1300
1351
|
bypassMFAForTrustedDevices?: boolean | undefined;
|
|
@@ -1352,8 +1403,8 @@ export declare const mfaConfigSchema: z.ZodObject<{
|
|
|
1352
1403
|
codeLength?: number | undefined;
|
|
1353
1404
|
codeCount?: number | undefined;
|
|
1354
1405
|
} | undefined;
|
|
1355
|
-
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
1356
1406
|
enabled?: boolean | undefined;
|
|
1407
|
+
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
1357
1408
|
requireForSocialLogin?: boolean | undefined;
|
|
1358
1409
|
allowedMethods?: ("totp" | "sms" | "email" | "passkey")[] | undefined;
|
|
1359
1410
|
bypassMFAForTrustedDevices?: boolean | undefined;
|
|
@@ -1674,8 +1725,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1674
1725
|
codeLength?: number | undefined;
|
|
1675
1726
|
}>>;
|
|
1676
1727
|
}, "strip", z.ZodTypeAny, {
|
|
1677
|
-
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
1678
1728
|
enabled?: boolean | undefined;
|
|
1729
|
+
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
1679
1730
|
allowDuplicatePhones?: boolean | undefined;
|
|
1680
1731
|
emailVerification?: {
|
|
1681
1732
|
expiresIn?: number | undefined;
|
|
@@ -1699,8 +1750,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1699
1750
|
codeLength?: number | undefined;
|
|
1700
1751
|
} | undefined;
|
|
1701
1752
|
}, {
|
|
1702
|
-
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
1703
1753
|
enabled?: boolean | undefined;
|
|
1754
|
+
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
1704
1755
|
allowDuplicatePhones?: boolean | undefined;
|
|
1705
1756
|
emailVerification?: {
|
|
1706
1757
|
expiresIn?: number | undefined;
|
|
@@ -1807,14 +1858,14 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1807
1858
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
1808
1859
|
resetOnSuccess: z.ZodOptional<z.ZodBoolean>;
|
|
1809
1860
|
}, "strip", z.ZodTypeAny, {
|
|
1861
|
+
enabled?: boolean | undefined;
|
|
1810
1862
|
duration?: number | undefined;
|
|
1811
1863
|
maxAttempts?: number | undefined;
|
|
1812
|
-
enabled?: boolean | undefined;
|
|
1813
1864
|
resetOnSuccess?: boolean | undefined;
|
|
1814
1865
|
}, {
|
|
1866
|
+
enabled?: boolean | undefined;
|
|
1815
1867
|
duration?: number | undefined;
|
|
1816
1868
|
maxAttempts?: number | undefined;
|
|
1817
|
-
enabled?: boolean | undefined;
|
|
1818
1869
|
resetOnSuccess?: boolean | undefined;
|
|
1819
1870
|
}>>;
|
|
1820
1871
|
session: z.ZodOptional<z.ZodObject<{
|
|
@@ -2149,23 +2200,23 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2149
2200
|
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
2150
2201
|
allowSignup: z.ZodOptional<z.ZodBoolean>;
|
|
2151
2202
|
}, "strip", z.ZodTypeAny, {
|
|
2203
|
+
clientSecret?: string | undefined;
|
|
2152
2204
|
enabled?: boolean | undefined;
|
|
2153
2205
|
clientId?: string | string[] | undefined;
|
|
2154
|
-
clientSecret?: string | undefined;
|
|
2155
2206
|
callbackUrl?: string | undefined;
|
|
2156
2207
|
scopes?: string[] | undefined;
|
|
2157
2208
|
autoLink?: boolean | undefined;
|
|
2158
2209
|
allowSignup?: boolean | undefined;
|
|
2159
2210
|
}, {
|
|
2211
|
+
clientSecret?: string | undefined;
|
|
2160
2212
|
enabled?: boolean | undefined;
|
|
2161
2213
|
clientId?: string | string[] | undefined;
|
|
2162
|
-
clientSecret?: string | undefined;
|
|
2163
2214
|
callbackUrl?: string | undefined;
|
|
2164
2215
|
scopes?: string[] | undefined;
|
|
2165
2216
|
autoLink?: boolean | undefined;
|
|
2166
2217
|
allowSignup?: boolean | undefined;
|
|
2167
2218
|
}>>;
|
|
2168
|
-
apple: z.ZodOptional<z.ZodObject<{
|
|
2219
|
+
apple: z.ZodOptional<z.ZodObject<Omit<{
|
|
2169
2220
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2170
2221
|
clientId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2171
2222
|
clientSecret: z.ZodOptional<z.ZodString>;
|
|
@@ -2173,22 +2224,30 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2173
2224
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2174
2225
|
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
2175
2226
|
allowSignup: z.ZodOptional<z.ZodBoolean>;
|
|
2227
|
+
}, "clientSecret"> & {
|
|
2228
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
2229
|
+
keyId: z.ZodOptional<z.ZodString>;
|
|
2230
|
+
privateKeyPem: z.ZodOptional<z.ZodString>;
|
|
2176
2231
|
}, "strip", z.ZodTypeAny, {
|
|
2177
2232
|
enabled?: boolean | undefined;
|
|
2178
2233
|
clientId?: string | string[] | undefined;
|
|
2179
|
-
clientSecret?: string | undefined;
|
|
2180
2234
|
callbackUrl?: string | undefined;
|
|
2181
2235
|
scopes?: string[] | undefined;
|
|
2182
2236
|
autoLink?: boolean | undefined;
|
|
2183
2237
|
allowSignup?: boolean | undefined;
|
|
2238
|
+
teamId?: string | undefined;
|
|
2239
|
+
keyId?: string | undefined;
|
|
2240
|
+
privateKeyPem?: string | undefined;
|
|
2184
2241
|
}, {
|
|
2185
2242
|
enabled?: boolean | undefined;
|
|
2186
2243
|
clientId?: string | string[] | undefined;
|
|
2187
|
-
clientSecret?: string | undefined;
|
|
2188
2244
|
callbackUrl?: string | undefined;
|
|
2189
2245
|
scopes?: string[] | undefined;
|
|
2190
2246
|
autoLink?: boolean | undefined;
|
|
2191
2247
|
allowSignup?: boolean | undefined;
|
|
2248
|
+
teamId?: string | undefined;
|
|
2249
|
+
keyId?: string | undefined;
|
|
2250
|
+
privateKeyPem?: string | undefined;
|
|
2192
2251
|
}>>;
|
|
2193
2252
|
facebook: z.ZodOptional<z.ZodObject<{
|
|
2194
2253
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2199,17 +2258,17 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2199
2258
|
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
2200
2259
|
allowSignup: z.ZodOptional<z.ZodBoolean>;
|
|
2201
2260
|
}, "strip", z.ZodTypeAny, {
|
|
2261
|
+
clientSecret?: string | undefined;
|
|
2202
2262
|
enabled?: boolean | undefined;
|
|
2203
2263
|
clientId?: string | string[] | undefined;
|
|
2204
|
-
clientSecret?: string | undefined;
|
|
2205
2264
|
callbackUrl?: string | undefined;
|
|
2206
2265
|
scopes?: string[] | undefined;
|
|
2207
2266
|
autoLink?: boolean | undefined;
|
|
2208
2267
|
allowSignup?: boolean | undefined;
|
|
2209
2268
|
}, {
|
|
2269
|
+
clientSecret?: string | undefined;
|
|
2210
2270
|
enabled?: boolean | undefined;
|
|
2211
2271
|
clientId?: string | string[] | undefined;
|
|
2212
|
-
clientSecret?: string | undefined;
|
|
2213
2272
|
callbackUrl?: string | undefined;
|
|
2214
2273
|
scopes?: string[] | undefined;
|
|
2215
2274
|
autoLink?: boolean | undefined;
|
|
@@ -2230,9 +2289,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2230
2289
|
}>>;
|
|
2231
2290
|
}, "strip", z.ZodTypeAny, {
|
|
2232
2291
|
google?: {
|
|
2292
|
+
clientSecret?: string | undefined;
|
|
2233
2293
|
enabled?: boolean | undefined;
|
|
2234
2294
|
clientId?: string | string[] | undefined;
|
|
2235
|
-
clientSecret?: string | undefined;
|
|
2236
2295
|
callbackUrl?: string | undefined;
|
|
2237
2296
|
scopes?: string[] | undefined;
|
|
2238
2297
|
autoLink?: boolean | undefined;
|
|
@@ -2241,16 +2300,18 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2241
2300
|
apple?: {
|
|
2242
2301
|
enabled?: boolean | undefined;
|
|
2243
2302
|
clientId?: string | string[] | undefined;
|
|
2244
|
-
clientSecret?: string | undefined;
|
|
2245
2303
|
callbackUrl?: string | undefined;
|
|
2246
2304
|
scopes?: string[] | undefined;
|
|
2247
2305
|
autoLink?: boolean | undefined;
|
|
2248
2306
|
allowSignup?: boolean | undefined;
|
|
2307
|
+
teamId?: string | undefined;
|
|
2308
|
+
keyId?: string | undefined;
|
|
2309
|
+
privateKeyPem?: string | undefined;
|
|
2249
2310
|
} | undefined;
|
|
2250
2311
|
facebook?: {
|
|
2312
|
+
clientSecret?: string | undefined;
|
|
2251
2313
|
enabled?: boolean | undefined;
|
|
2252
2314
|
clientId?: string | string[] | undefined;
|
|
2253
|
-
clientSecret?: string | undefined;
|
|
2254
2315
|
callbackUrl?: string | undefined;
|
|
2255
2316
|
scopes?: string[] | undefined;
|
|
2256
2317
|
autoLink?: boolean | undefined;
|
|
@@ -2263,9 +2324,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2263
2324
|
} | undefined;
|
|
2264
2325
|
}, {
|
|
2265
2326
|
google?: {
|
|
2327
|
+
clientSecret?: string | undefined;
|
|
2266
2328
|
enabled?: boolean | undefined;
|
|
2267
2329
|
clientId?: string | string[] | undefined;
|
|
2268
|
-
clientSecret?: string | undefined;
|
|
2269
2330
|
callbackUrl?: string | undefined;
|
|
2270
2331
|
scopes?: string[] | undefined;
|
|
2271
2332
|
autoLink?: boolean | undefined;
|
|
@@ -2274,16 +2335,18 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2274
2335
|
apple?: {
|
|
2275
2336
|
enabled?: boolean | undefined;
|
|
2276
2337
|
clientId?: string | string[] | undefined;
|
|
2277
|
-
clientSecret?: string | undefined;
|
|
2278
2338
|
callbackUrl?: string | undefined;
|
|
2279
2339
|
scopes?: string[] | undefined;
|
|
2280
2340
|
autoLink?: boolean | undefined;
|
|
2281
2341
|
allowSignup?: boolean | undefined;
|
|
2342
|
+
teamId?: string | undefined;
|
|
2343
|
+
keyId?: string | undefined;
|
|
2344
|
+
privateKeyPem?: string | undefined;
|
|
2282
2345
|
} | undefined;
|
|
2283
2346
|
facebook?: {
|
|
2347
|
+
clientSecret?: string | undefined;
|
|
2284
2348
|
enabled?: boolean | undefined;
|
|
2285
2349
|
clientId?: string | string[] | undefined;
|
|
2286
|
-
clientSecret?: string | undefined;
|
|
2287
2350
|
callbackUrl?: string | undefined;
|
|
2288
2351
|
scopes?: string[] | undefined;
|
|
2289
2352
|
autoLink?: boolean | undefined;
|
|
@@ -2528,8 +2591,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2528
2591
|
codeLength?: number | undefined;
|
|
2529
2592
|
codeCount?: number | undefined;
|
|
2530
2593
|
} | undefined;
|
|
2531
|
-
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
2532
2594
|
enabled?: boolean | undefined;
|
|
2595
|
+
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
2533
2596
|
requireForSocialLogin?: boolean | undefined;
|
|
2534
2597
|
allowedMethods?: ("totp" | "sms" | "email" | "passkey")[] | undefined;
|
|
2535
2598
|
bypassMFAForTrustedDevices?: boolean | undefined;
|
|
@@ -2587,8 +2650,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2587
2650
|
codeLength?: number | undefined;
|
|
2588
2651
|
codeCount?: number | undefined;
|
|
2589
2652
|
} | undefined;
|
|
2590
|
-
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
2591
2653
|
enabled?: boolean | undefined;
|
|
2654
|
+
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
2592
2655
|
requireForSocialLogin?: boolean | undefined;
|
|
2593
2656
|
allowedMethods?: ("totp" | "sms" | "email" | "passkey")[] | undefined;
|
|
2594
2657
|
bypassMFAForTrustedDevices?: boolean | undefined;
|
|
@@ -2801,8 +2864,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2801
2864
|
codeLength?: number | undefined;
|
|
2802
2865
|
codeCount?: number | undefined;
|
|
2803
2866
|
} | undefined;
|
|
2804
|
-
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
2805
2867
|
enabled?: boolean | undefined;
|
|
2868
|
+
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
2806
2869
|
requireForSocialLogin?: boolean | undefined;
|
|
2807
2870
|
allowedMethods?: ("totp" | "sms" | "email" | "passkey")[] | undefined;
|
|
2808
2871
|
bypassMFAForTrustedDevices?: boolean | undefined;
|
|
@@ -2869,9 +2932,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2869
2932
|
} | undefined;
|
|
2870
2933
|
social?: {
|
|
2871
2934
|
google?: {
|
|
2935
|
+
clientSecret?: string | undefined;
|
|
2872
2936
|
enabled?: boolean | undefined;
|
|
2873
2937
|
clientId?: string | string[] | undefined;
|
|
2874
|
-
clientSecret?: string | undefined;
|
|
2875
2938
|
callbackUrl?: string | undefined;
|
|
2876
2939
|
scopes?: string[] | undefined;
|
|
2877
2940
|
autoLink?: boolean | undefined;
|
|
@@ -2880,16 +2943,18 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2880
2943
|
apple?: {
|
|
2881
2944
|
enabled?: boolean | undefined;
|
|
2882
2945
|
clientId?: string | string[] | undefined;
|
|
2883
|
-
clientSecret?: string | undefined;
|
|
2884
2946
|
callbackUrl?: string | undefined;
|
|
2885
2947
|
scopes?: string[] | undefined;
|
|
2886
2948
|
autoLink?: boolean | undefined;
|
|
2887
2949
|
allowSignup?: boolean | undefined;
|
|
2950
|
+
teamId?: string | undefined;
|
|
2951
|
+
keyId?: string | undefined;
|
|
2952
|
+
privateKeyPem?: string | undefined;
|
|
2888
2953
|
} | undefined;
|
|
2889
2954
|
facebook?: {
|
|
2955
|
+
clientSecret?: string | undefined;
|
|
2890
2956
|
enabled?: boolean | undefined;
|
|
2891
2957
|
clientId?: string | string[] | undefined;
|
|
2892
|
-
clientSecret?: string | undefined;
|
|
2893
2958
|
callbackUrl?: string | undefined;
|
|
2894
2959
|
scopes?: string[] | undefined;
|
|
2895
2960
|
autoLink?: boolean | undefined;
|
|
@@ -2906,8 +2971,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2906
2971
|
} | undefined;
|
|
2907
2972
|
tablePrefix?: string | undefined;
|
|
2908
2973
|
signup?: {
|
|
2909
|
-
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
2910
2974
|
enabled?: boolean | undefined;
|
|
2975
|
+
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
2911
2976
|
allowDuplicatePhones?: boolean | undefined;
|
|
2912
2977
|
emailVerification?: {
|
|
2913
2978
|
expiresIn?: number | undefined;
|
|
@@ -2932,9 +2997,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2932
2997
|
} | undefined;
|
|
2933
2998
|
} | undefined;
|
|
2934
2999
|
lockout?: {
|
|
3000
|
+
enabled?: boolean | undefined;
|
|
2935
3001
|
duration?: number | undefined;
|
|
2936
3002
|
maxAttempts?: number | undefined;
|
|
2937
|
-
enabled?: boolean | undefined;
|
|
2938
3003
|
resetOnSuccess?: boolean | undefined;
|
|
2939
3004
|
} | undefined;
|
|
2940
3005
|
security?: {
|
|
@@ -3067,8 +3132,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3067
3132
|
codeLength?: number | undefined;
|
|
3068
3133
|
codeCount?: number | undefined;
|
|
3069
3134
|
} | undefined;
|
|
3070
|
-
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
3071
3135
|
enabled?: boolean | undefined;
|
|
3136
|
+
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
3072
3137
|
requireForSocialLogin?: boolean | undefined;
|
|
3073
3138
|
allowedMethods?: ("totp" | "sms" | "email" | "passkey")[] | undefined;
|
|
3074
3139
|
bypassMFAForTrustedDevices?: boolean | undefined;
|
|
@@ -3135,9 +3200,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3135
3200
|
} | undefined;
|
|
3136
3201
|
social?: {
|
|
3137
3202
|
google?: {
|
|
3203
|
+
clientSecret?: string | undefined;
|
|
3138
3204
|
enabled?: boolean | undefined;
|
|
3139
3205
|
clientId?: string | string[] | undefined;
|
|
3140
|
-
clientSecret?: string | undefined;
|
|
3141
3206
|
callbackUrl?: string | undefined;
|
|
3142
3207
|
scopes?: string[] | undefined;
|
|
3143
3208
|
autoLink?: boolean | undefined;
|
|
@@ -3146,16 +3211,18 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3146
3211
|
apple?: {
|
|
3147
3212
|
enabled?: boolean | undefined;
|
|
3148
3213
|
clientId?: string | string[] | undefined;
|
|
3149
|
-
clientSecret?: string | undefined;
|
|
3150
3214
|
callbackUrl?: string | undefined;
|
|
3151
3215
|
scopes?: string[] | undefined;
|
|
3152
3216
|
autoLink?: boolean | undefined;
|
|
3153
3217
|
allowSignup?: boolean | undefined;
|
|
3218
|
+
teamId?: string | undefined;
|
|
3219
|
+
keyId?: string | undefined;
|
|
3220
|
+
privateKeyPem?: string | undefined;
|
|
3154
3221
|
} | undefined;
|
|
3155
3222
|
facebook?: {
|
|
3223
|
+
clientSecret?: string | undefined;
|
|
3156
3224
|
enabled?: boolean | undefined;
|
|
3157
3225
|
clientId?: string | string[] | undefined;
|
|
3158
|
-
clientSecret?: string | undefined;
|
|
3159
3226
|
callbackUrl?: string | undefined;
|
|
3160
3227
|
scopes?: string[] | undefined;
|
|
3161
3228
|
autoLink?: boolean | undefined;
|
|
@@ -3172,8 +3239,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3172
3239
|
} | undefined;
|
|
3173
3240
|
tablePrefix?: string | undefined;
|
|
3174
3241
|
signup?: {
|
|
3175
|
-
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
3176
3242
|
enabled?: boolean | undefined;
|
|
3243
|
+
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
3177
3244
|
allowDuplicatePhones?: boolean | undefined;
|
|
3178
3245
|
emailVerification?: {
|
|
3179
3246
|
expiresIn?: number | undefined;
|
|
@@ -3198,9 +3265,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3198
3265
|
} | undefined;
|
|
3199
3266
|
} | undefined;
|
|
3200
3267
|
lockout?: {
|
|
3268
|
+
enabled?: boolean | undefined;
|
|
3201
3269
|
duration?: number | undefined;
|
|
3202
3270
|
maxAttempts?: number | undefined;
|
|
3203
|
-
enabled?: boolean | undefined;
|
|
3204
3271
|
resetOnSuccess?: boolean | undefined;
|
|
3205
3272
|
} | undefined;
|
|
3206
3273
|
security?: {
|
|
@@ -3333,8 +3400,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3333
3400
|
codeLength?: number | undefined;
|
|
3334
3401
|
codeCount?: number | undefined;
|
|
3335
3402
|
} | undefined;
|
|
3336
|
-
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
3337
3403
|
enabled?: boolean | undefined;
|
|
3404
|
+
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
3338
3405
|
requireForSocialLogin?: boolean | undefined;
|
|
3339
3406
|
allowedMethods?: ("totp" | "sms" | "email" | "passkey")[] | undefined;
|
|
3340
3407
|
bypassMFAForTrustedDevices?: boolean | undefined;
|
|
@@ -3401,9 +3468,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3401
3468
|
} | undefined;
|
|
3402
3469
|
social?: {
|
|
3403
3470
|
google?: {
|
|
3471
|
+
clientSecret?: string | undefined;
|
|
3404
3472
|
enabled?: boolean | undefined;
|
|
3405
3473
|
clientId?: string | string[] | undefined;
|
|
3406
|
-
clientSecret?: string | undefined;
|
|
3407
3474
|
callbackUrl?: string | undefined;
|
|
3408
3475
|
scopes?: string[] | undefined;
|
|
3409
3476
|
autoLink?: boolean | undefined;
|
|
@@ -3412,16 +3479,18 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3412
3479
|
apple?: {
|
|
3413
3480
|
enabled?: boolean | undefined;
|
|
3414
3481
|
clientId?: string | string[] | undefined;
|
|
3415
|
-
clientSecret?: string | undefined;
|
|
3416
3482
|
callbackUrl?: string | undefined;
|
|
3417
3483
|
scopes?: string[] | undefined;
|
|
3418
3484
|
autoLink?: boolean | undefined;
|
|
3419
3485
|
allowSignup?: boolean | undefined;
|
|
3486
|
+
teamId?: string | undefined;
|
|
3487
|
+
keyId?: string | undefined;
|
|
3488
|
+
privateKeyPem?: string | undefined;
|
|
3420
3489
|
} | undefined;
|
|
3421
3490
|
facebook?: {
|
|
3491
|
+
clientSecret?: string | undefined;
|
|
3422
3492
|
enabled?: boolean | undefined;
|
|
3423
3493
|
clientId?: string | string[] | undefined;
|
|
3424
|
-
clientSecret?: string | undefined;
|
|
3425
3494
|
callbackUrl?: string | undefined;
|
|
3426
3495
|
scopes?: string[] | undefined;
|
|
3427
3496
|
autoLink?: boolean | undefined;
|
|
@@ -3438,8 +3507,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3438
3507
|
} | undefined;
|
|
3439
3508
|
tablePrefix?: string | undefined;
|
|
3440
3509
|
signup?: {
|
|
3441
|
-
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
3442
3510
|
enabled?: boolean | undefined;
|
|
3511
|
+
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
3443
3512
|
allowDuplicatePhones?: boolean | undefined;
|
|
3444
3513
|
emailVerification?: {
|
|
3445
3514
|
expiresIn?: number | undefined;
|
|
@@ -3464,9 +3533,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3464
3533
|
} | undefined;
|
|
3465
3534
|
} | undefined;
|
|
3466
3535
|
lockout?: {
|
|
3536
|
+
enabled?: boolean | undefined;
|
|
3467
3537
|
duration?: number | undefined;
|
|
3468
3538
|
maxAttempts?: number | undefined;
|
|
3469
|
-
enabled?: boolean | undefined;
|
|
3470
3539
|
resetOnSuccess?: boolean | undefined;
|
|
3471
3540
|
} | undefined;
|
|
3472
3541
|
security?: {
|
|
@@ -3599,8 +3668,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3599
3668
|
codeLength?: number | undefined;
|
|
3600
3669
|
codeCount?: number | undefined;
|
|
3601
3670
|
} | undefined;
|
|
3602
|
-
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
3603
3671
|
enabled?: boolean | undefined;
|
|
3672
|
+
rememberDevices?: "always" | "user_opt_in" | "never" | undefined;
|
|
3604
3673
|
requireForSocialLogin?: boolean | undefined;
|
|
3605
3674
|
allowedMethods?: ("totp" | "sms" | "email" | "passkey")[] | undefined;
|
|
3606
3675
|
bypassMFAForTrustedDevices?: boolean | undefined;
|
|
@@ -3667,9 +3736,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3667
3736
|
} | undefined;
|
|
3668
3737
|
social?: {
|
|
3669
3738
|
google?: {
|
|
3739
|
+
clientSecret?: string | undefined;
|
|
3670
3740
|
enabled?: boolean | undefined;
|
|
3671
3741
|
clientId?: string | string[] | undefined;
|
|
3672
|
-
clientSecret?: string | undefined;
|
|
3673
3742
|
callbackUrl?: string | undefined;
|
|
3674
3743
|
scopes?: string[] | undefined;
|
|
3675
3744
|
autoLink?: boolean | undefined;
|
|
@@ -3678,16 +3747,18 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3678
3747
|
apple?: {
|
|
3679
3748
|
enabled?: boolean | undefined;
|
|
3680
3749
|
clientId?: string | string[] | undefined;
|
|
3681
|
-
clientSecret?: string | undefined;
|
|
3682
3750
|
callbackUrl?: string | undefined;
|
|
3683
3751
|
scopes?: string[] | undefined;
|
|
3684
3752
|
autoLink?: boolean | undefined;
|
|
3685
3753
|
allowSignup?: boolean | undefined;
|
|
3754
|
+
teamId?: string | undefined;
|
|
3755
|
+
keyId?: string | undefined;
|
|
3756
|
+
privateKeyPem?: string | undefined;
|
|
3686
3757
|
} | undefined;
|
|
3687
3758
|
facebook?: {
|
|
3759
|
+
clientSecret?: string | undefined;
|
|
3688
3760
|
enabled?: boolean | undefined;
|
|
3689
3761
|
clientId?: string | string[] | undefined;
|
|
3690
|
-
clientSecret?: string | undefined;
|
|
3691
3762
|
callbackUrl?: string | undefined;
|
|
3692
3763
|
scopes?: string[] | undefined;
|
|
3693
3764
|
autoLink?: boolean | undefined;
|
|
@@ -3704,8 +3775,8 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3704
3775
|
} | undefined;
|
|
3705
3776
|
tablePrefix?: string | undefined;
|
|
3706
3777
|
signup?: {
|
|
3707
|
-
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
3708
3778
|
enabled?: boolean | undefined;
|
|
3779
|
+
verificationMethod?: "none" | "email" | "phone" | "both" | undefined;
|
|
3709
3780
|
allowDuplicatePhones?: boolean | undefined;
|
|
3710
3781
|
emailVerification?: {
|
|
3711
3782
|
expiresIn?: number | undefined;
|
|
@@ -3730,9 +3801,9 @@ export declare const authConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3730
3801
|
} | undefined;
|
|
3731
3802
|
} | undefined;
|
|
3732
3803
|
lockout?: {
|
|
3804
|
+
enabled?: boolean | undefined;
|
|
3733
3805
|
duration?: number | undefined;
|
|
3734
3806
|
maxAttempts?: number | undefined;
|
|
3735
|
-
enabled?: boolean | undefined;
|
|
3736
3807
|
resetOnSuccess?: boolean | undefined;
|
|
3737
3808
|
} | undefined;
|
|
3738
3809
|
security?: {
|