Subscribe to access all episodes. View plans →

#123: Using Phx.Gen.Auth with Swoosh

Published September 23, 2020

In episode #122 we learned how to use the phx_gen_auth package to add authentication to a Phoenix application. While users can now register and sign in to our application, the email notifications for things like password reset and registration confirmation are not working. In this episode we’ll update our application to send out emails for different user notifications.

To handle email notifications, let’s use the Swoosh package, which has adapters for the most popular transactional email providers, as well as an SMTP adapter.

Let’s start by…

© 2024 HEXMONSTER LLC