Software Alternatives & Reviews

Devise VS JSON Web Token

Compare Devise VS JSON Web Token and see what are their differences

Devise logo Devise

Flexible authentication solution for Rails with Warden.

JSON Web Token logo JSON Web Token

JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
  • Devise Landing page
    Landing page //
    2022-11-04
  • JSON Web Token Landing page
    Landing page //
    2023-08-19

Devise videos

Devise Fingerboard Review

More videos:

  • Review - Figure 8 Devise Review
  • Review - Devise TV on your phone Tzumi Magic TV Best Review

JSON Web Token videos

JSON Web Tokens Suck - Randall Degges (DevNet Create 2018)

More videos:

  • Review - JSON Web Tokens with Public Key Signatures
  • Review - RFC 7519 JSON Web Token (JWT), Review

Category Popularity

0-100% (relative to Devise and JSON Web Token)
Identity And Access Management
Identity Provider
42 42%
58% 58
SSO
79 79%
21% 21
Web Security
100 100%
0% 0

User comments

Share your experience with using Devise and JSON Web Token. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, JSON Web Token should be more popular than Devise. It has been mentiond 276 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Devise mentions (40)

  • Ruby on Rails: Native route constraint for authentication
    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. - Source: dev.to / 10 days ago
  • Using Action Policy for a Ruby on Rails App: The Basics
    As much as this article is about user authorization, there's something important we need to cover: user authentication. Without it, any authorization policies we try to define later on will be useless. But there is no need to write authentication from scratch. Let's use Devise. - Source: dev.to / 7 months ago
  • 12 Ruby Gems to make your Ruby coding smoother
    With around 50 new gems released daily, it is common to use trending libraries for managing everyday tasks. You probably use Devise for authentication, Cancan for authorization, Kaminari for pagination, or run tests with Rspec. - Source: dev.to / 8 months ago
  • An Introduction to Devise for Ruby on Rails
    Devise is an authentication library built on top of Warden, a Rack-based authentication framework. - Source: dev.to / 9 months ago
  • Metaprogramming in Ruby: Advanced Level
    Devise: An authentication library designed for Rails. - Source: dev.to / 10 months ago
View more

JSON Web Token mentions (276)

  • Authentication using JSON Web Tokens.
    NOTE: Never store sensitive information about a client in the payload as the JWT is just encoded and not encrypted. You can paste the JWT I gave as an example above in this cool site which basically allows you to see in decoded. JSON Web Tokens - jwt.io. - Source: dev.to / 17 days ago
  • Building Llama as a Service (LaaS)
    Although they did not make it into production, I experimented with the RabbitMQ message broker, Python (Django, Flask), Kubernetes + minikube, JWT, and NGINX. This was a hobby project, but I intended to learn about microservices along the way. - Source: dev.to / 20 days ago
  • Rethinking password security: say goodbye to plaintext passwords
    JSON Web Token (JWT) creation to extend user authentication to server-side functions. - Source: dev.to / 27 days ago
  • JWT, JWS, JWE and how to cook them
    The (probably) most famous web resource about JWT - https://jwt.io - provides such a definition of JSON Web Tokens:. - Source: dev.to / about 1 month ago
  • JWT Authentication in NodeJS
    If you want to play with JWT and put these concepts into practice, you can use jwt.ioDebugger to decode, verify, and generate JWTs. - Source: dev.to / about 2 months ago
View more

What are some alternatives?

When comparing Devise and JSON Web Token, you can also consider the following products

Auth0 - Auth0 is a program for people to get authentication and authorization services for their own business use.

Okta - Enterprise-grade identity management for all your apps, users & devices

Firebase Authentication - Application and Data, Application Utilities, and User Management and Authentication

OneLogin - On-demand SSO, directory integration, user provisioning and more

Spring Security - The Spring portfolio has many projects, including Spring Framework, Spring IO Platform, Spring Cloud, Spring Boot, Spring Data, Spring Security...

Amazon Cognito - Amazon Cognito lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily. It scales to millions of users and supports sign-in with social identity providers and enterprise identity providers via SAML 2.0.