ViewSignIn
Overview
Default sign-in view. Renders an email and password credential form inside an AuthorizingForm card. Post-login routing and MFA pending-flow detection come from AuthorizingForm (via useSignInFlow); submission, loading, and server-side validation mapping come from the inner ActionForm.
Integrators can use this view as-is, adjust copy and behaviour through props (header, subTitle, redirect, formProps, requireRecentLogin, theme overrides, all forwarded to AuthorizingForm), or replace individual pieces through the field(email), widget(email), field(password), widget(password), and action-bar slots. Any other AuthorizingForm or ActionForm slot is forwarded through.
Slots
| Name | Scoped | Description |
|---|---|---|
auth-form-prefix-header | ||
auth-form-inner | yes | |
header | yes | |
content | yes | |
suffix | ||
invalid-message | ||
field(email) | yes | |
widget(email) | yes | |
field(password) | yes | |
widget(password) | yes | |
action-bar | yes |
Events
| Name | Description |
|---|---|
form-object | Emitted on mount with a readonly ref to the reactive form values object. |
form-context | Emitted on mount with the form context. Use its methods for programmatic form updates. |
Source
client/lib/views/ViewSignIn.vue