Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries. Learn more →
Top 23 Ruby Authentication Projects
-
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.
-
Nutrient
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
-
Project mention: How to use gem omniauth and omniauth-oauth2 to implement SSO for multiple customers | dev.to | 2024-11-30
Your Rails setup does not support dynamically configuring client information as described in other solutions.
-
You can use doorkeeper gem. Which can convert your Rails application into an identity provider. But this means that one of your applications will be the single source of truth for users management.
-
Devise Token Auth
Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.
-
Some simpler alternatives to consider:
Rails 8 comes with a basic auth generator: https://www.bigbinary.com/blog/rails-8-introduces-a-basic-au...
There's also https://github.com/lazaronixon/authentication-zero that goes beyond that.
-
simple_token_authentication
Simple (and safe*) token authentication for Rails apps or API with Devise.
-
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
-
webauthn-ruby
WebAuthn ruby server library ― Make your Ruby/Rails web server become a conformant WebAuthn Relying Party
-
-
-
Use revise gem, which is very similar to devise gem.
-
-
rails-authentication-from-scratch
A step-by-step guide on how to build your own authentication system in Rails from scratch.
-
-
-
rails_mvp_authentication
An authentication generator for Rails 7. Generate all the files needed to create a feature rich authentication system that you control. No configuration needed.
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Ruby Authentication discussion
Ruby Authentication related posts
-
How to use gem omniauth and omniauth-oauth2 to implement SSO for multiple customers
-
Efficient Chunked File Downloads in Rails: Streaming CSV Exports
-
SpendWise - Budget management app (Ruby on Rails + React) - Part 3
-
Rails and Keycloak, Authentication Authorization, part one
-
On the road to ramen profitability 🍜 💸
-
Warden of Hanami - hanami.rb basic authentication
-
Ruby on Rails: Native route constraint for authentication
-
A note from our sponsor - Nutrient
www.nutrient.io | 17 Feb 2025
Index
What are some of the best open-source Authentication projects in Ruby? This list will help you:
# | Project | Stars |
---|---|---|
1 | Devise | 24,105 |
2 | OmniAuth | 7,931 |
3 | Doorkeeper | 5,358 |
4 | Devise Token Auth | 3,558 |
5 | authentication-zero | 1,708 |
6 | simple_token_authentication | 1,509 |
7 | Sorcery | 1,451 |
8 | passwordless | 1,298 |
9 | devise-jwt | 1,264 |
10 | webauthn-ruby | 674 |
11 | omniauth-oauth2 | 501 |
12 | omniauth-github | 456 |
13 | revise_auth | 405 |
14 | api_guard | 276 |
15 | rails-authentication-from-scratch | 222 |
16 | graphql_devise | 200 |
17 | barong | 140 |
18 | rails_mvp_authentication | 79 |
19 | ethereum-on-rails | 75 |
20 | omniauth-twitter2 | 42 |
21 | decent_authentication | 20 |
22 | active_entry | 14 |
23 | eyedp | 9 |