Chapter 5
Authenticating Users

We have something that is starting to look like an application. Our database-backed Accounts context is wired to our controller using changesets and forms. Let’s ramp up the sophistication with real login forms and sessions. Rather than use something off the shelf, we can build it ourselves. Along the way you’ll learn more about managing change with Ecto changesets and chaining together functions using plugs. Finally, we’ll introduce session handling so our application can track logged-in users.

As you’ve seen, Phoenix makes it easy to add functionality to your application from bottom to top. Authentication forms the foundation for your whole application’s security system, though, so we’re going to be sure each decision is right.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.96.86