JavaScript Library Options

Last updated 11/08/2021

For many of our JavaScript Library methods, you can specify options that affect the display of UI elements, or backend workflows. Below if you will find a list of all available options, how they work, and examples on how to use them. You can also find this information on our Github.

button_theme

Choose whether the IDP icons are displayed as long tiles, or icons.

Available values: round-icons, square-icons, tiles

Default value, if not specified: tiles

expand_email_address

Collapse the email address entry field for Local Password, when set to false. When collapsed, users will need to click to expand, which will show the email address field.

Available Values: true, false

Default value, if not specified: true

show_login_focus

When launching the ‘Continue with’ widget, this option lets you enable “blur screen” where the main content of the page is greyed out, and the ‘Continue with’ widget is in focus. This brings the user’s attention to the ‘Continue with’ widget, and lets them know they should authenticate.

Available Values: true, false

Default value, if not specified: false