AuthType

1type AuthType =
2 | {
3 buttonLabel?: string;
4 emailMode?: "magicLink" | "otp";
5 hideButton?: boolean;
6 placeholder?: string;
7 type: "email";
8}
9 | {
10 type: "passkey";
11}
12 | {
13 chainType?: ChainType[];
14 hideMoreButton?: boolean;
15 moreButtonText?: string;
16 numFeaturedWallets?: number;
17 type: "external_wallets";
18 walletConnect?: WalletConnectParameters;
19 walletConnectProjectId?: string;
20 wallets?: string[];
21}
22 | object &
23 | {
24 auth0Connection?: string;
25 authProviderId: "auth0";
26 displayName: string;
27 isCustomProvider?: false;
28 logoUrl: string;
29 logoUrlDark?: string;
30}
31 | {
32 auth0Connection?: never;
33 authProviderId: KnownAuthProvider;
34 displayName?: never;
35 isCustomProvider?: false;
36 logoUrl?: never;
37 logoUrlDark?: never;
38} & OauthRedirectConfig;

Defined in: account-kit/react/src/components/auth/types.ts:11

Type Declaration

1{
2 buttonLabel?: string;
3 emailMode?: "magicLink" | "otp";
4 hideButton?: boolean;
5 placeholder?: string;
6 type: "email";
7}
NameTypeDescription

buttonLabel?

string

emailMode?

"magicLink" | "otp"

Deprecated

This option will be overriden by dashboard settings. Please use the dashboard settings instead. This option will be removed in a future release.

hideButton?

boolean

placeholder?

string

type

"email"

1{
2 type: "passkey";
3}
NameType

type

"passkey"

1{
2 chainType?: ChainType[];
3 hideMoreButton?: boolean;
4 moreButtonText?: string;
5 numFeaturedWallets?: number;
6 type: "external_wallets";
7 walletConnect?: WalletConnectParameters;
8 walletConnectProjectId?: string;
9 wallets?: string[];
10}
NameType

chainType?

ChainType[]

hideMoreButton?

boolean

moreButtonText?

string

numFeaturedWallets?

number

type

"external_wallets"

walletConnect?

WalletConnectParameters

walletConnectProjectId?

string

wallets?

string[]

object & | { auth0Connection?: string; authProviderId: "auth0"; displayName: string; isCustomProvider?: false; logoUrl: string; logoUrlDark?: string; } | { auth0Connection?: never; authProviderId: KnownAuthProvider; displayName?: never; isCustomProvider?: false; logoUrl?: never; logoUrlDark?: never; } & OauthRedirectConfig