How I add auth to Phoenix LiveView apps
Phoenix LiveView is great for things like forms with validations. But for a new user form, you’ll probably want to log the user in as soon as they create an account.
This is a walk-through of how you can add user auth to a LiveView app using login tokens. The same strategy also works for logging in with “magic” forgot password links.
Read next Simple Phoenix LiveView App: Upgrade LiveView to v0.12.1