Ruby Authorization

Open-source Ruby projects categorized as Authorization

Missing quite a few other open source projects in this space like SuperTokens (https://supertokens.com) and Keycloak.

Top 23 Ruby Authorization Projects

  • Pundit

    Minimal authorization through OO design and pure Ruby classes

    Project mention: Default to Deny for More Secure Apps | dev.to | 2023-01-18

    As an example of how to default to deny, consider a Ruby on Rails app (as we tend to do). The primary way a user interacts with the app is through API endpoints powered by controllers. We use Pundit, a popular authorization library for Rails, to manage user permissions.

  • CanCanCan

    The authorization Gem for Ruby on Rails.

    Project mention: Top 5 Ruby on Rails Gems | dev.to | 2023-01-04
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • Doorkeeper

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

    Project mention: Zitadel: The best of Auth0 and Keycloak combined | news.ycombinator.com | 2022-05-17

    Disclosure: I work for FusionAuth.

    Depends on what you are looking for.

    If you want a standalone auth server, you can use FusionAuth in docker/docker-compose: https://fusionauth.io/docs/v1/tech/installation-guide/docker

    You can also package up a library; most major languages have one or more OAuth/OIDC libraries: https://github.com/doorkeeper-gem/doorkeeper for Ruby, https://spring.io/projects/spring-security for Spring/Java, https://oauth2.thephpleague.com/ for PHP, https://pypi.org/project/oauthlib/ for Python.

    https://oauth.net/code/ has a further selection of libraries in a variety of languages.

  • rolify

    Role management library with resource scoping

  • Declarative Authorization

    An unmaintained authorization plugin for Rails. Please fork to support current versions of Rails

  • Action Policy

    Authorization framework for Ruby/Rails applications

    Project mention: Five Ruby Gems for Authentication and Authorization | reddit.com/r/ruby | 2022-10-27

    Also, ActionPolicy is better than Pundit for most applications. Give it a try.

  • acl9

    Yet another role-based authorization system for Rails

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • AccessGranted

    Multi-role and whitelist based authorization gem for Rails (and not only Rails!)

  • graphql-guard

    Simple authorization gem for GraphQL :lock:

  • Consul

    Scope-based authorization for Ruby on Rails. (by makandra)

  • Next Rails

    A toolkit to upgrade your next Rails application

    Project mention: Update Rails 6.1 a Rails 7 | dev.to | 2023-01-31

    Next Rails

  • RoleCore

    🔐A Rails engine providing essential industry of Role-based access control.

  • banken

    Simple and lightweight authorization library for Rails

  • Pundit Matchers

    A set of RSpec matchers for testing Pundit authorisation policies.

  • Groupify

    Add group and membership functionality to your Rails models

  • RedisWebManager

    Manage your Redis instance (see keys, memory used, connected client, etc...)

  • Canard

    Makes role based authorization in Rails really simple. Wraps CanCan and RoleModel up with a smattering of syntactic sugar, some generators and scopes.

  • Yabeda::Puma::Plugin

    Collects Puma web-server metrics from puma control panel

  • verifica

    Verifica is Ruby's most scalable authorization solution

    Project mention: Verifica, a new gem to handle authorization at scale | reddit.com/r/rails | 2023-01-19

    Live demo (with Rails) to see it in action: https://verifica-rails-example.maximgurin.com

  • Operators

    Service Object based on Either Monad

  • KittyPolicy

    Kitty Policy Ruby Authorization Gem

  • active_entry

    A flexible access control system for your Rails app

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

Ruby Authorization related posts

Index

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

Project Stars
1 Pundit 7,851
2 CanCanCan 5,275
3 Doorkeeper 5,086
4 rolify 3,067
5 Declarative Authorization 1,252
6 Action Policy 1,066
7 acl9 856
8 AccessGranted 760
9 graphql-guard 466
10 Consul 307
11 Next Rails 292
12 RoleCore 288
13 banken 265
14 Pundit Matchers 197
15 Groupify 192
16 RedisWebManager 163
17 Canard 125
18 Yabeda::Puma::Plugin 62
19 verifica 37
20 browserslist_useragent gem 29
21 Operators 25
22 KittyPolicy 22
23 active_entry 15
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com