A web component that handles user login.
<hanko-auth>
. This makes it the optimal choice for controlled-access applications such as enterprise systems, internal tools, or invitation-based platforms where user registration needs to be restricted.
If you want to Combine Login and Register on the same page: <hanko-auth>
component.
If you want to create a dedicated Registration page: <hanko-register>
component .
Login | Allows users to securely log in to their existing accounts. |
Passkeys | Enables passwordless login with modern device credentials. |
Passcodes | Useful for email-based login and verification workflows. |
2FA | Users can use a TOTP app or security keys. |
OAuth SSO | Allows users to log in using third-party identity providers (e.g., Google, Apple). |
Passwords | Supports traditional password-based login for broader accessibility. |
Name | Description |
---|---|
prefilledEmail | Used to prefill the email input field |
prefilledUsername | Used to prefill the username input field |
lang | Used to specify the language of the content within the element |
<hanko-login>
component<hanko-login>
component in different full stack and frontend frameworks.
<hanko-login>
component with your favorite frameworks, navigate to quickstart guides.