With Rails 7.1 came a bunch of new features around token generation and with this release, I've been working on a new authentication solution that provides the basic requirements of authentication out of the box, but also has advanced features like Passkeys that are easy to implement and use.
Magic Links is a passwordless authentication method where you receive a emailed link to proceed with signing in. In this episode, we look at swapping out a lot of the core functionalities of Devise with Magic Links as well as alternatives for using this methodology without Devise.
It's never a bad thing to understand how authentication works in a Ruby on Rails application without reaching for a gem. In this episode, we look at how authentication works in a modern Ruby on Rails application and some reasons why we shouldn't roll our own solution.
Setting up "Sign in with Apple" can be confusing and complicated if you never dealt with Omniauth or with Apple's developer account. In this episode, we look at navigating through the Apple Developer account and setting up Omniauth to implement the Sign in with Apple.