# `PhoenixKitWeb.Users.MagicLinkVerify`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/phoenix_kit_web/users/magic_link_verify.ex#L1)

Controller for handling magic link verification and authentication.

This controller handles the server-side verification of magic link tokens
when users click on the links received via email.

# `verify`

Verifies a magic link token and logs the user in.

This is the endpoint that magic link URLs point to. It:
1. Verifies the token is valid and not expired
2. Logs the user in by creating a session
3. Redirects to the appropriate post-login destination
4. Handles invalid/expired tokens gracefully

---

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