SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Ruby Authentication Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Devise Token Auth
Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.
-
twofactorauth
List of sites with two factor auth support which includes SMS, email, phone calls, hardware, and software.
-
simple_token_authentication
Simple (and safe*) token authentication for Rails apps or API with Devise.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
webauthn-ruby
WebAuthn ruby server library ― Make your Ruby/Rails web server become a conformant WebAuthn Relying Party
-
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
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.
Project mention: What is the best way to implement social logins in an API-only Rails app? | /r/rails | 2023-10-24I've seen the Omniauth gem. But based on this gist it seems this gem is more suitable for web apps. Here is the quote from that gist.
I have been using devise for a while and it has consistently given me issues. I have wistfully been staring at sorcery for a while now but cant justify the switch since devise is already in the project.
Subsequently, we need a way to authenticate our users to associate prompts with them. Rather than using an incumbent like Devise, I chose to use a different approach. The authentication-zero gem can flexibly generate an authentication system, as opposed to including it as an engine. Conveniently, it comes with options such as:
The devise-jwt gem is an extension of Devise that will allow us to work with JWT tokens. Add the gems to Gemfile, then run bundle install:
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.
You can certainly roll your own authentication with Rails and feel very confident about it. One such example: https://stevepolito.design/blog/rails-authentication-from-scratch
Ruby Authentication related posts
- Ruby on Rails: Native route constraint for authentication
- Heroku Build Failure: error:0308010C:digital envelope routines::unsupported
- What is the best way to implement social logins in an API-only Rails app?
- Using Action Policy for a Ruby on Rails App: The Basics
- Generate a pre-built authentication system into a rails application
- 12 Ruby Gems to make your Ruby coding smoother
- Advanced Usages of Devise for Rails
-
A note from our sponsor - SaaSHub
www.saashub.com | 24 Apr 2024
Index
What are some of the best open-source Authentication projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | Devise | 23,706 |
2 | OmniAuth | 7,831 |
3 | Doorkeeper | 5,255 |
4 | Devise Token Auth | 3,507 |
5 | twofactorauth | 3,342 |
6 | simple_token_authentication | 1,512 |
7 | Sorcery | 1,412 |
8 | authentication-zero | 1,313 |
9 | devise-jwt | 1,223 |
10 | passwordless | 1,200 |
11 | webauthn-ruby | 617 |
12 | omniauth-oauth2 | 491 |
13 | omniauth-github | 450 |
14 | revise_auth | 303 |
15 | api_guard | 277 |
16 | rails-authentication-from-scratch | 215 |
17 | graphql_devise | 190 |
18 | barong | 137 |
19 | rails_mvp_authentication | 78 |
20 | ethereum-on-rails | 73 |
21 | omniauth-twitter2 | 41 |
22 | decent_authentication | 20 |
23 | active_entry | 14 |
Sponsored