Simple drop in auth web component for Identifo.
You need to set app-id
and url
props.
<identifo-form app-id="ххх" url="https://identifo.com" theme="light"></identifo-form>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
appId |
app-id |
string |
undefined |
|
route |
route |
"callback" | "error" | "login" | "otp/login" | "password/forgot" | "password/reset" | "register" | "tfa/setup" | "tfa/verify" |
'login' |
|
theme |
theme |
"dark" | "light" |
undefined |
|
token |
token |
string |
'' |
|
url |
url |
string |
undefined |
Event | Description | Type |
---|---|---|
complete |
CustomEvent<string> |
|
error |
CustomEvent<ApiError> |