Skip to content
@ruby-oauth

Ruby OAuth

๐Ÿ” Ruby Gems for building with OAuth v1.0a, 2.0, 2.1, MCP Auth and OIDC

Ruby OAuth

Ruby OAuth logo by Aboling0, CC BY-SA 4.0

Ruby Users Forum Live Chat on Discord

Ruby OAuth maintains OAuth protocol libraries for Ruby and the small supporting gems that keep those libraries easier to test, document, and operate.

For support, security-adjacent coordination, and contributor questions, use Ruby Users Forum or Discord.

Community And Support

Use Ruby Users Forum for longer support threads and protocol coordination. Discord is available for live coordination.

Financial Support

Support Ruby OAuth through Open Collective, GitHub Sponsors, or Liberapay.

Gem Description Downloads Current CI Docs Funding
oauth2 OAuth 2.0, OAuth 2.1, and OIDC client library oauth2 Current Docs Open Collective / GitHub Sponsors / Liberapay
oauth2-mcp OAuth 2.1 resource-server helpers for MCP servers oauth2-mcp Current Docs Open Collective / GitHub Sponsors / Liberapay
oauth OAuth 1.0 and 1.0a client and server library oauth Current Docs Open Collective / GitHub Sponsors / Liberapay
oauth-tty OAuth 1.0 and 1.0a command-line tools oauth-tty Current Docs Open Collective / GitHub Sponsors / Liberapay
warden_oauth OAuth strategy generator for Warden authentication warden_oauth Current Docs Open Collective / GitHub Sponsors / Liberapay
anonymous_loader Load Ruby files inside anonymous namespaces to avoid constant collisions anonymous_loader Current Docs Open Collective / GitHub Sponsors / Liberapay
auth-sanitizer Configurable redaction for authentication-related output auth-sanitizer Current Docs Open Collective / GitHub Sponsors / Liberapay
snaky_hash Hash-like objects with flexible snake-case access snaky_hash Current Docs Open Collective / GitHub Sponsors / Liberapay
version_gem Helpers for Ruby VERSION modules version_gem Current Docs Open Collective / GitHub Sponsors / Liberapay

Contribution guidelines live in each project's CONTRIBUTING.md.

Fun fact: the ruby-oauth project was the original OAuth project for Ruby. It is now more than 18 years old and began at Twitter when Twitter still ran on Ruby.

This project relies on contributors and sponsors. Please get involved.

Pinned Loading

  1. oauth oauth Public

    ๐Ÿ”‘ A Ruby wrapper for OAuth 1.0, and 1.0a protocols; clients & servers

    Ruby 670 269

  2. oauth2 oauth2 Public

    ๐Ÿ” oauth2 - A Ruby wrapper for the OAuth 2.0, & 2.1 Authorization Frameworks, including OpenID Connect (OIDC)

    Ruby 2.2k 627

  3. version_gem version_gem Public

    ๐Ÿ”– Enhance that VERSION! Sugar for boring Version modules

    Ruby 22 2

  4. oauth-tty oauth-tty Public

    ๐Ÿ–ฅ๏ธ OAuth 1.0a TTY Command Line Interface

    Ruby 7 2

  5. snaky_hash snaky_hash Public

    ๐Ÿ A Hashie::Mash joint to improve #snake_life for everyone

    Ruby 19 2

  6. auth-sanitizer auth-sanitizer Public

    ๐ŸŸฅ Configurable KV output redaction

    Ruby 15 1

Repositories

Showing 10 of 10 repositories
  • auth-sanitizer Public

    ๐ŸŸฅ Configurable KV output redaction

    ruby-oauth/auth-sanitizer's past year of commit activity
    Ruby 15 1 0 2 Updated Oct 5, 2026
  • warden_oauth Public

    OAuth Strategy generator for Warden Authentication Framework

    ruby-oauth/warden_oauth's past year of commit activity
    Ruby 59 13 2 3 Updated Oct 5, 2026
  • oauth-tty Public

    ๐Ÿ–ฅ๏ธ OAuth 1.0a TTY Command Line Interface

    ruby-oauth/oauth-tty's past year of commit activity
    Ruby 7 2 0 3 Updated Oct 5, 2026
  • oauth Public

    ๐Ÿ”‘ A Ruby wrapper for OAuth 1.0, and 1.0a protocols; clients & servers

    ruby-oauth/oauth's past year of commit activity
    Ruby 670 269 0 4 Updated Oct 5, 2026
  • version_gem Public

    ๐Ÿ”– Enhance that VERSION! Sugar for boring Version modules

    ruby-oauth/version_gem's past year of commit activity
    Ruby 22 2 0 2 Updated Oct 5, 2026
  • oauth2-mcp Public

    ๐Ÿ”ฎ Rack/Roda-compatible resource-server toolkit for Oauth2.1 MCP Auth

    ruby-oauth/oauth2-mcp's past year of commit activity
    Ruby 4 1 0 3 Updated Oct 1, 2026
  • anonymous_loader Public

    ๐Ÿ’Ž Anonymously load modules without defining their top-level namespace in Ruby 2.2+

    ruby-oauth/anonymous_loader's past year of commit activity
    Ruby 2 0 0 3 Updated Oct 1, 2026
  • oauth2 Public

    ๐Ÿ” oauth2 - A Ruby wrapper for the OAuth 2.0, & 2.1 Authorization Frameworks, including OpenID Connect (OIDC)

    ruby-oauth/oauth2's past year of commit activity
    Ruby 2,179 627 0 3 Updated Sep 29, 2026
  • snaky_hash Public

    ๐Ÿ A Hashie::Mash joint to improve #snake_life for everyone

    ruby-oauth/snaky_hash's past year of commit activity
    Ruby 19 2 0 2 Updated Sep 28, 2026
  • .github Public

    Org README

    ruby-oauth/.github's past year of commit activity
    0 MIT 0 0 0 Updated Jul 29, 2026