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


Basic Devise repo stats
17 days ago

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

Devise Alternatives

Similar projects and alternatives to Devise

  • GitHub repo Express

    Fast, unopinionated, minimalist web framework for node.

  • GitHub repo lodash

    A modern JavaScript utility library delivering modularity, performance, & extras.

  • GitHub repo Ruby on Rails

    Ruby on Rails

  • GitHub repo rubocop

    A Ruby static code analyzer and formatter, based on the community Ruby style guide.

  • GitHub repo OmniAuth

    OmniAuth is a flexible authentication system utilizing Rack middleware.

  • GitHub repo Pundit

    Minimal authorization through OO design and pure Ruby classes

  • GitHub repo 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.

  • GitHub repo CanCanCan

    The authorization Gem for Ruby on Rails.

  • GitHub repo Devise Token Auth

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

  • GitHub repo minitest

    minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.

  • GitHub repo sorbet

    A fast, powerful type checker designed for Ruby

  • GitHub repo Rake

    A make-like build utility for Ruby.

  • GitHub repo rbs

    Type Signature for Ruby

  • GitHub repo Sorcery

    Magical Authentication (by Sorcery)

  • GitHub repo name_of_person

    Presenting names of people in full, familiar, abbreviated, and initialized forms (but without titulation etc)

  • GitHub repo omniauth-linkedin-oauth2

    A LinkedIn OAuth2 strategy for OmniAuth.

  • GitHub repo tokenable-ruby

    Tokenable is a Rails gem that allows API-only applications a way to authenticate users. This can be helpful when building Single Page Applications, or Mobile Applications. Works with Devise, Sorcery, has_secure_password, and any other auth system you may want to use.

  • GitHub repo session-replay-demo

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better Devise alternative or higher similarity.


Posts where Devise has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-16.
  • Ruby through the lens of Go | 2021-04-16
    One of the things I love the most about Ruby is that it tends to coalesce around one or two really popular libraries. Rails is the big one obviously, but over time you see libraries designed for a particular purpose "winning" over other things. This includes things like linting/code analysis (Rubocop), authentication (Devise), testing (RSpec and Minitest) and more. The emphasis is on making something good great rather than making a lot of different good things.
  • Project management app users advice
    check the gem devise it will give you this functionality
  • Rails active record query not working on devise integrated model. | 2021-04-04
  • Ruby on Rails + OmniAuth + Devise: Implementing Custom User Attributes | 2021-03-15
    When starting my first Ruby on Rails application, I knew one thing for certain: instead writing line after line of code to manage user sign up, sessions and authentication, I wanted to take advantage of a great Ruby gem called Devise. For the uninitiated, Devise is billed as a "flexible authentication solution", but that's quite an understatement in my opinion. You can check out everything it does here, but to put it simply, Devise handles everything from user registrations, to sessions, to forgotten passwords and everything in between.
  • Using Devise for User Auth | 2021-03-03
    Next, you'll need to run the generator like so: rails generate devise:install Once you have run the generator you will see a set of instructions in your console. In those instructions you will see that you need to setup the default URL for Devise mailer. Here's an example of what I used and you can also find this example within the instructions or Here config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } The generator will install an initializer with all of that describes all of Devises' configuration options. It is highly recommended that you review this. You can find it within your app at app/config/devise.rb
  • Any tutorials on how to implement Devise and Omniauth on a Rails API only app? | 2021-03-02
    Did you see the Wiki page on GitHub? Does that help?
  • Adding a field to your sign-up form with Devise | 2021-02-19
    Here we're following the Devise Getting Started guide directly.
  • Sign Up with LinkedIn on Rails | 2021-02-07
    I will be using the ruby gem OmniAuth LinkedIn OAuth2 in a Ruby on Rails application with Devise authentication.
  • Devise, The Swiss Army Knife of Rails User Authentication. | 2021-02-04
    Hopefully, this covers what you need to know to get started with the devise gem. It is not enough though, so again, read the docs.
  • Show HN: Haven, self-host a private blog instead of using Facebook | 2021-02-03
    I'm using Rails Devise[1] for user auth, and http basic auth for RSS. RSS Basic auth credentials are always auto-generated, and don't give access to anything other than fetching the RSS feed.

    Rails uses the "master key" to let you check in encrypted database credentials. I don't use that but Rails still requires a key for deployment--so I just checked in a key. Rails is really designed for a codebase that matches to a single deployment so this is a bit of a workaround.


  • Devise Profile Usernames | 2021-02-03
    Set up user accounts with Devise
  • Is going for Devise for user authentication a good choice for a first Rails app or should I write it from scratch? | 2021-01-25
    The Devise documentation recommends that beginners start by setting up their own authentication before using the gem.
  • "You Are Not Your Failed Test Suite" and Other Affirmations; an App on Heroku | 2021-01-24
    These will be our main users. Usually for user objects, I’d use something like Devise to help manage authentication; however, that’s overkill for what we need. So we can simplify things by running:
  • "Enterprise" learning path after Rails Tutorial? | 2021-01-23
    For Google log-on, I'd check out oauth through devise (
  • Easy has_secure_password API authentication | 2021-01-21