doorkeeper-gem/doorkeeper

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 36 minutes ago
Added to GitGenius on September 12th, 2026
Created on November 18th, 2011
Open Issues & Pull Requests: 19 (+0)
GitHub issues: Enabled
Number of forks: 1,075
Total Stargazers: 5,521 (+0)
Total Subscribers: 99 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 12
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 517 days
Stale 30+ days: 2
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • pinned (8)
  • enhancement (7)
  • feature request (7)
  • wontfix (6)
  • RFC (3)
  • bug? (3)
  • bug (2)
  • question/discussion (1)

Detailed Description

Doorkeeper is an OAuth 2 provider gem for Ruby on Rails and Grape applications.

The tool solves the problem of adding OAuth 2 authentication and authorization to your application by implementing the OAuth 2.0 Authorization Framework as a Rails engine. It handles the server-side OAuth 2 flow, managing authorization, token generation, and client credentials. The gem supports multiple OAuth 2 grant types including Authorization Code Flow, Implicit Grant, Resource Owner Password Credentials, and Client Credentials, along with token refresh, revocation, and introspection capabilities. It also implements security-focused specifications like Proof Key for Code Exchange for native applications and OAuth 2.0 Threat Model considerations.

Doorkeeper suits projects built with Rails or Grape that need to expose their APIs to third-party clients through OAuth 2. It works with multiple ORMs and supports custom grant flows and custom client authentication methods for specialized requirements. The gem is particularly valuable if you need standards-compliant OAuth 2 implementation without building the provider infrastructure from scratch. The project provides extensive documentation through guides, a wiki with integration examples, and upgrade guides for version transitions.

The project maintains active engagement with its community through Stack Overflow support channels and a published security disclosure policy. Development is tracked through a releases page with version-specific documentation, and the tool supports configuration across different Ruby on Rails and Grape versions with documented ORM compatibility.