Additional resources
Before installing any forms complete the following step:
Add the Userfront web-components script inside your HTML <head>
above any other scripts.
It is helpful to wrap the web-components in their own standalone angular components. This allows the forms to be placed anywhere in your application.
You can add as many forms as you would like across your application.
To have a working application ensure you have the following forms at their associated paths:
Form name | Redirect path name |
---|---|
Login form | After-logout path |
Password reset form | Password reset path |
The signup form will:
Install by copying the code below and pasting it in your application.
The login form will:
lastActiveAt
attributeTo handle login links correctly put a login form at your After-logout path.
Install by copying the code below and pasting it in your application.
The password reset form will:
To handle password resets correctly put a password reset form at your Password reset path.
Install by copying the code below and pasting it in your application.
The logout button will:
Install by copying the code below and pasting it in your application.