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

Authorization
  1. Pundit

    Minimal authorization through OO design and pure Ruby classes

    Project mention: Pundit-ts: type-safe authorization library for Node.js | news.ycombinator.com | 2025-02-08
  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. CanCanCan

    The authorization Gem for Ruby on Rails.

  4. Doorkeeper

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

  5. rolify

    Role management library with resource scoping

  6. Action Policy

    Authorization framework for Ruby/Rails applications

  7. Declarative Authorization

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

  8. acl9

    Yet another role-based authorization system for Rails

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. AccessGranted

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

  11. Next Rails

    A toolkit to upgrade your next Rails application

  12. graphql-guard

    Simple authorization gem for GraphQL :lock:

  13. Consul

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

  14. RoleCore

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

  15. banken

    Simple and lightweight authorization library for Rails

  16. Pundit Matchers

    A set of RSpec matchers for testing Pundit authorisation policies.

  17. Groupify

    Add group and membership functionality to your Rails models

  18. rabarber

    Rabarber is a role-based authorization library for Ruby on Rails. It provides a set of tools for managing user roles and defining authorization rules, with support for multi-tenancy and fine-grained access control.

    Project mention: Rabarber v5: Cleaner, Leaner, and More Stable | dev.to | 2025-05-20

    It’s been a while since our last major announcement - now, we’re happy to share Rabarber version 5, a new release of our role-based authorization gem for Rails.

  19. RedisWebManager

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

  20. Canard

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

  21. Yabeda::Puma::Plugin

    Collects Puma web-server metrics from puma control panel

  22. verifica

    Verifica is Ruby's most scalable authorization solution

  23. islandjs-rails

    IslandJS Rails supports the development of React (or other JS library) islands in Rails (7+) apps

    Project mention: Praxis-Emergent/Islandjs-Rails | news.ycombinator.com | 2025-08-07
  24. browserslist_useragent gem

  25. Operators

    Service Object based on Either Monad

  26. 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 Authorization discussion

Ruby Authorization related posts

  • Praxis-Emergent/Islandjs-Rails

    1 project | news.ycombinator.com | 7 Aug 2025
  • Rabarber v5: Cleaner, Leaner, and More Stable

    1 project | dev.to | 20 May 2025
  • Pundit-ts: type-safe authorization library for Node.js

    3 projects | news.ycombinator.com | 8 Feb 2025
  • Securing Rails application with Action Policy

    2 projects | dev.to | 21 Sep 2024
  • Rails and Keycloak, Authentication Authorization, part one

    7 projects | dev.to | 16 Aug 2024
  • An Introduction to Auth0 for Ruby on Rails

    2 projects | dev.to | 31 Jul 2024
  • Rabarber v3: Multi-Tenancy Update

    1 project | dev.to | 30 Jul 2024
  • A note from our sponsor - Stream
    getstream.io | 22 Dec 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

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

# Project Stars
1 Pundit 8,456
2 CanCanCan 5,672
3 Doorkeeper 5,450
4 rolify 3,180
5 Action Policy 1,512
6 Declarative Authorization 1,237
7 acl9 852
8 AccessGranted 778
9 Next Rails 555
10 graphql-guard 468
11 Consul 334
12 RoleCore 302
13 banken 270
14 Pundit Matchers 243
15 Groupify 196
16 rabarber 181
17 RedisWebManager 170
18 Canard 124
19 Yabeda::Puma::Plugin 79
20 verifica 61
21 islandjs-rails 60
22 browserslist_useragent gem 31
23 Operators 27

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Ruby is
the 12th most popular programming language
based on number of references?