Ruby Authentication and OAuth

Open-source Ruby projects categorized as Authentication and OAuth

Top 19 Ruby Authentication and OAuth Projects

  • Devise

    Flexible authentication solution for Rails with Warden.

    Project mention: Heroku Build Failure: error:0308010C:digital envelope routines::unsupported | /r/rubyonrails | 2023-12-05

    [changelog] https://github.com/heartcombo/devise/blob/main/CHANGELOG.md [upgrade guide] https://github.com/heartcombo/devise/wiki/How-To:-Upgrade-to-Devise-4.9.0-%5BHotwire-Turbo-integration%5D

  • OmniAuth

    OmniAuth is a flexible authentication system utilizing Rack middleware.

    Project mention: What is the best way to implement social logins in an API-only Rails app? | /r/rails | 2023-10-24

    I'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.

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

  • Doorkeeper

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

  • Authlogic

    A simple ruby authentication solution.

  • Clearance

    Rails authentication with email & password.

  • JWT

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

    Project mention: Rails GraphQL authentication from scratch #2 | dev.to | 2023-09-25

    To authenticate our users, we need to add jwt gem to our Gemfile

  • Devise Token Auth

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

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

  • warden

    General Rack Authentication Framework

    Project mention: An Introduction to Devise for Ruby on Rails | dev.to | 2023-07-19

    Devise is an authentication library built on top of Warden, a Rack-based authentication framework.

  • OAuth2

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

  • Rodauth

    Ruby's Most Advanced Authentication Framework

    Project mention: Passkey Authentication with Rodauth | dev.to | 2023-07-24

    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.

  • Sorcery

    Magical Authentication (by Sorcery)

    Project mention: Everything was going great until I installed Devise! | /r/rails | 2023-06-10

    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.

  • authentication-zero

    An authentication system generator for Rails applications.

    Project mention: An Introduction to LiteStack for Ruby on Rails | dev.to | 2023-10-04

    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:

  • devise-jwt

    JWT token authentication with devise and rails

    Project mention: Advanced Usages of Devise for Rails | dev.to | 2023-08-09

    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:

  • passwordless

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

    Project mention: Is there any particular gem like Devise which makes the user Login with phone mumber and use otp to Login imstead of a password?? | /r/rails | 2023-04-18
  • Shield

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

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

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

  • OmniAuth Instagram Graph  

    OmniAuth strategy for Instagram Graph API.

  • genkan

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

  • SaaSHub

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

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). The latest post mention was on 2023-12-05.

Ruby Authentication and OAuth related posts

Index

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

Project Stars
1 Devise 23,706
2 OmniAuth 7,831
3 Doorkeeper 5,255
4 Authlogic 4,330
5 Clearance 3,667
6 JWT 3,552
7 Devise Token Auth 3,505
8 warden 2,456
9 OAuth2 2,112
10 Rodauth 1,610
11 Sorcery 1,408
12 authentication-zero 1,302
13 devise-jwt 1,221
14 passwordless 1,198
15 Shield 125
16 warden-github-rails 99
17 rails_mvp_authentication 78
18 OmniAuth Instagram Graph   26
19 genkan 13
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com