Ruby Authentication

Open-source Ruby projects categorized as Authentication

Top 23 Ruby Authentication 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.

  • PopRuby

    PopRuby: Clothing and Accessories for Ruby Developers. Fashion meets Ruby! Shop our fun Ruby-inspired apparel and accessories designed to celebrate the joy and diversity of the Ruby community.

  • Doorkeeper

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

    Project mention: Best way for user auth with a Rails API? | /r/rails | 2023-04-17

    The doorkeeper gem.

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

    Project mention: Find which accounts could support 2FA | /r/Bitwarden | 2023-04-17

    FYI: Sites that provide 2FA may or may not be listed in https://github.com/2factorauth/twofactorauth

  • simple_token_authentication

    Simple (and safe*) token authentication for Rails apps or API with Devise.

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

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

  • 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
  • webauthn-ruby

    WebAuthn ruby server library ― Make your Ruby/Rails web server become a conformant WebAuthn Relying Party

    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.

  • omniauth-oauth2

    An abstract OAuth2 strategy for OmniAuth.

  • omniauth-github

    GitHub strategy for OmniAuth

  • revise_auth

    A pure Rails authentication system like Devise.

  • api_guard

    JWT authentication solution for Rails APIs

  • rails-authentication-from-scratch

    A step-by-step guide on how to build your own authentication system in Rails from scratch.

    Project mention: What is your favorite authentication solution? | /r/rails | 2023-06-26

    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

  • graphql_devise

    GraphQL interface on top devise_token_auth

  • barong

    Barong auth server

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

  • ethereum-on-rails

    ethereum on rails (template): connect metamask to ruby on rails.

  • omniauth-twitter2

    OmniAuth strategy for authenticating with Twitter OAuth2

  • decent_authentication

    Rails authentication from scratch

  • active_entry

    A flexible access control system for your Rails app

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

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 related posts

Index

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

Project Stars
1 Devise 23,630
2 OmniAuth 7,814
3 Doorkeeper 5,237
4 Devise Token Auth 3,496
5 twofactorauth 3,322
6 simple_token_authentication 1,512
7 Sorcery 1,397
8 authentication-zero 1,243
9 devise-jwt 1,213
10 passwordless 1,159
11 webauthn-ruby 607
12 omniauth-oauth2 487
13 omniauth-github 447
14 revise_auth 299
15 api_guard 275
16 rails-authentication-from-scratch 212
17 graphql_devise 190
18 barong 134
19 rails_mvp_authentication 78
20 ethereum-on-rails 73
21 omniauth-twitter2 41
22 decent_authentication 20
23 active_entry 14
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.
www.influxdata.com