Ruby Authentication and OAuth

Open-source Ruby projects categorized as Authentication and OAuth

Top 19 Ruby Authentication and OAuth Projects

Authentication and OAuth
  1. Devise

    Flexible authentication solution for Rails with Warden.

    Project mention: We Fell Out of Love with Next.js and Back in Love with Ruby on Rails | news.ycombinator.com | 2025-05-03

    To add, the above code is a pretty near approximation of the literal code inside the devise codebase, which is a very standard Ruby auth system.

    See here:

    https://github.com/heartcombo/devise/blob/main/lib/devise/co...

            def self.define_helpers(mapping) #:nodoc:

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. OmniAuth

    OmniAuth is a flexible authentication system utilizing Rack middleware.

    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.

  4. Doorkeeper

    Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.

    Project mention: Rails and Keycloak, Authentication Authorization, part one | dev.to | 2024-08-16

    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.

  5. Authlogic

    A simple ruby authentication solution.

  6. Clearance

    Rails authentication with email & password.

  7. JWT

    A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.

  8. Devise Token Auth

    Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. warden

    General Rack Authentication Framework

  11. OAuth2

    A Ruby wrapper for the OAuth 2.0 protocol. (by oauth-xx)

  12. Rodauth

    Ruby's Most Advanced Authentication Framework

    Project mention: Rodauth: Ruby's Most Advanced Authentication Framework | news.ycombinator.com | 2025-01-23
  13. authentication-zero

    An authentication system generator for Rails applications.

    Project mention: Rails for Everything | news.ycombinator.com | 2025-01-01

    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.

  14. Sorcery

    Magical Authentication (by Sorcery)

  15. passwordless

    🗝 Authentication for your Rails app without the icky-ness of passwords (by mikker)

  16. devise-jwt

    JWT token authentication with devise and rails

  17. Shield

    Authentication protocol for use in your routing and model context (by cyx)

  18. 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.

  19. 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.

  20. OmniAuth Instagram Graph  

    OmniAuth strategy for Instagram Graph API.

  21. genkan

    :door::running:Genkan is authentication engine for Rails

  22. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Ruby Authentication and OAuth discussion

Log in or Post with

Ruby Authentication and OAuth related posts

  • Unlocking the potential of Lockable

    1 project | dev.to | 5 Mar 2025
  • Rodauth: Ruby's Most Advanced Authentication Framework

    1 project | news.ycombinator.com | 23 Jan 2025
  • How to use gem omniauth and omniauth-oauth2 to implement SSO for multiple customers

    1 project | dev.to | 30 Nov 2024
  • Efficient Chunked File Downloads in Rails: Streaming CSV Exports

    1 project | dev.to | 7 Oct 2024
  • SpendWise - Budget management app (Ruby on Rails + React) - Part 3

    2 projects | dev.to | 9 Sep 2024
  • rodauth: Ruby's Most Advanced Authentication Framework

    1 project | news.ycombinator.com | 29 Aug 2024
  • Rails and Keycloak, Authentication Authorization, part one

    7 projects | dev.to | 16 Aug 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Authentication and OAuth projects in Ruby? This list will help you:

# Project Stars
1 Devise 24,199
2 OmniAuth 7,965
3 Doorkeeper 5,389
4 Authlogic 4,344
5 Clearance 3,725
6 JWT 3,632
7 Devise Token Auth 3,562
8 warden 2,491
9 OAuth2 2,112
10 Rodauth 1,782
11 authentication-zero 1,757
12 Sorcery 1,455
13 passwordless 1,303
14 devise-jwt 1,273
15 Shield 127
16 warden-github-rails 98
17 rails_mvp_authentication 79
18 OmniAuth Instagram Graph   26
19 genkan 13

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Ruby is
the 12th most popular programming language
based on number of references?