1.0.0 • Published 3 years ago

@identifo/web-element v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Identifo Web Element

Simple drop in auth web component for Identifo.

Usage

You need to set app-id and url props.

<identifo-form app-id="ххх" url="https://identifo.com" theme="light"></identifo-form>

Properties

PropertyAttributeDescriptionTypeDefault
appIdapp-idstringundefined
routeroute"callback" \| "error" \| "login" \| "otp/login" \| "password/forgot" \| "password/reset" \| "register" \| "tfa/setup" \| "tfa/verify"'login'
themetheme"dark" \| "light"undefined
tokentokenstring''
urlurlstringundefined

Events

EventDescriptionType
completeCustomEvent<string>
errorCustomEvent<ApiError>