OAuth2
🔐 oauth2 - A Ruby wrapper for the OAuth 2.0 Authorization Framework, including OpenID Connect (OIDC) (by ruby-oauth)
Rodauth
Ruby's Most Advanced Authentication Framework (by jeremyevans)
OAuth2 | Rodauth | |
---|---|---|
6 | 21 | |
2,134 | 1,817 | |
0.3% | 0.3% | |
9.6 | 8.0 | |
7 days ago | 10 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.
OAuth2
Posts with mentions or reviews of OAuth2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-05-31.
-
💎 ANN: oauth2 v2.0.14
📝 Added OIDC documentation, example, and spec references in OIDC.md in PR #663
-
💎 ANN: oauth2 v2.0.13
🔨 https://github.com/ruby-oauth/oauth2
-
Ann: oauth2 v2.0.12 (w/ support for kids)
See response_spec.rb, or the oauth-xx/snaky_hash gem for more ideas.
- Announce: shields-badge v1.0.0
-
gem oauth2 v2.0.10 released
This project sits underneath a large portion of the authorization systems on the internet. According to GitHub's project tracking, which I believe only reports on public projects, 100,000+ projects, and 500+ packages depend on this project. That is a lot of things to upgrade.
-
Facebook Omniauth for SSO
Here's the gem I used. gem 'oauth2'
Rodauth
Posts with mentions or reviews of Rodauth.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-05-07.
- Rodauth: Ruby's Most Advanced Authentication Framework
- rodauth: Ruby's Most Advanced Authentication Framework
-
Warden of Hanami - hanami.rb basic authentication
There is no Hanami specific authentication library. Rails has a plethora of solutions, but nothing was created for Hanami (at least for the current version). There are framework agnostic tools though. OAuth solutions are like that, JWT, libraries like Rodauth. The last one is particularly interesting for Hanami since it is very much in the same "spirit" in terms of design and it is also the most advanced solution on the ruby market.
-
Passkey Authentication with Rodauth
Rodauth provides first class support for passkeys, implemented on top of the excellent webauthn-ruby gem. It enables using passkeys as a multifactor authentication method, or for passwordless login and registration. In addition to routes, views and database storage, it also provides the complete JavaScript part that interacts with Web Authentication API for zero configuration.
-
why is devise industry standard?
I can recommend rodauth: https://github.com/jeremyevans/rodauth It ships with a ton of things. Check out the features section.
-
A First Look at Hanami 2 for Ruby
In general, even though the Hanami ecosystem lacks any "plug-and-play" solutions such as Devise, you can use many existing libraries not tightly coupled to Ruby on Rails. For authentication, you can use Warden, OmniAuth or Rodauth. For uploads there is Shrine. The pagination is built into ROM. Integration with exception catchers such as Rollbar is easy.
-
Social Login in Rails with Rodauth
While Devise provides a convenience layer around OmniAuth, it does nothing to actually sign the user into your app. When I started writing the OmniAuth integration for Rodauth, I wanted to go one step further and actually handle things like persistence of external identities, account creation and login, while still allowing the developer to customize the behaviour. That's how rodauth-omniauth was created. ✨
-
Time to think about swapping off Devise?
You can find the list of possible error identifiers here.
What are some alternatives?
When comparing OAuth2 and Rodauth you can also consider the following projects:
Doorkeeper - Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.
Devise - Flexible authentication solution for Rails with Warden.
JWT - A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.
OmniAuth - OmniAuth is a flexible authentication system utilizing Rack middleware.
Shield - Authentication protocol for use in your routing and model context
warden-github-rails - Use GitHub as authorization and more. Use organizations and teams as means of authorization by simply wrapping your rails routes in a block. Also useful to get a user's details through OAuth.