JavaScript Library Options
Published: November 8th, 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
show_login_focus
When launching the ‘Continue with’ Opt in, this option lets you enable “blur screen” where the main content of the page is greyed out, and the ‘Continue with’ Opt in is in focus. This brings the user’s attention to the ‘Continue with’ Opt in, and lets them know they should authenticate.
Available Values: true, false
Default value, if not specified: false