Overview

The login component renders a UI for user login and sign-up. The UI options for the component are determined by settings in the console dashboard. You can set the default UI options in the console under the Branding tab, and customize them by passing LoginComponentConfigs when you open the component.

Login Component

API

Type

The type of the login component is login.

LoginComponentConfigs

These are the properties you can pass when using furo.open('login').

appearence
object

Options for the login UI. The appearence attribute overrides the default settings in the console.

theme
string

Sets the color theme. You can enter light or dark. If left empty, the theme set in the console will be applied.

oauthPopup
boolean
default: true

Determines whether to use a popup window for OAuth login. You can enter true or false. The default is true. If set to false, OAuth login will operate using redirect method.

Example

furo.open('login', {
  appearence: {
    theme: 'dark',
  },
  oauthPopup: false,
});