Devise

Flexible authentication solution for Rails with Warden. (by heartcombo)

Devise Alternatives

Similar projects and alternatives to Devise

  1. React

    1,934 Devise VS React

    The library for web and native user interfaces.

  2. InfluxDB

    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.

    InfluxDB logo
  3. Express

    777 Devise VS Express

    Fast, unopinionated, minimalist web framework for node.

  4. Ruby on Rails

    Ruby on Rails

  5. PostgreSQL

    Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch

  6. crystal

    247 Devise VS crystal

    The Crystal Programming Language

  7. create-t3-app

    194 Devise VS create-t3-app

    The best way to start a full-stack, typesafe Next.js app

  8. Stimulus

    116 Devise VS Stimulus

    A modest JavaScript framework for the HTML you already have

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Sidekiq

    99 Devise VS Sidekiq

    Simple, efficient background processing for Ruby

  11. Stream-Framework

    Stream Framework is a Python library, which allows you to build news feed, activity streams and notification systems using Cassandra and/or Redis. The authors of Stream-Framework also provide a cloud service for feed technology:

  12. Rodauth

    21 Devise VS Rodauth

    Ruby's Most Advanced Authentication Framework

  13. Pundit

    28 Devise VS Pundit

    Minimal authorization through OO design and pure Ruby classes

  14. OmniAuth

    24 Devise VS OmniAuth

    OmniAuth is a flexible authentication system utilizing Rack middleware.

  15. authentication-zero

    An authentication system generator for Rails applications.

  16. CanCanCan

    20 Devise VS CanCanCan

    The authorization Gem for Ruby on Rails.

  17. Sorcery

    10 Devise VS Sorcery

    Magical Authentication (by Sorcery)

  18. Action Policy

    Authorization framework for Ruby/Rails applications

  19. RailsAdmin

    9 Devise VS RailsAdmin

    RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data

  20. warden

    8 Devise VS warden

    General Rack Authentication Framework

  21. Devise Token Auth

    Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.

  22. FriendlyId

    7 Devise VS FriendlyId

    FriendlyId is the “Swiss Army bulldozer” of slugging and permalink plugins for ActiveRecord. It allows you to create pretty URL’s and work with human-friendly strings as if they were numeric ids for ActiveRecord models.

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Devise alternative or higher similarity.

Devise discussion

Log in or Post with

Devise reviews and mentions

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-03.
  • 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.
  • Warden of Hanami - hanami.rb basic authentication
    5 projects | dev.to | 7 May 2024
    However for smaller apps it might be an overkill. In "real-life" production systems, overengineering is one of the biggest crimes. This is true any framework and technology, so in Rails you might want to use Rodauth since it is big and interesting and challenging, but then again, if you are building a simple greenfield MVP you do not have the time or need, for a big, complex solution. In those cases Rails developers usually go for Devise. It is one of the most known Rails gems, in multiple Rails surveys it was both number 1 in popularity, likability and "most frustrating" rankings.
  • Ruby on Rails: Native route constraint for authentication
    1 project | dev.to | 19 Apr 2024
    Since Rails 7, there's more and more tooling that enables us, developers, to roll our own authentication. Devise is great and has been an amazing companion over the years. It also has this neat little feature - an authenticated route constraint which "hides" certain routes from people that are not signed in.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic Devise repo stats
102
24,199
6.2
6 months ago

heartcombo/devise is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of Devise is Ruby.


Sponsored
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

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