Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Devise
Devise

241
161
+ 1
53
Guardian
Guardian

1
8
+ 1
0
Add tool

Devise vs Guardian: What are the differences?

Devise: Flexible authentication solution for Rails with Warden. Devise is a flexible authentication solution for Rails based on Warden; Guardian: Remove the OAuth dance with one request. Avoid dealing with OAuth logic in your code, and spend more time creating your product. Guardian reduces the OAuth footprint in your code to a single request. Built with modularity in mind, Guardian leverages plugins to handle OAuth flows, should you encounter a flow that Guardian doesn't handle, create a small flow plugin to do so and carry on. Guardian comes with 5 pre-made plugins that cover 99% of OAuth services.

Devise and Guardian can be categorized as "User Management and Authentication" tools.

Devise and Guardian are both open source tools. It seems that Devise with 20K GitHub stars and 4.76K forks on GitHub has more adoption than Guardian with 628 GitHub stars and 42 GitHub forks.

What is Devise?

Devise is a flexible authentication solution for Rails based on Warden

What is Guardian?

Avoid dealing with OAuth logic in your code, and spend more time creating your product. Guardian reduces the OAuth footprint in your code to a single request. Built with modularity in mind, Guardian leverages plugins to handle OAuth flows, should you encounter a flow that Guardian doesn't handle, create a small flow plugin to do so and carry on. Guardian comes with 5 pre-made plugins that cover 99% of OAuth services.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Devise?
Why do developers choose Guardian?
    Be the first to leave a pro
      Be the first to leave a con
        Be the first to leave a con
        What companies use Devise?
        What companies use Guardian?
          No companies found

          Sign up to get full access to all the companiesMake informed product decisions

          What tools integrate with Devise?
          What tools integrate with Guardian?
            No integrations found
            What are some alternatives to Devise and Guardian?
            Active Admin
            Active Admin is a Ruby on Rails framework for creating elegant backends for website administration.
            Auth0
            A set of unified APIs and tools that instantly enables Single Sign On and user management to all your applications.
            Amazon Cognito
            You can create unique identities for your users through a number of public login providers (Amazon, Facebook, and Google) and also support unauthenticated guests. You can save app data locally on users’ devices allowing your applications to work even when the devices are offline.
            Firebase Authentication
            It provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app. It supports authentication using passwords, phone numbers, popular federated identity providers like Google,
            JSON Web Token
            JSON Web Token is an open standard that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed.
            See all alternatives
            Decisions about Devise and Guardian
            Jerome Dalbert
            Jerome Dalbert
            Senior Backend Engineer at StackShare · | 4 upvotes · 40.5K views
            atStackShareStackShare
            OmniAuth
            OmniAuth
            Devise
            Devise
            Ruby
            Ruby

            We use OmniAuth with Devise to authenticate users via Twitter, GitHub, Bitbucket and Gitlab. Adding a new OmniAuth authentication provider is basically as easy as adding a new Ruby gem!

            The only drawback I could see is that your OmniAuth+Devise OmniauthCallbacksController redirection logic can easily get hairy over time. So you have to be vigilant to keep it in check.

            See more
            Interest over time
            Reviews of Devise and Guardian
            No reviews found
            How developers use Devise and Guardian
            Avatar of Gustavo Leon
            Gustavo Leon uses DeviseDevise

            Devise handles user registration with low effort. Also is configurable in so many levels, from custom views to create-your-own controllers.

            Avatar of Hunt Norment
            Hunt Norment uses DeviseDevise

            4 years of experience using Devise for User management, authentication, and authorization.

            Avatar of andrew reese
            andrew reese uses DeviseDevise

            great and straight-forward authentication and user system via ruby gem.

            Avatar of StackShare
            StackShare uses DeviseDevise

            Open source user authentication in-a-can, what's not to like?

            How much does Devise cost?
            How much does Guardian cost?
            Pricing unavailable
            Pricing unavailable
            News about Devise
            More news
            News about Guardian
            More news