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: Should I Use jwts For Authentication Tokens? | news.ycombinator.com | 2024-05-27

    IMHO the stateful opaque token approach is simple enough that it can (and often does) get baked into whatever language/framework you’re using to write your app. In addition, the very nature of session tokens is such that the logic for what the token actually means/represents lives in your app, on the server.

    So, that may be why we don’t see more “opaque session token” standards/libraries out there as an alternative to JWTs.

    But if you want an existing example, Devise for Rails [1] has been around a while.

    [1] https://github.com/heartcombo/devise

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

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

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

  • SaaSHub

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

    SaaSHub logo
  • warden

    General Rack Authentication Framework

  • Project mention: Warden of Hanami - hanami.rb basic authentication | dev.to | 2024-05-07

    Devise is build on top of another library and if you ever had to customize Devise, you probably saw that underlying lib. It is called Warden

  • OAuth2

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

  • Rodauth

    Ruby's Most Advanced Authentication Framework

  • Project mention: Warden of Hanami - hanami.rb basic authentication | dev.to | 2024-05-07

    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.

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

  • 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

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

  • Warden of Hanami - hanami.rb basic authentication

    5 projects | dev.to | 7 May 2024
  • Ruby on Rails: Native route constraint for authentication

    1 project | dev.to | 19 Apr 2024
  • Heroku Build Failure: error:0308010C:digital envelope routines::unsupported

    2 projects | /r/rubyonrails | 5 Dec 2023
  • What is the best way to implement social logins in an API-only Rails app?

    1 project | /r/rails | 24 Oct 2023
  • Using Action Policy for a Ruby on Rails App: The Basics

    2 projects | dev.to | 11 Oct 2023
  • An Introduction to LiteStack for Ruby on Rails

    5 projects | dev.to | 4 Oct 2023
  • Generate a pre-built authentication system into a rails application

    1 project | news.ycombinator.com | 29 Sep 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 28 May 2024
    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 23,763
2 OmniAuth 7,846
3 Doorkeeper 5,259
4 Authlogic 4,332
5 Clearance 3,684
6 JWT 3,560
7 Devise Token Auth 3,509
8 warden 2,466
9 OAuth2 2,115
10 Rodauth 1,627
11 Sorcery 1,415
12 authentication-zero 1,388
13 devise-jwt 1,226
14 passwordless 1,223
15 Shield 125
16 warden-github-rails 99
17 rails_mvp_authentication 78
18 OmniAuth Instagram Graph   26
19 genkan 13

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com