RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Build Magic link authentication for Devise natively in Rails 7.1 thanks to generates_

Rails 7.1 introduced several new features, but the one we’re focusing on here is the generates_token_for method. This feature is particularly useful because it lets us create signed tokens with expiration dates, all without needing to modify the database.

https://guillaumebriday.fr/build-magic-link-authentication-for-devise-natively-in-rails-7-1-thanks-to-generates_token_for

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in