Clearance
Rails authentication with email & password. (by thoughtbot)
JWT
A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard. (by jwt)
Our great sponsors
Clearance | JWT | |
---|---|---|
7 | 9 | |
3,667 | 3,552 | |
0.5% | 0.2% | |
5.4 | 7.6 | |
3 days ago | 21 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.
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.
Clearance
Posts with mentions or reviews of Clearance.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-14.
- Devise 🥳
-
What is used for authentication in Rails nowadays?
https://github.com/thoughtbot/clearance It is simple and good. You can also customize it easily.
-
Devise. love it or hate it?
Clearance has been better for most of my projects. Its got a cleaner implementation that Devise, and comes with a generator that will optionally dump all of the basic routes and views into the standard locations which you can then edit at will.
-
What's going on with Devise for Rails 7 ?!
I tend to suggest Clearance for Rails apps that need a more focused toolset. It may not do everything that Devise does, but it definitely works well with Rails 7. https://rubygems.org/gems/clearance/versions/2.5.0
-
Simple, secure, low maintenance auth that doesn’t rely on Facebook, Google etc?
I've found a much simpler/cleaner authentication gem is Clearance. Devise does just about everything, but Clearance is more opinionated so out of the box it does more of what you normally want.
-
Why am I having such a bad time with Rails?
...because some folks prefer clearance to devise! :-D
-
26 most popular Ruby/Rails repositories on GitHub in July-August 2020
Clearance is a Rails authentication with email & password. It is intended to be small, simple, and well-tested. It has opinionated defaults but is intended to be easy to override. 3,321 stars by now
JWT
Posts with mentions or reviews of JWT.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-30.
-
Rails GraphQL authentication from scratch #2
To authenticate our users, we need to add jwt gem to our Gemfile
-
Secure Your Ruby App with JSON Web Tokens
jwt is a Ruby implementation of the RFC 7519 OAuth JSON Web Token standard. bcrypt is a Ruby binding for the OpenBSD bcrypt() password hashing algorithm.
-
Best way for user auth with a Rails API?
ruby-jwt is fairly easy to use on it's own without Devise. You might try that first and only add Devise if needed.
- JWT Ruby gem version 2.4.0-beta1 released
-
Dynamic JWT authentication and secrets rotation in Rails Applications
Generally speaking, the larger the application, the more internal and external services it has to talk to. External services usually have their own way of authenticating and authorizing third party API calls. With internal systems however, organisations prefer to use JWT tokens because of their inherent flexibility and versatility. A sample JWT based handshake between 2 rails applications using ruby-jwt would look like this -
-
Github: JayDoubleUti - A JWT authorization middleware for any web application!
Interesting. What's the difference between this and the standard ruby-jwt? https://github.com/jwt/ruby-jwt
-
JWT Token-based custom user authentication for Rails API only (Part 02)
jwt - encoding and decoding jwt oauth
- Ruby Gem JWT Version 2.2.3 Released
-
Ruby on Rails + Auth0: Authenticating your API with an external authentication service
Decoding JWTs is simple whit the help of an already implemented solution. In this section, I'll be using the ruby-jwt.
What are some alternatives?
When comparing Clearance and JWT you can also consider the following projects:
Devise - Flexible authentication solution for Rails with Warden.
Devise Token Auth - Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.
Sorcery - Magical Authentication
Authlogic - A simple ruby authentication solution.
Doorkeeper - Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.
OmniAuth - OmniAuth is a flexible authentication system utilizing Rack middleware.
Knock - Seamless JWT authentication for Rails API
OAuth2 - A Ruby wrapper for the OAuth 2.0 protocol.
OmniAuth Instagram Graph  - OmniAuth strategy for Instagram Graph API.