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: A guide to Auth & Access Control in web apps 🔐 | dev.to | 2023-11-07

    https://github.com/varvet/pundit Popular open-source Ruby library focused around the notion of policies, giving you the freedom to implement your own approach based on that.

  • CanCanCan

    The authorization Gem for Ruby on Rails.

    Project mention: A guide to Auth & Access Control in web apps 🔐 | dev.to | 2023-11-07

    https://github.com/CanCanCommunity/cancancan (Ruby on Rails ABAC) Same like casl.js, but for Ruby on Rails! Casl.js was actually inspired and modeled by cancancan.

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

  • rolify

    Role management library with resource scoping

    Project mention: Authentication, Roles, and Authorization... oh my. | /r/rails | 2023-04-26

    I think I'm set with Rolify for the user roles

  • Action Policy

    Authorization framework for Ruby/Rails applications

    Project mention: Using Action Policy for a Ruby on Rails App: The Basics | dev.to | 2023-10-11

    Action Policy is a flexible, extensible, and performant authorization framework for Ruby and Rails apps. It uses multiple caching strategies out of the box, making it very fast, especially if your authorization rules require database queries.

  • Declarative Authorization

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

  • acl9

    Yet another role-based authorization system for Rails

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

  • AccessGranted

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

  • graphql-guard

    Simple authorization gem for GraphQL :lock:

  • Next Rails

    A toolkit to upgrade your next Rails application

  • Consul

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

  • 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

  • rabarber

    Simple role-based authorization library for Ruby on Rails

  • verifica

    Verifica is Ruby's most scalable authorization solution

  • Operators

    Service Object based on Either Monad

  • KittyPolicy

    Kitty Policy Ruby Authorization Gem

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

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 8,164
2 CanCanCan 5,501
3 Doorkeeper 5,255
4 rolify 3,137
5 Action Policy 1,324
6 Declarative Authorization 1,244
7 acl9 854
8 AccessGranted 768
9 graphql-guard 470
10 Next Rails 447
11 Consul 318
12 RoleCore 296
13 banken 268
14 Pundit Matchers 222
15 Groupify 194
16 RedisWebManager 172
17 Canard 124
18 Yabeda::Puma::Plugin 66
19 rabarber 59
20 verifica 56
21 browserslist_useragent gem 29
22 Operators 27
23 KittyPolicy 23
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com