Skip to main content

Login Methods (loginMethods)

Control which authentication methods are available on the login screen:
Available Options:
  • passwordless: Enables email-based passwordless authentication
  • google: Enables Google OAuth login integration
  • wallet: Enables wallet-based authentication
Example Configuration:
Note: The order in the array determines the display order in the UI (top to bottom).

Wallet Login Methods (walletLoginMethods)

When wallet is included in loginMethods, specify which wallet providers are available:
Example Configuration:
The order in the array determines the display order in the UI (left to right, top to bottom). Since AIR accounts are shared across partners, consider including email-based login to avoid forcing users to link wallets to existing accounts.

Style Configuration (style)

Customize the visual appearance of the login interface:
Style Options:
  • passwordlessButtonVariant: Controls how the passwordless login button appears
    • "inline": Button appears inline with other elements
    • "standalone": Button appears as a standalone element below the input
  • airLogoTheme: Controls the AIR logo appearance
    • "default": Standard logo theme
    • "reverse": Reversed color scheme
    • "dark_only": Dark theme only
    • "light_only": Light theme only
Example Configuration:

OTP delivery customization

OTP delivery branding can be customized for your project:
  • SMS sender name: Use {Partner Name} via AIR, such as Minds via AIR.
  • Email logo: Display your logo in OTP emails.
  • Email sender domain: Send OTP emails from your domain by providing your own SMTP server. You can use providers such as Mailgun, SendGrid, or AWS SES.
These customizations are enabled by the AIR team and are not configured through the SDK. Contact us to request custom OTP delivery branding for your project.