# `HaAuth.Web.LoginLive`
[🔗](https://github.com/drselump14/ha_auth/blob/v0.1.0/lib/ha_auth/web/login_live.ex#L1)

The login page, with all three ways in:

  1. Kiosk Satellite: an inline script calls the kiosk's shared HA
     connection when it exists, then goes to `/auth/kiosk`
  2. A QR code for `/pair/<code>`; when a phone approves it the page goes
     to `/auth/pair/finish`. It reloads for a new code when this one expires
  3. The "Sign in with Home Assistant" link

The QR code and kiosk nonce come from this browser's session
(`HaAuth.Plug`, `:login_codes`). The kiosk try is skipped right after a
failed sign-in, so a misconfigured kiosk doesn't loop.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
