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. Theauto
setting will display thelogin
page for users who are not logged in and thesettings
page for users who are logged in. -
data-login-dismiss
(Optional, Default =true
)
Setting this property to false will prevent thelogin
dialog from being dismissed. -
data-register-dismiss
(Optional, Default =true
)
Setting this property to false will prevent theregister
dialog from being dismissed. -
data-settings-dismiss
(Optional, Default =true
)
Setting this property to false will prevent thesettings
dialog 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.