Setup Authentication
By default, Xellar Kit enables email authentication.
Social Providers
- Follow instruction on how to configure Google OAuth
- Add the
googleClientId
to theXellarKitProvider
component
<XellarKitProvider googleClientId="YOUR_GOOGLE_CLIENT_ID">
{children}
</XellarKitProvider>
Telegram
- Follow instruction on how to configure Telegram
- Add the
telegramConfig
to theXellarKitProvider
component
<XellarKitProvider telegramConfig={{
botId: "YOUR_TELEGRAM_BOT_ID",
botUsername: "YOUR_TELEGRAM_BOT_USERNAME",
}}>
{children}
</XellarKitProvider>
Apple
- Follow instruction on how to configure Apple
- Add the
appleLoginConfig
to theXellarKitProvider
component
<XellarKitProvider appleLoginConfig={{
clientId: "YOUR_APPLE_CLIENT_ID",
redirectUri: "YOUR_REDIRECT_URI",
}}>
{children}
</XellarKitProvider>
- Follow instruction on how to configure Whatsapp
- Add the
enableWhatsappLogin
to theXellarKitProvider
component
<XellarKitProvider enableWhatsappLogin={true}>
{children}
</XellarKitProvider>