BluxBlux

Login Methods

Control which authentication methods are available in the Blux login modal.

The loginMethods option defines which authentication methods are shown in the login modal. The order of the array also determines the display order — so the first item in the list will appear most prominently during onboarding.

Type

loginMethods?: Array<
  | 'wallet'
  | 'email'
  | 'sms'
  | 'google'
  | 'twitter'
  | 'discord'
  | 'github'
  | 'passkey'
>;

Usage

<BluxProvider
  config={{
    loginMethods: ["wallet", "email", "sms", "passkey"],
  }}
>
  {children}
</BluxProvider>
createConfig({
  loginMethods: ["wallet", "email", "sms", "passkey"],
});

Want to see the login methods in action? Try the live demo →

On this page