qmetrics.net

Doorkeeper

OAuth 2.0 authorization server for Ruby on Rails and Grape

Doorkeeper screenshot

Doorkeeper is a Ruby gem that adds OAuth 2 provider features to Rails or Grape applications.

Overview

Doorkeeper lets Ruby teams turn a Rails or Grape application into an OAuth 2.0 authorization server. It is distributed as a Rails engine gem: add it to your Gemfile, run bundle install, then follow the framework-specific integration guides.

It supports Active Record by default and can be configured for other object-relational mappers through companion gems, including MongoDB, Sequel, Couchbase, and RethinkDB. The feature set covers standard OAuth flows plus extensions such as resource indicators (RFC 8707), refresh-token scope narrowing, optional retention of the previous access token on refresh, and OAuth Client ID Metadata Documents for clients that identify themselves via hosted JSON documents.

Operators must prune expired or revoked tokens and grants manually using bundled rake tasks, because the gem does not remove them automatically. Optional extensions add OpenID Connect, JWT access tokens, assertion grants, internationalization, CIBA, and device authorization. Example server and client applications illustrate typical integration patterns.

Key features

  • Rails engine OAuth 2.0 provider
  • Grape framework integration
  • Multiple ORM backends via extensions
  • Resource Indicators (RFC 8707)
  • Refresh token scope controls
  • Client ID metadata document clients
  • Custom grant flow registration
  • Bundled token cleanup rake tasks

Use cases

  • Adding OAuth to a Rails API
  • Running an in-app authorization server
  • Issuing tokens for third-party clients
  • Grape-based OAuth provider setups

Tags

Similar software

Sa-Token

Java lightweight permission and session framework

Sa-Token adds login, permission checks, SSO, OAuth2, and microservice gateway auth to Java web projects with minimal boilerplate.

★ 19.1k⟳ 10 days agoApache-2.0

Node Jsonwebtoken

Node.js library for signing and verifying JSON Web Tokens

jsonwebtoken implements JWT creation and verification for Node.js using HMAC, RSA, ECDSA, and related algorithms. It exposes sign, verify, and decode helpers built on node-jws.

★ 18.2k⟳ 5 months agoMIT
Application SecurityDesktop/CLI app

OAuth2 Proxy

OAuth2 and OIDC reverse proxy authentication

OAuth2 Proxy sits before web apps as reverse proxy or middleware, sends users through OAuth2 or OIDC login, supports many identity providers, and can forward user details to upstream apps as headers

★ 15.4k⟳ 19 days agoMIT

SuperTokens

Open-source user login and session management

SuperTokens adds sign-up, sign-in, and session handling to applications through frontend SDKs, backend SDKs, and a core HTTP auth service.

★ 15.3k⟳ todayApache-2.0 · open core
Open Source Alternative to:Amazon CognitoAuth0+2

Casdoor

Self-hosted identity provider with SSO and agent MCP gateway

Casdoor is an IAM server with a web console for users, apps, and providers. It issues tokens via OAuth, OIDC, SAML, CAS, LDAP, SCIM, and WebAuthn, and exposes an MCP gateway for AI tooling

★ 15k⟳ 2 days agoApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+3

CASL

Isomorphic TypeScript authorization for apps and APIs

CASL limits which resources a user may access using declarative rules shared across frontend, backend, and database layers.

★ 7.1k⟳ 4 days agoMIT
Application SecurityDesktop/CLI app