The following data properties are available for configuring the UserKit Widget.
-
data-app-id(Required)
This property is required and must be set to the app-id for your app found in the UserKit Dashboard -
data-show-on-load(Optional, Default =undefined)
May be set tologin,register,settings, orauto. This property will display the dialog for the selected value on page load. Theautosetting will display theloginpage for users who are not logged in and thesettingspage for users who are logged in. -
data-login-dismiss(Optional, Default =true)
Setting this property to false will prevent thelogindialog from being dismissed. -
data-register-dismiss(Optional, Default =true)
Setting this property to false will prevent theregisterdialog from being dismissed. -
data-settings-dismiss(Optional, Default =true)
Setting this property to false will prevent thesettingsdialog from being dismissed. -
data-proxy(Optional, Default =undefined)
Can be used to enable http-only session cookies. More info here -
data-invite-only-descr(Optional, Default ="An invite is required to register.")
If your app is configured to be invite-only, this message will be displayed on the registration screen.
