Sorcery VS Devise

Compare Sorcery vs Devise and see what are their differences.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Sorcery Devise
10 104
1,457 24,194
0.2% 0.1%
2.9 5.1
1 day ago 28 days ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Sorcery

Posts with mentions or reviews of Sorcery. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-10.

Devise

Posts with mentions or reviews of Devise. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-05-30.
  • What I learned while building ActiveRubyist
    4 projects | dev.to | 30 May 2025
    ActiveRubyist is now a Progressive Web App (PWA) with Hotwire-based interactivity. For authentication, I use devise, and for real-time notifications, noticed. Where possible, I lean into default Rails features: for background jobs, I use Solid Queue instead of Sidekiq, keeping everything aligned with the Rails way.
  • Ruby on Rails Flash notifications with Hotwire and ViewComponents
    3 projects | dev.to | 24 May 2025
    Assume we use devise for authentication. We need to subscribe user for personal notifications channel. Add this line to app/views/layouts/application/_flash_container.html.erb
  • We Fell Out of Love with Next.js and Back in Love with Ruby on Rails
    9 projects | news.ycombinator.com | 3 May 2025
    To add, the above code is a pretty near approximation of the literal code inside the devise codebase, which is a very standard Ruby auth system.

    See here:

    https://github.com/heartcombo/devise/blob/main/lib/devise/co...

            def self.define_helpers(mapping) #:nodoc:
  • Unlocking the potential of Lockable
    1 project | dev.to | 5 Mar 2025
    In October 2024, I presented at the Toronto Ruby Meetup on discovering the potential of using Lockable. Devise is a popular authentication library that provides ready-made solutions for user authentication. One of the features it offers is Lockable, which is used to lock a user account after a certain number of failed login attempts. This feature helps improve security by preventing brute force attacks.
  • Rails for Everything
    18 projects | news.ycombinator.com | 1 Jan 2025
    Acknowledging that I haven't had a chance to try the new Rails 8 auth stack... over the last decade I've gone from being a Devise hater to a Devise lover.

    Yes, it can seem esoteric and magical (in the bad way) until you wrap your head around the idioms and design philosophy. There's a lot of functionality that happens unless you override it. I fully get that this rubs a lot of people who aren't in the pool the wrong way.

    However, in addition to the impressive selection of modular capabilities mentioned elsewhere in this thread, there's a very bright light that goes on when you realize that you can make powerful changes to the way the library works by reopening a few controller classes and defining your own methods.

    My strong advice for anyone looking at Devise and perhaps feeling stumped is to open up https://github.com/heartcombo/devise/tree/main/app/controlle... and spend some tens of minutes looking at how the library does what it does. These controller - especially sessions and registrations - contain all of the business logic driving the "magic". Not only do they reveal themselves as relatively simple and well thought out, all of those yield calls mean that you can call those methods while passing a block to them. Whatever is in that block will be evaluated inside of that method when it runs.

    The people who designed Devise put a lot of thought into this stuff. When you get it, you suddenly don't want to be without it.

  • Efficient Chunked File Downloads in Rails: Streaming CSV Exports
    1 project | dev.to | 7 Oct 2024
    However, using ActionController::Live can sometimes lead to unexpected issues, particularly with authentication libraries like Devise. Devise may raise errors when ActionController::Live is active, especially related to the session or Warden errors, as discussed in this GitHub issue. This happens because ActionController::Live opens a separate thread for streaming, which can cause conflicts with Devise’s thread safety and session handling.
  • SpendWise - Budget management app (Ruby on Rails + React) - Part 3
    2 projects | dev.to | 9 Sep 2024
    If you like to know how to implement Devise for user authentication, here's the link- Devise
  • Rails and Keycloak, Authentication Authorization, part one
    7 projects | dev.to | 16 Aug 2024
    Use devise gem, which is probably the most famous rails authentication system.
  • Should I Use jwts For Authentication Tokens?
    7 projects | news.ycombinator.com | 27 May 2024
    IMHO the stateful opaque token approach is simple enough that it can (and often does) get baked into whatever language/framework you’re using to write your app. In addition, the very nature of session tokens is such that the logic for what the token actually means/represents lives in your app, on the server.

    So, that may be why we don’t see more “opaque session token” standards/libraries out there as an alternative to JWTs.

    But if you want an existing example, Devise for Rails [1] has been around a while.

    [1] https://github.com/heartcombo/devise

  • On the road to ramen profitability 🍜 💸
    4 projects | dev.to | 8 May 2024
    Users can signup and login via the Devise gem and create their organizations.

What are some alternatives?

When comparing Sorcery and Devise you can also consider the following projects:

Clearance - Rails authentication with email & password.

Rodauth - Ruby's Most Advanced Authentication Framework

OmniAuth - OmniAuth is a flexible authentication system utilizing Rack middleware.

authentication-zero - An authentication system generator for Rails applications.

Authlogic - A simple ruby authentication solution.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Ruby is
the 12th most popular programming language
based on number of references?