Page context
Thelogin object describes the current step of the passwordless login flow.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Reference for Liquid components available on Customer Portal login screens.
login object describes the current step of the passwordless login flow.
| Property | Available when | Description |
|---|---|---|
login.state | Always | Either form or email_sent |
login.login_url | form | Server-owned endpoint for the login form |
login.email | Both states | Email address entered by the customer, when present |
login.retry_url | email_sent | URL for returning to the login form |
{% login_form %}| Parameter | Type | Default |
|---|---|---|
form_classes | String | No classes |
label_classes | String | Default form label classes |
input_classes | String | Default email input classes |
button_classes | String | Default primary button classes |
submit_label | String | Translated “Sign in with E-mail” label |
hint | String | Translated login hint. Pass an empty string to hide the hint |
hint_classes | String | Default form hint classes |
{% login_form
form_classes: "flex flex-col gap-6"
input_classes: "w-full rounded-xl border border-gray-300 px-4 py-3"
button_classes: "w-full rounded-xl bg-black px-4 py-3 text-white"
submit_label: "Email me a login link"
hint: "We'll email you a secure login link."
%}
<form action="/self-service/login" method="post">
<input type="hidden" name="authenticity_token">
<label for="email">Email</label>
<input id="email" type="email" name="email">
<input type="submit" value="Sign in with E-mail">
</form>
Was this page helpful?