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: